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.

Code Snippets / [DBC] 3-d Side Scroller Start

Author
Message
Invincibob 8
16
Years of Service
User Offline
Joined: 4th Feb 2008
Location: Some Place Somewhere
Posted: 9th Feb 2008 19:39 Edited at: 18th Feb 2008 01:29
This is a start to a 3-d side scrolling game. I put in a gravity system and a jumping system. I hope someone will find it useful.




Seriously, are sigs even worth it?
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 10th Feb 2008 05:45
As it's for other people to read, indentation would improve the readability a lot...

TDK_Man

Invincibob 8
16
Years of Service
User Offline
Joined: 4th Feb 2008
Location: Some Place Somewhere
Posted: 10th Feb 2008 19:25
Will this work better?


Do I Even Need a Sig?
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 10th Feb 2008 19:41 Edited at: 10th Feb 2008 19:43
Yes - lots.

Don't you agree?

BTW - in case you didn't know, you could have just edited your first post.

TDK_Man

Invincibob 8
16
Years of Service
User Offline
Joined: 4th Feb 2008
Location: Some Place Somewhere
Posted: 10th Feb 2008 19:47 Edited at: 18th Feb 2008 01:28
Oh, alright. I'll remember to edit it next time.

EDIT: I just edited the first post.

EDIT: Has anyone found this code useful?

Seriously, are sigs even worth it?
Paul08
16
Years of Service
User Offline
Joined: 20th Feb 2008
Location: Oxford, UK
Posted: 20th Feb 2008 22:26
if it makes you feel better i'm just taking a look, might have a play with that gravity etc, also wondering about this collisions system is it a built in part of darkbasic? as it seems the sphere can collide in the middle of another object? if you get me..
Invincibob 8
16
Years of Service
User Offline
Joined: 4th Feb 2008
Location: Some Place Somewhere
Posted: 22nd Feb 2008 17:13
I think I see what it is you're saying. You mean like how he stops in the middle of the blocks. That is really the one part I couldn't get, how to make him not go through stuff. If anyone has an idea, I'd appreciate it.

Seriously, are sigs even worth it?
Paul08
16
Years of Service
User Offline
Joined: 20th Feb 2008
Location: Oxford, UK
Posted: 22nd Feb 2008 23:18
..watching this thread with interest as its made me wonder
Invincibob 8
16
Years of Service
User Offline
Joined: 4th Feb 2008
Location: Some Place Somewhere
Posted: 1st Mar 2008 18:07
? That time I have no idea what you mean. What about it makes you wonder?

Seriously, are sigs even worth it?
Zizzy
16
Years of Service
User Offline
Joined: 16th Apr 2008
Location:
Posted: 17th Apr 2008 03:42
im trying to conver this to Dark GDK and i almost can im stuck here


dbSyncOn ( );
dbSyncRate ( 60 );
dbHideMouse();

//make a player pawn
dbMakeObjectSphere(1,5);

i cannot figure out how to do RGB with Dark GDK everything else is easy to convert help plz!
dbColorObject(1, ----------->>>>//??dbSetRBG(0,255,255));
dbSetObjectCollisionOn(1);
dbRotateObject(1,0,dbObjectAngleY(1)+90,0);
Mason
20
Years of Service
User Offline
Joined: 20th Mar 2004
Location: Arizona
Posted: 22nd Apr 2008 01:22
Zizzy:
Theres some good Dark GDK documentation that has all the functions listed for you. Just go to you Start Menu -> The Game Creators -> Dark GDK -> Documentation -> Information.chm.

But to answer your question Zizzy, the command is:
dbColorObject(1, dbRGB(0, 255, 255));


leo877
16
Years of Service
User Offline
Joined: 6th Mar 2008
Location: san antonio, tx
Posted: 23rd Apr 2008 03:04
thats a cool code....is alright i can use it in my game i amtrying to make but stuck ... don't know excatly what style to use but looking at this gives me in idea..

darkbasic software is cool
Attila
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 17th Aug 2004
Location:
Posted: 23rd Apr 2008 18:35
cool
Invincibob 8
16
Years of Service
User Offline
Joined: 4th Feb 2008
Location: Some Place Somewhere
Posted: 24th Apr 2008 00:45
To leo877: Sure you can use it, I wouldn't show people a code they can't use!

Representative of Platefield Productions ;v)
atogames3
16
Years of Service
User Offline
Joined: 4th May 2008
Location:
Posted: 4th May 2008 15:39 Edited at: 4th May 2008 16:28
awsome......saveing

Your signature has been erased by a mod - please limit it to 600 pixels by 120 pixels

Login to post a reply

Server time is: 2024-05-05 02:38:44
Your offset time is: 2024-05-05 02:38:44