d*mn "wire filled region" rectangle =/

Talk about making games.

d*mn "wire filled region" rectangle =/

Postby saabian » Mon Jan 08, 2007 2:30 pm

Just dont get the the green rectangle, the "wire frame region" to work.
I am creating a side scrolling spaceshooter. I dont want to make it possible for my spaceship (maincharacter) to pass the right or the left side of the view. Trying to make the wire frame region act like some kind of wall.
Nothing happend when i created it so i was trying to put som psychial response between the spaceship and the rectangle but then my ship were flying away! any ideas?

The bakground picture is a bit higher than the view because i want to give the player possiblity to fly a bit higher and lower at the same time as the view is following him. (anyone played "border down" for dreamcast? ) With other words, i want the view to follow the player a bit up and down but not follow him to the right and left.

by the way my, seems to be some kind of bug with my GE tuturials because "making view follow actor 1,2,3" doesnt work so god.

I would be very happy if anyone know some answers :)
User avatar
saabian
 
Posts: 25
Joined: Sat Dec 09, 2006 1:27 pm
Location: Gothenburg => Sweden
Score: 0 Give a positive score

Postby makslane » Mon Jan 08, 2007 7:03 pm

Load the file 'caveman collision.ged' in the Tutorials folder.
Look the event: player -> Collision (Any Side of stop_left)
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby saabian » Mon Jan 08, 2007 9:49 pm

Thanks makslane!
Working fine!

only one thing remain.

Still doesnt know how to make a "wall" at left/right side of the view, and also need a "wall" under/over backgrund so the view that now can be moved not is leaving the level when i press down/up arrow. :?
User avatar
saabian
 
Posts: 25
Joined: Sat Dec 09, 2006 1:27 pm
Location: Gothenburg => Sweden
Score: 0 Give a positive score

Postby makslane » Mon Jan 08, 2007 11:45 pm

The view must be parent of the walls (stop_left, stop_right...)
Look the file!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest