TT Snim Posted July 15, 2009 Author Share Posted July 15, 2009 I'm making a side scrolling game that's going to be some what "Capture the flag" themed and I was wondering how I could add Jumping. I don't really have jumping planed at the moment because I don't know how to do it. I'd love to be able to add it to the game.I've head it is possible and I want to know if that's true and how I can accomplish it. Link to comment Share on other sites More sharing options...
Admiral Refuge Posted July 15, 2009 Share Posted July 15, 2009 Miguu (and I think Vrage) were able to do it by rewriting the physics system to include gravity; I'll move this to the Source Questions board, as it'd require a source edit. Link to comment Share on other sites More sharing options...
Joyce Posted July 15, 2009 Share Posted July 15, 2009 Theoreticly speaking this can be done by moving the player against your gravity code for a certain time, and when the timer runs out let gravity take control again… Then while the player is jumping disable any kind of direction changing and you should be fine. Link to comment Share on other sites More sharing options...
TT Snim Posted July 15, 2009 Author Share Posted July 15, 2009 Thanks Admiral! @Silvh: Making gravity sounds like a really cool feature! But the way my tile sets have been made I don't think that would work to well. I use blocks in my game so you can only move on the tiles that are supposed to be "Ground". Jumping may not be good for my game. When I post the images I'm working on it should help me explain what I'm trying to do. Thank you much for the info! Link to comment Share on other sites More sharing options...
Joyce Posted July 15, 2009 Share Posted July 15, 2009 You could do directional blocking, like platforms can be jumped onto from below, but from above they prevent you from falling through. And still keep a regular block feature in as well :P Might be a little more complicated when mapping, but I suppose it's worth the hassle in the end. Link to comment Share on other sites More sharing options...
mrmiguu Posted July 16, 2009 Share Posted July 16, 2009 Why doesn't anyone know about this?![Project Vertigo](http://www.touchofdeathforums.com/smf/index.php/topic,46896.0.html) Link to comment Share on other sites More sharing options...
Joyce Posted July 16, 2009 Share Posted July 16, 2009 That's not open source so no one can add their own features to it, making it pretty much useless to people who are serious about their games. Link to comment Share on other sites More sharing options...
Akselj Posted July 16, 2009 Share Posted July 16, 2009 Well, I suggest you to convert the tile based movement into pixel based movement, and then try to add jumping/gravity. Link to comment Share on other sites More sharing options...
mrmiguu Posted July 16, 2009 Share Posted July 16, 2009 @AkselJ:> Well, I suggest you to convert the tile based movement into pixel based movement, and then try to add jumping/gravity.Excuse me? You do realize pixel movement isn't necessary for people to make a side scroller. I think I might delete Project Vertigo and stop working on it all together since nobody wants to use it. If you're gonna be serious about a project, why are you asking for help in the first place. You should already know what to do. Don't ask for gravity source if you can't code it your self. If you can, then, great! otherwise, best use my engine… it's the best I will ever give you people. Link to comment Share on other sites More sharing options...
Joyce Posted July 17, 2009 Share Posted July 17, 2009 he never specificly asked for SOURCE CODE on it, he just asked for help on how to achieve such a thing ;) I myself have a general idea, as you have to 'push' the player down the Y axis to simulate gravity and such. A very basic and simplified idea but when worked on it can be turned into something great. Link to comment Share on other sites More sharing options...
Akselj Posted July 17, 2009 Share Posted July 17, 2009 @MrMiguuâ„¢:> Excuse me? You do realize pixel movement isn't necessary for people to make a side scroller.I didn't say necessary it's just alot better.@MrMiguuâ„¢:> I think I might delete Project Vertigo and stop working on it all together since nobody wants to use it.Open source = more poeple ;)@Silvh:> he never specificly asked for SOURCE CODE on it, he just asked for help on how to achieve such a thing ;)Notice that TT Snim is not 'he' Link to comment Share on other sites More sharing options...
chrisaub Posted July 17, 2009 Share Posted July 17, 2009 im trying to do the same thign can anyone awsere Link to comment Share on other sites More sharing options...
Myron Posted July 17, 2009 Share Posted July 17, 2009 @AkselJ:> Open source = more poeple ;)That could be true, but if i was MrMiguu i wouldn't do it myself 2\. What if some dudes, going to add it a little and claim it for their own, or just only use this project to get to MrMiguu's Source edits. I encourage this to stay closed so that only the true owner can handle his project. And you want to add some stuff into your sidescroller? Well 2 options, 1\. Maybe MrMiguu adds it if it is good for the rest. 2\. Just learn Vb6\. And like i was saying in my previous reply in this topic. Because its closed i'm encouraging myself to learn VB6, so i can handle on my own. But after that i will still Credit Project Vertrigo and MrMiguu for the encouragement to learn Vb6 and that folks is something good.Btw for MrMiguu; I won't stop you if you wish/want to close the Project but all i will say is : Ignore the people who wants this open sourced, they have no power or might to tell you what to do but just focus on the people who love to have a Sidescroller and wish to work hard to get 1 and later or maybe soon to learn VB6 to stand on your own feet. Its just like a Mentor learning his Students something and when they mastered it, they will use it and maybe pass it on. ;) :azn: Link to comment Share on other sites More sharing options...
Akselj Posted July 17, 2009 Share Posted July 17, 2009 I don't really think it could be that hard I'm a add SideScroller to my engine.All you would have to do really is, preferrably but not necessarily, make it pixel based as that makes it easier (at least in my opinion), then, add an gravity factor deciding how long/high you can jump and after that you drop down. If I'm not mistaken though. Link to comment Share on other sites More sharing options...
chrisaub Posted July 17, 2009 Share Posted July 17, 2009 how or can you share your gravity script to me Link to comment Share on other sites More sharing options...
Akselj Posted July 17, 2009 Share Posted July 17, 2009 Not making it for Eclipse Link to comment Share on other sites More sharing options...
chrisaub Posted July 17, 2009 Share Posted July 17, 2009 well i gues im goign to learn how to script then Link to comment Share on other sites More sharing options...
mrmiguu Posted July 17, 2009 Share Posted July 17, 2009 So much talk of "how easy this is" yet I have yet to see any progress. All talk and no game, I say. Link to comment Share on other sites More sharing options...
Akselj Posted July 17, 2009 Share Posted July 17, 2009 Well I'll be happy to send you a link when the engine is done :) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now