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 / Adventure games, how?

Author
Message
NanoGamez guy
17
Years of Service
User Offline
Joined: 13th Jan 2007
Location: Closer than you think...
Posted: 18th Jan 2007 18:30
I've been programing for about 2 years but haven't got very far. I want to know how to build a 2D adventure game, for example, the 'Mario' games. Can someone tell me the basics and/or give me a template I can work on.

P.S. I'm on DBC not DBPro so I can't work on files written in DBPro.

living is my first priority
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 20th Jan 2007 01:53
Mario is actually a platform game not an adventure and the method used to write them is entirely different.

It's too big a subject for anyone to answer you fully in a post like this - you really nead a tutorial on the subject.

I'm sure I've seen one somewhere, but I can't remember where I'm afraid. Check out the stickies at the top of the forum.

Essentially, you need to create the backdrop to your game using tiles on a grid. Your characters would all be sprites.

Scrolling the screen is probably easiest done using a 2D Scroller engine and once again you'll probably find something useful using the forum search feature.

TDK_Man

NanoGamez guy
17
Years of Service
User Offline
Joined: 13th Jan 2007
Location: Closer than you think...
Posted: 20th Jan 2007 11:15
Thank you TDK_man. I'll try that.

living is my first priority
TEH_CODERER
20
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 20th Jan 2007 20:14
Another option which is probably easier is to make 3D graphics with 2D gameplay. Something like this:



I made that code ages ago so if you choose that route then I can make you a considerably nicer example.

NanoGamez guy
17
Years of Service
User Offline
Joined: 13th Jan 2007
Location: Closer than you think...
Posted: 23rd Jan 2007 20:14
Thank you TEH_CODERER, that's exactly what I wanted!

living is my first priority
programmer ML
19
Years of Service
User Offline
Joined: 1st Jun 2005
Location:
Posted: 24th Jan 2007 17:33
Quote: "I made that code ages ago so if you choose that route then I can make you a considerably nicer example."


If you are not too busy and do not mind doing so I would be interested in seeing another example of this. I find it very neat and I am thinking about attempting to make a game with this style. Thanks.
TEH_CODERER
20
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 24th Jan 2007 20:25 Edited at: 24th Jan 2007 20:28
Okey doke. No probs. Give me a day or two and I'll post another example.

[Edit]Oh yeah! Are you using DBC or DBPro?[/Edit]

programmer ML
19
Years of Service
User Offline
Joined: 1st Jun 2005
Location:
Posted: 24th Jan 2007 20:30
I'm using DBPro. Thanks for doing this for me.
TEH_CODERER
20
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 24th Jan 2007 23:37
No probs! First thing after college tomorrow I'll get started.

programmer ML
19
Years of Service
User Offline
Joined: 1st Jun 2005
Location:
Posted: 25th Jan 2007 01:50
Sweet thanks. I really appreciate it.
TEH_CODERER
20
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 25th Jan 2007 21:30
Here you go. I'll add to it but this is just a starter. If you want any explanations then just ask.

Attachments

Login to view attachments
Lavalord7
17
Years of Service
User Offline
Joined: 9th Jan 2007
Location:
Posted: 27th Jan 2007 01:59
I downloaded the first one and tweaked it a bit... I want to know how to put falling platforms (when you walk on them, they fall) in a game like that. Can you help?

TEH_CODERER
20
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 27th Jan 2007 15:14
Sorry I took a while to post; the forums marked this as read and as me being the last to post! Yep. No probs. Do you want them to fall and then that be it or fall and regenerate after a while?

Lavalord7
17
Years of Service
User Offline
Joined: 9th Jan 2007
Location:
Posted: 27th Jan 2007 16:41
How about regenerating after a while?

TEH_CODERER
20
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 27th Jan 2007 18:10

There you go. Use the same project I uploaded earlier but change the code to the above.

TEH_CODERER
20
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 29th Jan 2007 19:24
Was that any use?

programmer ML
19
Years of Service
User Offline
Joined: 1st Jun 2005
Location:
Posted: 31st Jan 2007 00:15
Sorry for the late reply... but the code you gave me was helpful and I think that I am now understanding this method alot better. Thanks for the help.
TEH_CODERER
20
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 31st Jan 2007 19:43
No probs.

Lavalord7
17
Years of Service
User Offline
Joined: 9th Jan 2007
Location:
Posted: 3rd Feb 2007 03:36
oh sorry for the late reply... Yes it was helpful

TEH_CODERER
20
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 3rd Feb 2007 12:25
Glad I could help.

Login to post a reply

Server time is: 2024-09-25 17:32:46
Your offset time is: 2024-09-25 17:32:46