Page 1 of 1

A couple of questions

PostPosted: Fri Aug 25, 2006 12:44 am
by banner88
Hi!

I'm very new to using GE, but I downloaded the shareware version, and I like it a lot already. I have a couple of questions:

Is it possible to have the 4-way movement (left/right/up/down) in a grid? So each step pushes the player 1 square further? (and 1 tile further)?

Is it possible to count those steps?


If you use text resources for storing things (ie. an array of guns, which has the name/ammo/strength, can the program import all that? Can you encrypt the resource file?

What would be the best way to store various information about, for example, monsters? (Such as pics, animations, stats and AI?) Are resource files compiled into the main executable file?

How is the performance with the GP2X?


Can you store configs in a text file? For, say, speed, resolution, etc.?


Lastly, where can you get tiles which can be used normally in the GE? Because I can't figure out how to get random tilesets to work. They're just one big block. (Yea, I don't know much about tiles). Any free ones around that are working fine with GE? Or how to make em work?



Very much appreciated. Thanks!


PS: Love the script editor. Brings back memories of long night battles with my C++ code. :) Feels right at home, from the looks of some examples.

PostPosted: Fri Aug 25, 2006 12:57 am
by Game A Gogo
Is it possible to have the 4-way movement (left/right/up/down) in a grid? So each step pushes the player 1 square further? (and 1 tile further)?

Is it possible to count those steps?


yes, just use something like a moveto action and also a keydown event disable then after do a move to finish and enable back the keydown event.
What would be the best way to store various information about, for example, monsters? (Such as pics, animations, stats and AI?) Are resource files compiled into the main executable file?

it would be trought out a varible and create a save group, you must note that when when using the
Code: Select all
saveVars("var","var");
that it save the var in another file so that it can be read again for other *.EXE or *.dat .

How is the performance with the GP2X?

this is just a new feature that had come out like 4 days by now! So if it dosn't work efficially, expect some bug repair or any of that sort.

Re: A couple of questions

PostPosted: Fri Aug 25, 2006 1:05 am
by makslane
banner88 wrote:Is it possible to have the 4-way movement (left/right/up/down) in a grid?


Yes, with things like this:

On Key Down left, put hte code: x = x - 10;
On Key Down right, put hte code: x = x + 10;
...

Is it possible to count those steps?


You can create a variable to track the steps, and, in the step update, like the Key Down event above, put:
count = count + 1; //or count++;


If you use text resources for storing things (ie. an array of guns, which has the name/ammo/strength, can the program import all that?


You can use the loadVars and saveVars functions to save your itens.
More at: http://game-editor.com/forum/viewtopic.php?p=2422


Can you encrypt the resource file?


The resources are encrypted in the exported game file.


What would be the best way to store various information about, for example, monsters?


I think saveVars function. But if you need more advanced features, you can create your own file format using the standard C functions (fopen, fprintf, ...)


Are resource files compiled into the main executable file?


Yes, you can export all game in a single executable file.


How is the performance with the GP2X?


In my tests it's the save of other Pocket PC devices running at 200MHz.
For a four layer with full scroll test, I get 30 - 33 fps.

But the performance will always depends of your game.


Lastly, where can you get tiles which can be used normally in the GE?


Look the tiles in the tutorials.

PostPosted: Fri Aug 25, 2006 1:10 am
by banner88
Wow, that was fast. Very helpful, thanks! :D