Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / 2d tile scroller, can someone..

Author
Message
RebirthAnime
22
Years of Service
User Offline
Joined: 11th Oct 2002
Location:
Posted: 20th Sep 2003 06:26
Hey..I'm not exactly new to DB, but I've basically forgotten everything I used to know about it because I'd started doing c++ in school. I'm working on making a little rpg game from a view sorta like the old Final Fantasy 3-6s or Pokemon or Zelda (bird's eye view, tile scroller), and I was wondering if someone could show me a bit of code to move and animate my character using the keys..I can do some of it, but I can't do the rest so it's pretty much useless to me..the character cell size is 24x 32 and it's 3 rows across, and 4 rows down, so 72x 128 all together. Anyways..I'd really appreciate it if someone could help me with that bit..it'd get me on the way, and it'll probably help me remember how to do the rest from my old days of game programming. Thanks
zzabb
21
Years of Service
User Offline
Joined: 25th Apr 2003
Location: Seattle, USA
Posted: 20th Sep 2003 09:02
there is a 2d scroller in the 20line contests
you may be able to get some code from there

My advice is free -
unfortunately you get what you pay for (-:
RebirthAnime
22
Years of Service
User Offline
Joined: 11th Oct 2002
Location:
Posted: 20th Sep 2003 09:41
eh..didn't see anything that helped
MagiKnight
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location:
Posted: 22nd Sep 2003 21:54
Well can you tell us what you do know how to do so we can help you out... what parts of the tile engine don't you remember? the way to display the tiles or the tile scrolling part?

MMMMMM Low level programmimg...
RebirthAnime
22
Years of Service
User Offline
Joined: 11th Oct 2002
Location:
Posted: 22nd Sep 2003 23:03
well actually it's just the character I need help with..I've got some code I've been fooling with, but I can't get it to work right. My image size, each cell of the character = 24x32, full size is 72x128, and it's 3 pictures across, 4 down...once I get this animation code down I'll need to get it to work where I move the left, right, up, and down keys to move the character and animate the frames when it does it. By the way..the top 3 frams are when the guy is walking up (you see his back), the 3 on the next row down is walking right, the next is walking down (you see him from the front), and the next is left if that helps anyone.
Ads
21
Years of Service
User Offline
Joined: 13th Sep 2003
Location:
Posted: 22nd Sep 2003 23:55
How do I do basic animations for my game characters?
RebirthAnime
22
Years of Service
User Offline
Joined: 11th Oct 2002
Location:
Posted: 23rd Sep 2003 04:00
draw frames in a bitmap, putting them all side by side is the easiest way for me
zzabb
21
Years of Service
User Offline
Joined: 25th Apr 2003
Location: Seattle, USA
Posted: 23rd Sep 2003 04:39
check todays post

whats wrong with this

it does 2d animation and moves it around the screen

My advice is free -
unfortunately you get what you pay for (-:

Login to post a reply

Server time is: 2024-11-25 08:55:40
Your offset time is: 2024-11-25 08:55:40