freebasic.net Forum Index
FreeBASIC's Official Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log inLog in

3d Side Scroller Preview

 
Post new topic   Reply to topic    freebasic.net Forum Index -> Projects
View previous topic :: View next topic  
Author Message
Kcproductionz

PostPosted: Jul 28, 2007 18:09    Post subject: 3d Side Scroller Preview Reply with quote

Well I started messing around with OpenGL a few days ago and here is what I've got so far. Ignore the mario picture, Im going to be changing that to a model of my own in the near future.

Touching the water kills you, the objective is to get the crystal (flashing box =P), and it should be fairly easy as I increased how high you can jump for testing purposes.

Also, the controls are

A and D - Move left and right respectively
Space - Jump

http://www.kcdan.com/uploads/archives/SideScroller.zip
 
Back to top
View user's profile
subxero

PostPosted: Jul 28, 2007 18:25    Post subject: Reply with quote

Wow. That's freaking awesome. You are some kind of sorcerer.
 
Back to top
View user's profile Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Dr_D
Hero
PostPosted: Jul 28, 2007 18:33    Post subject: Reply with quote

That looks cool man. It has some potential. ;)
 
Back to top
View user's profile Visit poster's website
Z!re
Guest
PostPosted: Jul 28, 2007 18:42    Post subject: Reply with quote

[Content removed at author's request]
 
Back to top
SotSvart

PostPosted: Jul 28, 2007 18:45    Post subject: Reply with quote

Looks really cool, could be become a good sidescrolling game.
 
Back to top
View user's profile Visit poster's website
Lachie Dazdarian
Master
PostPosted: Jul 28, 2007 19:06    Post subject: Reply with quote

For some bizzare reason this runs with playable speed on my PC despite being OpenGL. Anyway, very nice work so far (finished the demo). I did say this type of engine on other platforms, though.
 
Back to top
View user's profile Send e-mail Visit poster's website
Pritchard
Guru
PostPosted: Jul 28, 2007 19:12    Post subject: Reply with quote

Z!re wrote:
Pretty nice, one thing I don't like though is the 100% air control.
You just cant turn like that in air :P
In his world, you can! I will suggest less than 100% air control as well, however. Complete air control isn't always so good. Depends on the game. If you implement velocity in your game atm, rather than a fixed running speed, use it in the air rather than an immediate turn-around.

EDIT: Anyone else find AD-Space movement very strange? AD-W would be even better I think. Or AD-ENTER. Well, not like it matters. I just realized I could use my left hand for a and d, and my right for space!

EDIT2: Very nice demo :D
 
Back to top
View user's profile Send e-mail
Kcproductionz

PostPosted: Jul 28, 2007 19:18    Post subject: Reply with quote

I was thinking about implementing velocity instead of a fixed running speed so I could add some ice blocks and make it harder for the user to control.

Also, I just want to share how easy it is to make levels =D

Code:
Level1:
'0=Nothing
'1=Grass block
'2=Dirt block
'3=
'4=Water bottom
'5=Water top
'6=Invis
'7=
'8=Crystal
'9=Player
Data 51,19
Data 6,1,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6
Data 6,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6
Data 6,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6
Data 6,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6
Data 6,2,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6
Data 6,2,0,2,0,0,0,1,0,0,1,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6
Data 6,2,5,5,5,5,5,2,5,5,2,2,5,5,5,2,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,1,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,6
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,0,0,0,0,0,0,0,0,1,2,0,6
Data 6,0,1,1,1,1,2,2,2,0,0,2,2,2,2,2,2,0,0,2,2,0,0,0,0,1,2,2,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,1,0,2,2,0,6
Data 6,0,2,2,2,2,2,2,2,0,0,2,2,2,2,2,2,0,0,2,2,0,0,0,2,2,2,2,0,0,0,0,2,0,2,0,2,2,2,0,0,0,2,2,2,2,0,2,2,0,6
 
Back to top
View user's profile
Pritchard
Guru
PostPosted: Jul 28, 2007 19:20    Post subject: Reply with quote

Neat. Now transfer that to a binary format, and make me an editor! Hah. If I knew OpenGL I'd offer to do it for you. I'm really good with tile-based editors, surprisingly.
 
Back to top
View user's profile Send e-mail
Deleter
Master
PostPosted: Jul 29, 2007 4:49    Post subject: Reply with quote

Hmm, if that jump is increased, I don't want to play the normal version =P. But don't mind me, I don't get along with jumping sidescrollers...Btw pritch, you really don't have to know opengl to make a level creator. The level creator could be 2d since the game is.
 
Back to top
View user's profile
Pritchard
Guru
PostPosted: Jul 29, 2007 5:06    Post subject: Reply with quote

Good point, Deleter. I like seeing things as ya know, how they are, however. I noticed that of course, 3D textures don't appear to be practical just yet. I could very well make an editor for this. Hm...
 
Back to top
View user's profile Send e-mail
badmrbox
Sr. Member
PostPosted: Jul 29, 2007 14:53    Post subject: Reply with quote

It looks nice man :)
 
Back to top
View user's profile Visit poster's website
axipher
Master
PostPosted: Jul 29, 2007 19:43    Post subject: Reply with quote

This is real nice, looks very promising. Any source you can release?
 
Back to top
View user's profile Send e-mail MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    freebasic.net Forum Index -> Projects All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



sf.net phatcode