|
-
Apr 9th, 2000, 04:56 AM
#1
Okay, I'm making a game that's suppose the have walls
(kind of like chip's challenge)
Say if there's a map that looks like this. Where 1 is on
the map, it's a wall on the game. Where 0 is on the map,
it's a blank space.
1111111111
1000000001
1000000001
1111000001
1000000001
1000000001
1111100001
1000000001
1000000001
1111111111
Okay, when the level is loaded, I load the pictures from
an image, creating Arrays for each box. Displaying them is
all fine and dandy but what I need to know is HOW do I
prevent the user (imgUser) from walking through the
walls? The walls are imgWall(Index). The player's movement
is not a fixed movement. It's distance depends on how long
you how the direction key for.
If you do not understand the question please say so and
I will try to clear myself up.
-
Apr 9th, 2000, 07:23 PM
#2
Junior Member
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
|