A couple of questions

Non-platform specific questions.

A couple of questions

Postby banner88 » Fri Aug 25, 2006 12:44 am

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.
banner88
 
Posts: 18
Joined: Thu Aug 24, 2006 10:16 am
Score: 0 Give a positive score

Postby Game A Gogo » Fri Aug 25, 2006 12:57 am

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.
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Re: A couple of questions

Postby makslane » Fri Aug 25, 2006 1:05 am

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.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby banner88 » Fri Aug 25, 2006 1:10 am

Wow, that was fast. Very helpful, thanks! :D
banner88
 
Posts: 18
Joined: Thu Aug 24, 2006 10:16 am
Score: 0 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest