Game Development Community

Tgb camera help

by Mike Q · in Technical Issues · 11/17/2008 (3:27 pm) · 5 replies

I'm an aspiring game developer and I'm new to TGB. I'm making a 2D side scroll/platformer and i'm not good with cameras in TGB so i need help. How do I make a moving side scroll camera that follows my avatar around the world as he navigates?

Think Water Dam level of the NES TMNT. Like this:

http://www.youtube.com/watch?v=DqfRus5ePmI

Any ideas?

About the author


#1
11/17/2008 (3:30 pm)
Whenever TDN gets back from it's prolonged break from the interwebtubes, take a look at the platformer mini-tutorial. It should be covered there...
#2
11/17/2008 (3:45 pm)
Cool. Thanks. How long has it been offline? Does that tutorial work with version 1.7.4? Do you know of any other places that i can learn from until it comes back?
#3
11/24/2008 (10:55 am)
Here, try my camera out. I don't think it's quite like what you're looking for, but...

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=15544
#4
11/24/2008 (3:11 pm)
Jeff to the rey, you are officially

...the...

...Greatest...

...EVER!!!

That's actually exactly what i was going for. i just wanted the TMNT cam as a base so i could mod it myself afterwards. Thanks!
#5
12/09/2008 (12:27 pm)
Okay I got another issue. I love the camera and now i want to have a HUD stay on the camera as my player moves through the world. Is there a way i can fix a healthbar for instance to the top left side of the screen?