Mark the Echidna Posted September 7, 2007 Report Share Posted September 7, 2007 OK, so some of you have seen screenshots of this on the Post Your Screenshot thread, and a few of you have already played it. This one is a complete rewrite of the version shown on the screenshots, with the code better organized and a lot of new stuff implemented, like motion conversion when going on/off the ground, jumps depending on the ground direction, and a new method for angle detection... It's still not as optimized or as good as I want it to be, but it's now stable enough to be available for download. It's meant to extend the original MD experience to the third dimension, so most of the motion works exactly like it does in 2D. Before you play, here is some information: It isn't anything special, just a basic movement test with Sonic. Don't get hyped. This is not the same level from the screenshots, but instead our good old friend, "wireframe zone"... I've changed it so I could more easily create level geometry for testing without worrying with pretty graphics. The control is W, A, S, D + Mouse right now. Clicking jumps. It's not 100% like a First Person Shooter, because the control is also analog, but some of you may find it awkward... Don't worry, since on this rewrite I've abstracted the control source, and so I can implement basically any kind of control scheme. The analog part is also partially implemented. Sonic's animation is terrible, because I'm not a pretty good animator, and haven't implemented multiple animations yet (Or sonic's state machine, for that matter). Think of it as a placeholder. Some specific stuff in the movement is missing (Falling from the ceiling, for example). Will be implemented. Press the 'C' key to toggle between the normal camera and "vomit mode". You'll understand why it has this name when you play it. I'll release info on how it works soon, along with b3d source code. EDIT: Oh, there's no framelock yet! It may run wild on your computer, if it's a pretty good one. It may also run somewhat slower because it's on windowed mode... If you guys want I can upload a fullscreen version. Enjoy! http://sonicunited.org/hsfqmtif/forum/attachment.php?attachmentid=455&d=1189134404 3D360.rar 1 Link to comment Share on other sites More sharing options...
Aerosol Posted September 7, 2007 Report Share Posted September 7, 2007 pretty sexy dude! keep going! Link to comment Share on other sites More sharing options...
Zenor Posted September 7, 2007 Report Share Posted September 7, 2007 awesome! Link to comment Share on other sites More sharing options...
Spike Posted September 7, 2007 Report Share Posted September 7, 2007 Better than I could do, but that's not saying much. I couldn't do anything at all because it's so god damn slippery. I found it impossible to do anything. That, and the camera needs alot of work. I don't want to have to constantly control it while I slip through the stage, some behind placement would be nice. Link to comment Share on other sites More sharing options...
OverbounD Posted September 7, 2007 Report Share Posted September 7, 2007 I would call that a good start. Sure there are problems but I'm sure you are aware of that as this is an early test. This is almost as good as Sonic Revolution... ok that's a horrible joke. Nice Job Mark. Link to comment Share on other sites More sharing options...
Rael0505 Posted September 7, 2007 Report Share Posted September 7, 2007 That's pretty freaking awesome. The controls are really annoying and Sonic's hard to control, but it has a lot of potential. Also, I kept pressing C and messing around with the camera but I didn't notice any change. Link to comment Share on other sites More sharing options...
Mark the Echidna Posted September 7, 2007 Author Report Share Posted September 7, 2007 Also, I kept pressing C and messing around with the camera but I didn't notice any change. Were you on a slope? Link to comment Share on other sites More sharing options...
Rael0505 Posted September 7, 2007 Report Share Posted September 7, 2007 I dunno, I was just about everywhere in your engine test. It's not easy to keep still unless you're not touching anything. I'm tired now and am forced to stay up to finish a ridiculously long first homework assignment. I'll give it another play tomorrow. Link to comment Share on other sites More sharing options...
TRD Posted September 7, 2007 Report Share Posted September 7, 2007 Love the shading of that model. I know this is a beta engine so I'll spare you the criticism. Nice work so far. Link to comment Share on other sites More sharing options...
Epon Posted September 7, 2007 Report Share Posted September 7, 2007 Already miles past the other 3D projects so hyped up, but never worked on correctly. Congrats, bro Link to comment Share on other sites More sharing options...
DimensionWarped Posted September 7, 2007 Report Share Posted September 7, 2007 What C does is determines whether or not to normalize the camera's rotation based on Sonic's or to keep it somewhat centered rotationally. Mark, I'm very impressed. Would you mind if I got a little involved with this? Link to comment Share on other sites More sharing options...
Mark the Echidna Posted September 7, 2007 Author Report Share Posted September 7, 2007 What C does is determines whether or not to normalize the camera's rotation based on Sonic's or to keep it somewhat centered rotationally. Here's what it does: [COLOR="RoyalBlue"]If[/COLOR] KeyHit(46) [COLOR="RoyalBlue"]Then[/COLOR] c\mode = [COLOR="RoyalBlue"]Not[/COLOR] c\mode...[COLOR="RoyalBlue"]If[/COLOR] c\mode [COLOR="RoyalBlue"]Then[/COLOR] [COLOR="RoyalBlue"]EntityType [/COLOR]c\entity, 0 [COLOR="RoyalBlue"]PositionEntity [/COLOR]c\entity, [COLOR="RoyalBlue"]EntityX[/COLOR](c\target\entity), [COLOR="RoyalBlue"]EntityY[/COLOR](c\target\entity), [COLOR="RoyalBlue"]EntityZ[/COLOR](c\target\entity) [COLOR="RoyalBlue"]RotateEntity [/COLOR]c\entity, c\turn\x, c\turn\y, 0, c\target\mdl_align\y, c\target\mdl_align\z, 2 [COLOR="Yellow"]; 2 = Align Local Y Axis[/COLOR] [COLOR="RoyalBlue"]EntityType [/COLOR]c\entity, 3 [COLOR="RoyalBlue"]MoveEntity [/COLOR]c\entity, 0, 0, -c\dist[COLOR="RoyalBlue"]Else[/COLOR] [COLOR="RoyalBlue"]EntityType [/COLOR]c\entity, 0 [COLOR="RoyalBlue"]PositionEntity [/COLOR]c\entity, [COLOR="RoyalBlue"]EntityX[/COLOR](c\target\entity), [COLOR="RoyalBlue"]EntityY[/COLOR](c\target\entity), [COLOR="RoyalBlue"]EntityZ[/COLOR](c\target\entity) [COLOR="RoyalBlue"]RotateEntity [/COLOR]c\entity, 0, 0, 0 [COLOR="RoyalBlue"]AlignToVector [/COLOR]c\entity, c\target\mdl_align\x, c\target\mdl_align\y, c\target\mdl_align\z, 2 [COLOR="Yellow"]; 2 = Align Local Y Axis[/COLOR] [COLOR="RoyalBlue"]TurnEntity [/COLOR]c\entity, c\turn\x, c\turn\y, 0 [COLOR="RoyalBlue"]EntityType [/COLOR]c\entity, 3 [COLOR="RoyalBlue"]MoveEntity [/COLOR]c\entity, 0, 0, -c\dist[COLOR="RoyalBlue"]EndIf[/COLOR][/CODE]I keep changing the entity type to disable and enable collisions.Mark, I'm very impressed. Would you mind if I got a little involved with this?No problem ;D Link to comment Share on other sites More sharing options...
Kain Posted September 7, 2007 Report Share Posted September 7, 2007 Awesome stuff. I'd at least make it an option to completely nix the mouse control in favor of some more Keyboard-oriented stuff. But all around, absolutely lover'ly physics and shading. Link to comment Share on other sites More sharing options...
DimensionWarped Posted September 7, 2007 Report Share Posted September 7, 2007 First thing I'm going to want to do is create a new camera scheme and tweak the controls. Nothing says 3D emulating the 2D style like 3D emulating the 2D camera. Link to comment Share on other sites More sharing options...
Damizean Posted September 7, 2007 Report Share Posted September 7, 2007 Awesome Mark, so you finally got to make the test level. Lovely physics, make sure to get me the source code if you made any recent change! Link to comment Share on other sites More sharing options...
Metal-Geo Posted September 7, 2007 Report Share Posted September 7, 2007 Very nice indeed! Surely kept me busy for a few minutes. The loops were smoother than I imagined as well. Although Sonic looks like he's made out of porcelain from up close. Very shiny. But hey, that's just my tiny opinion. ;D Can't wait to see more. Link to comment Share on other sites More sharing options...
Mark the Echidna Posted September 7, 2007 Author Report Share Posted September 7, 2007 Thanks guys. Although Sonic looks like he's made out of porcelain from up close. Very shiny. But hey, that's just my tiny opinion. ;D Yeah, that's one of the problems of using spheric environment maps as an workaround for pixel shaders. Link to comment Share on other sites More sharing options...
MetalSonic Posted September 7, 2007 Report Share Posted September 7, 2007 Nice, the physics is fairly good for 3d, a little off, but all in all good. Also, that code you quoted, it isn't opengl or any programs I know of for making 3d games. What did you program this in? Link to comment Share on other sites More sharing options...
VectorSatyr Posted September 7, 2007 Report Share Posted September 7, 2007 Looks pretty damn good. I wish Sonic would race all over the place, though. Could use a speed limit, too. Link to comment Share on other sites More sharing options...
Godmaster Posted September 7, 2007 Report Share Posted September 7, 2007 Awesome work Mark, you solved the true 3d sonic gameplay's enigma... It's time to you start making your own fangame, I guess ^^ Link to comment Share on other sites More sharing options...
Damizean Posted September 7, 2007 Report Share Posted September 7, 2007 Nice, the physics is fairly good for 3d, a little off, but all in all good. Also, that code you quoted, it isn't opengl or any programs I know of for making 3d games. What did you program this in? OpenGL isn't (technically) a program. The engine is made with Blitz Basic 3D. Link to comment Share on other sites More sharing options...
BlazeHedgehog Posted September 8, 2007 Report Share Posted September 8, 2007 Link to comment Share on other sites More sharing options...
Mark the Echidna Posted September 8, 2007 Author Report Share Posted September 8, 2007 DAAAAAAAMN So... It didn't run? Link to comment Share on other sites More sharing options...
Rael0505 Posted September 8, 2007 Report Share Posted September 8, 2007 No, "daaaaaaaayumn" is said when someone is surprised at something. In other words he's impressed, I think. Link to comment Share on other sites More sharing options...
BlazeHedgehog Posted September 8, 2007 Report Share Posted September 8, 2007 Yes. It ran just fine. Can't wait to see where this goes. Link to comment Share on other sites More sharing options...
Recommended Posts