Page 1 of 1

camera limits example

PostPosted: Sat Jan 28, 2012 6:15 pm
by Fojam
Ok so as i am making my super smash bros. game, I am continuously learning different coding things. I figured i would share some of those things with the community

In this one, i make an example application where you can only walk in a certain area, and the camera stops at the edge of that area.

I hope this is helpful to others working on their own game



By the way i used your background hblade i hope you dont mind.

Re: camera limits example

PostPosted: Sat Jan 28, 2012 8:16 pm
by Hblade
I dont mind one bit :D and awesome :) I'd test it but i recenetly installed Ubuntu and upgraded to Ubuntu Studio, so I don't have GE yet :3

Re: camera limits example

PostPosted: Sun Jan 29, 2012 12:07 am
by tintran
neat.
bug: when you get to the far left or far right and jump and hold left/right key, character gets stuck in mid air until you let go of left or right key.

Re: camera limits example

PostPosted: Sun Jan 29, 2012 1:22 am
by Fojam
yeah thats an issue with the physical response function. ill fix that by just having the wall push him off.