|
Thread: RPG
-
Jun 23rd, 2000, 06:03 AM
#1
Thread Starter
Lively Member
With an rpg game do you use images as tiles or something else and to make a character not run into an object (wall) do you use the point command?
-
Jun 23rd, 2000, 06:18 AM
#2
Is your character moving a fixed amount each time? (Is it the same length as the tiles?) Or is he moving pixel by pixel each time?
If it's the same length as the tiles, you can BitBlt the tiles on all sides of them to check, else you can use collision detection.
Although, I'd think that one of the best solutions is to make an array. For example, If you have an array, you can record what each point on the grid is, (5,5) = Walkable, (2,1) Non_Walkable etc.
[Edited by Megatron on 06-23-2000 at 07:22 PM]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|