ThePentiumGuy Posted January 2, 2004 Posted January 2, 2004 Hi, i have 30x30 sprites for a heavily tilebased game(RPG), should the tile size be the same as the sprite size? thanks Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
Administrators PlausiblyDamp Posted January 2, 2004 Administrators Posted January 2, 2004 Positioning, pathfinding etc would probably be easier if they were the same size or smaller. That way a tile is either walkable or not - removes the need to do alot of collision detection just to determine if a route is traversable. Some collision detection will be required to prevent objects moving through the edges of non-passable tiles though. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
ThePentiumGuy Posted January 2, 2004 Author Posted January 2, 2004 thanks a lot - i made my tiles 30x30 and it works! i stored all my tiles into a boolean array (Passable[me.width/30,me.height/30] and set them to true/false depending on whether they were walkable or not thanks Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.