Help with Walls

Non-platform specific questions.

Help with Walls

Postby Masterburner » Mon Sep 04, 2006 4:58 pm

Hello everyone i have a small problem in my game:
I want that my background is my map but if i can walk out with my Player and that dont looks nice
Someone could tell me how to do that ?


Image
Masterburner
 
Posts: 5
Joined: Mon Sep 04, 2006 4:17 pm
Score: 0 Give a positive score

Postby Novice » Mon Sep 04, 2006 5:19 pm

Use filled regions to make the walls for your map and do a physical response collision betwen your player and the walls.

Othervise you could make an image that would look like the wall map add it to an actor as an animation use Visibilty state event and set it to "Don't draw but allow events" and use physical response collision betwen your player and the wall map actor.
Why do i always get stuck?
User avatar
Novice
 
Posts: 399
Joined: Mon Aug 29, 2005 10:54 am
Location: Relative
Score: 5 Give a positive score

Postby Masterburner » Mon Sep 04, 2006 5:50 pm

Novice wrote:Use filled regions to make the walls for your map and do a physical response collision betwen your player and the walls.

Othervise you could make an image that would look like the wall map add it to an actor as an animation use Visibilty state event and set it to "Don't draw but allow events" and use physical response collision betwen your player and the wall map actor.


Hmm i tried a little bit around but nothing works for me (sure a mistake by me) can you pls tell me it detailed like Step by Step please ?
Masterburner
 
Posts: 5
Joined: Mon Sep 04, 2006 4:17 pm
Score: 0 Give a positive score

Postby Novice » Mon Sep 04, 2006 6:00 pm

1.Create a filled region and name it wall.

2.Resize and move it to fit like a wall.

3.Select your player and add a collision event.

4.In the collision panel select the wall actor and add an action "Physical Response" dont change anything and press ok.

5.Run your game and your player should collide with the invisible wall

For other walls just do everything again. If this dosen't explain it look at the tutorials in GE under the help menu.
Why do i always get stuck?
User avatar
Novice
 
Posts: 399
Joined: Mon Aug 29, 2005 10:54 am
Location: Relative
Score: 5 Give a positive score

Postby Masterburner » Mon Sep 04, 2006 6:16 pm

Woot THY

Now i know how to do that but i get a little problem now
the right wall works perfect but by the left one is something wrong if i walk like 5 seconds aainst the Wall i c walk through the wall
and do you know how i can stop the View at the Wall becouse of the BLack ...

Image
Masterburner
 
Posts: 5
Joined: Mon Sep 04, 2006 4:17 pm
Score: 0 Give a positive score

Postby Game A Gogo » Mon Sep 04, 2006 9:42 pm

just make the left filled region thicker.
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Postby Novice » Mon Sep 04, 2006 9:43 pm

Make your walls ticker, that should solve the problem (it's a GE thing).

As for the view do a collision betwen the wall and the view.
Why do i always get stuck?
User avatar
Novice
 
Posts: 399
Joined: Mon Aug 29, 2005 10:54 am
Location: Relative
Score: 5 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest