|  | Flash CS3 game questions |  | |
| | | crimsonsmeagol |  |
| Posted: Mon Sep 01, 2008 3:57 pm Post subject: Flash CS3 game questions |  |
I have a couple questions for a game I am trying to create
1. I was initially thinking I wanted to create the game from a first person point of view so that you never actually see the character, just what the chacter would be seeing. Is there any way to do this? Is the only way to do this to actually show the character and load a new section of the game when the player reaches the 'edge' of the screen?
2. I'm wanting to read in an external file with questions/answers. Am I better off using a flat file or an XML file? What are the advantages/disadvantages of both? The only information I have found show reading in an XML file but I know people that read in flat files before.
I'm using CS3 if that makes a difference on anything. I'm still learning all the differences between Flash 8 and CS3
I'm sure I'll have more questions as I continue working out the details. Thank you ahead of time for all your help. |
| |
| | | kglad |  |
| Posted: Mon Sep 01, 2008 4:57 pm Post subject: Re: Flash CS3 game questions |  |
1. yes. what's the problem? no, there are various ways to handle a lack of infinite distance vision.
2. you can use either. for a simple database, flat file are, at best, serviceable. otherwise xml is much preferred.
simple flat files can be easier to parse on the flash end than xml, but even then probably shouldn't be used.
flash and flat files are of historic importance, only. before flash 6 and especially before flash 5, flat files were commonly used. since flash 6, there's no reason to use a flat file. |
| |
| | | crimsonsmeagol |  |
| Posted: Mon Sep 01, 2008 6:36 pm Post subject: Re: Flash CS3 game questions |  |
My problem is keeping it as a true 'first person' view when the character moves. The character will be walking forward and turning. And I want the screen to modify to show the movement without showing the character. How would I do this?
For a little more specifics. The character will be walking through a maze but will never see the entire maze at one time, only a small section. I just don't know how to continously update the screen to reflect the characters change in what they see as they are walking.
Thank you for your help. |
| |
| | | kglad |  |
| Posted: Tue Sep 02, 2008 5:32 am Post subject: Re: Flash CS3 game questions |  |
| you'll use a loop the allows the stage to refresh between iterations (ie, not a for/while loop). |
| |
|
|