-
RPG Engine
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?
-
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
-
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.
-
Do you think i should use tiles that is 16x16 pixels?
-
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...
-
That would require a lot from the map editor...=D
-
Yes. But 16x16 or 8x8 would work well too...