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 / How to - 3d plattformer

Author
Message
Anlino
19
Years of Service
User Offline
Joined: 28th Jun 2005
Location:
Posted: 2nd Jul 2005 03:13
Hi.

I have been running around in the forums a bit, looking for answers. Unfortunatly, i havent found any. What i am looking for, is a "How to" On 3d plattformers. If anyone could post a link to either a site that has that kind of tutorials, or if you could post a little text on how to begin and what commands to use. I am not asking for a complete engine read to go. Just something so i know where to begin.

I am using Darkbasic Classic.

I am in my beginning of Darkbasic, havent learned that much but i am doing my best to improve my skills.

Little specs on what i am thinking of:

3d Plattformer

Comical graphics in the kind of Super Mario 64.

If you have any questions, post them. I will do my best to answer them.
gpex
19
Years of Service
User Offline
Joined: 29th May 2005
Location:
Posted: 2nd Jul 2005 15:11
First you should go through everything in the DB help file. That will get you a long way. Then, i recomend getting the "beginner's guide to DarkBASIC game programmin" It's a great book, and it goes over just about every command that you will need as a beginner. If you do all of that then you will know what commands to use and starting a project will become second nature. I'm not sure that helped, but it's what i recomend.


-gpex-

RUCCUS
19
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 5th Jul 2005 04:41 Edited at: 5th Jul 2005 04:42
Gpex did you really read every command in the help file, come on now, every command. Lets be realistic, I bet there's only a few people out there that actually read every command before they started programming.

Yes eventually people read every command, but thats over a long time span from trying to solve problems for their programs.

As for teh keschin.

Im pretty sure I know what platofrmers are o.O, (Like Baggers Jazz Jack Rabbit game), so here's my two cents on what you'd have to accomplish for a basic platformer:

- Basic Movement (Forward, Backward, Mouse turn Left, Mouse Turn Right, Side Stepping
- A gravity system
- Jumping capabilities (gotta get to those platforms)
- Polygonal Collision Handling (Tough subject, but many answeres are out there)
- Basic Menu layout (Main Menu, Pause, Options, Story Line possibly)
- Very Basic A.I (Maybe an object moving back and forth and when you collide with it you die and are respawned to the last savepoint)
- A way to vanquish the A.I, could be as simple as jumping on its head, or maybe shooting it. Can't really say until you have your storyline done.
- A goal, anything could do, maybe getting all 100 floating tomatoes, or just reaching the end of the level.


That should get you to a beta version of the game. Once you have that down you'll have a pretty good engine to work with, and can start working on the more complex things:

- Nice graphics (Skins, Models, Skyboxes, etc)
- Neat effects (Explosions, Gun shots, etc)
- Sound Effects
- Extended Movement (Running, Double Jumping maybe, Dashing...etc)
- Special Moves (Smashing, Kicking, Punching, Shooting, whatever you can think of)
- Extended A.I(The A.I looks for you, when they see you they attack you instead of instantly killing you, and then have the A.I respawn in increments of x seconds.
- A boss possibly at the end of the level
- Better menu's (configuration of the game settings, controls, etc.)
- A HUD (Display your health, current score, level, a target reticle for attacks, and some other random info
- Lots more I cant think of right now

Before you do any of that, come up with a good story line, draw all your thoughts out on paper keeping notes of all your good ideas, then to a good copy of it and you'll be ready to start on the above. Include details on everything from weapon stats to the speed your player will run at when theyre damaged. The more info you get the easier it is later on.

I hope that helped, pretty sure thats what you asked for o.O


Current Projects: SHADE - Game Maker | Mecho - TGC Puzzle Entry | Halo Physics Engine | COLD - Polygonal Collision Detection
Drew Cameron
20
Years of Service
User Offline
Joined: 30th Jan 2004
Location: Scotland
Posted: 5th Jul 2005 06:31 Edited at: 5th Jul 2005 06:37
Hello.

Here is a piece of sh*t program I threw together, just now! It sucks, but it teachs some good principles

Pay close attention to how it checks if you are above a platform, and what this does to the 'ground#' variable, 'jump' variable and 'gravity#' variable.

Good luck! Sorry it sucks, but it's to show the theory only...

ARROWKEYS: Move / rotate sphere
SPACEKEY: Jump



Hope that helps, I've got this on mailback so reply if it does or does not help.

Dumbo and Cool

WIP Board!
Anlino
19
Years of Service
User Offline
Joined: 28th Jun 2005
Location:
Posted: 6th Jul 2005 18:10
Thanks, Drew. I will have a look at it.

Login to post a reply

Server time is: 2024-09-23 23:31:32
Your offset time is: 2024-09-23 23:31:32