gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > I need an x-scrolling camera, among other things

#148936 - Khalid - Sat Jan 12, 2008 6:35 am

I've been working on this game for a few days,

here

(save link, controls in pic, rename as *.rar), and I am stumped on a few things hindering my progress. One is an x-scrolling camera, so I'll also need to get a long background on there, not just one 240x160 image. And putting up the other half of the gun also wouldn't hurt (it's outside of the main 32x64 sprite).

But my main concern is how I'm going to do all of this in mode 4. I'm just expanding on subjects form the webbesen.dk pong tutorial (DevKitAdv), really, and don't know how to do anything in mode 1, although I've heard mode 1 is better for 2D sidescrollers like mine.

If a camera-like thing is possible in mode 4, OK. If not, a mod would probably want to move this to beginners since it'll end up being a teach-me-how-to-do-mode-1 thread.

Anyway, I hope you like the demo I have so far, 100% debugged and I drew all the sprites except for the gun (which you can only see half of, anyway...).

#148951 - tepples - Sat Jan 12, 2008 1:56 pm

Ordinarily, I would have you look at the TONC tutorial, but it appears to be 404 (not found).
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#148961 - Peter - Sat Jan 12, 2008 4:00 pm

tepples wrote:
Ordinarily, I would have you look at the TONC tutorial, but it appears to be 404 (not found).

http://www.coranac.com/tonc/text/toc.htm works here!
_________________
Kind Regards,
Peter

#149053 - gauauu - Mon Jan 14, 2008 5:31 am

Unfortunately, google is pointing to the old version. Hopefully they'll update it eventually. Maybe we can get one of the admin people to update the link from the main page here so it will point to the right place, and help google figure it out....