|
Thread: rpg
-
Feb 22nd, 2000, 06:36 PM
#1
Thread Starter
Junior Member
how do you stop the man from walking over the trees and stuff and how do you see cordinates of a image???
-
Feb 22nd, 2000, 07:05 PM
#2
PowerPoster
If you've stored your level-map in an array you can easy check if the tile where the player stands collides. (If you have them in an array you also know where this picture is).
Demo projects:
http://members.xoom.com/Der_Zirkel/
-
Feb 22nd, 2000, 07:17 PM
#3
Thread Starter
Junior Member
there is no arrays.
the background is a image and the trees
are images and the man is a image.
-
Feb 23rd, 2000, 04:56 AM
#4
-
Feb 23rd, 2000, 06:49 AM
#5
Hyperactive Member
indeed
u need a 2d array like Map(100, 100) as TileData..
i would have type with tile data in it
eg
Type TileData
Walkable as integer
etc.....
end type
I'm making an rts so i'm not too hot on rpg making, but a lot of the engine is the same.
buzzwords are the language of fools
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
|