PDA

Click to See Complete Forum and Search --> : RPG Engine


petrus
Sep 23rd, 2002, 02:20 PM
Hello,
I'm about to make a RPG Engine that can be used as Platform engine as well.
Any suggestions?
I think of making a Script language for the engine, and the engine should be able to user Layers in the games, ie the player is in one layer, the bots in another layer etc.
I want to know how to make a circle part of a tile the player can't move over example: a player walks under a tree (RPG) and trees don't have quadrangular trunk do they?

Mushroom Realm
Sep 23rd, 2002, 05:37 PM
make a multidimensional array: MyMap(X,Y) Have X be the width in pixels and Y be the height in pixels. Then u could use ur code the same way u did for quadrangular(rectangular?) shapes

Machaira
Sep 23rd, 2002, 10:59 PM
Normally a character sprite can or can't enter a tile. You usually don't have a part of a tile that is walkable and part that isn't. I guess you could do it, but it seems more trouble than it's worth.

petrus
Sep 24th, 2002, 11:26 AM
Do you think i should use tiles that is 16x16 pixels?

Gaming_World
Sep 24th, 2002, 11:26 AM
If you want to have part of a tile be walkable and part not, just make the tiles smaller. This could provide the same effect as partially moveable tiles. Although you might also want/need to increase the movement speed to make up for the fact that the tiles are smaller.

If you don't mind the graphics being a lot larger, and the game running slower, you could just use 1 pixel tiles...

petrus
Sep 24th, 2002, 12:17 PM
That would require a lot from the map editor...=D

Gaming_World
Sep 24th, 2002, 06:43 PM
Yes. But 16x16 or 8x8 would work well too...