camera limits example

Post here your demos and examples with the source files.
Forum rules
Always post the games with a screenshot.
The file must have the ged and data files (complete game source)
Use the forum attachment to post the files.
It is always better to use the first post to put the game files

camera limits example

Postby Fojam » Sat Jan 28, 2012 6:15 pm

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.
Attachments
screenshot.PNG
cameraExample.zip
(489.87 KiB) Downloaded 308 times
CLICK TO GIVE ME POINTS

My Latest Projects:
Super Smash Bros: viewtopic.php?f=6&t=12307 PLEASE help by making sprites!
User avatar
Fojam
 
Posts: 513
Joined: Thu Mar 19, 2009 10:02 pm
Location: under your bed!!!
Score: 69 Give a positive score

Re: camera limits example

Postby Hblade » Sat Jan 28, 2012 8:16 pm

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
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: camera limits example

Postby tintran » Sun Jan 29, 2012 12:07 am

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.
User avatar
tintran
 
Posts: 157
Joined: Fri Dec 24, 2010 1:34 am
Score: 30 Give a positive score

Re: camera limits example

Postby Fojam » Sun Jan 29, 2012 1:22 am

yeah thats an issue with the physical response function. ill fix that by just having the wall push him off.
CLICK TO GIVE ME POINTS

My Latest Projects:
Super Smash Bros: viewtopic.php?f=6&t=12307 PLEASE help by making sprites!
User avatar
Fojam
 
Posts: 513
Joined: Thu Mar 19, 2009 10:02 pm
Location: under your bed!!!
Score: 69 Give a positive score


Return to Game Demos

Who is online

Users browsing this forum: No registered users and 1 guest

cron