Jump to content
  • Advertisement
Sign in to follow this  
Kingston Creations

Parkour Game

This topic is 766 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I have been thinking about making a game where you jump from building to building exploring massive user made worlds. (With a bit of my own) Now the game will essentially be anything you want it to be. A goal to save someone in a tower far away or to have a race with your friends. I am having some issues. I am in need of a few tutorials on the following things.

 

  • Super Jump Pads (Basically a pad that launches you in the air.)
  • Some sort of support for scenes to be added by other users (A way for you to launch downloaded scenes)

 

Now that is the small list of things I need help with. By now you have probably logically decided I am a beginner, you are right. I am in need of any support and or help I can get. If it is a link you have to a video that I requested or you can make your own video on the subject. Anyways if you respond I want to thank you so much.

 

Tools I Have To Use

-------------------------------------

Properly licensed Adobe Creative Cloud

Very Basic Coding Knowledge

Drawing Tablet

All You Guys

And A Bit Of Enthusiasm

Share this post


Link to post
Share on other sites
Advertisement

Just as a note: posting updates on projects isn't really what this forum is for. This forum is intended for (technical) questions.

 

That said, there is also a blog-type of section on gamedev.net, which might be of interest to you, called Journals.

 

Good luck with your project :)

Share this post


Link to post
Share on other sites

On the launch pad thingy: are you using the physics engine of your game engine of choice? If yes, your player character has a rigidbody that makes him react to ingame physics.

 

Besides reacting to gravity, you can also apply forces to this rigidbody (you most probably do already for making him move IF you are using physics... for a free running game I would strongly suggest you start using physics as long as the platform you build the game for has the power to run the physics engine (no problem on PC and console, don't know about mobile))

You could just have the launchpad apply a force in the upwards direction everytime you character touches the collider of the  launch pad (or an additional trigger added to the launch pad). Of course, be careful that you only apply the force once, even if the character does not leave the trigger shape in a single physics frame (maybe the force you apply is not enough to catapult the character away fast enough).

 

If you are using / planning to use Unity:

https://docs.unity3d.com/ScriptReference/Rigidbody.AddForce.html

 

Introductions to physics in Unity:

https://unity3d.com/learn/tutorials/topics/physics

 

A very rough code example in Unity C# (code snippet, to be used in a script placed on the launch Pad in conjunction with a trigger on the launch pad, and a rigidbody on the character(s)):

private List<Collider> launchedColliders;
 
Start () {
    launchedColliders = new List<Collider>();
}
 
OnTriggerEnter (Collider character) {
    if (!launchedColliders.Contains(character)) {
        character.attachedRigidbody.AddForce(transform.up* launchForce);
        launchedColliders.Add(character);
    }
}
 
OnTriggerExit (Collider character) {
    launchedColliders.Remove(character);
}
Edited by Gian-Reto

Share this post


Link to post
Share on other sites

Just as a note: posting updates on projects isn't really what this forum is for. This forum is intended for (technical) questions.

 

That said, there is also a blog-type of section on gamedev.net, which might be of interest to you, called Journals.

 

Good luck with your project :)

 

No, I am looking for technical help. I am just making sure that everything is compatible with everything else.

Share this post


Link to post
Share on other sites

 

On the launch pad thingy: are you using the physics engine of your game engine of choice? If yes, your player character has a rigidbody that makes him react to ingame physics.

 

Besides reacting to gravity, you can also apply forces to this rigidbody (you most probably do already for making him move IF you are using physics... for a free running game I would strongly suggest you start using physics as long as the platform you build the game for has the power to run the physics engine (no problem on PC and console, don't know about mobile))

You could just have the launchpad apply a force in the upwards direction everytime you character touches the collider of the  launch pad (or an additional trigger added to the launch pad). Of course, be careful that you only apply the force once, even if the character does not leave the trigger shape in a single physics frame (maybe the force you apply is not enough to catapult the character away fast enough).

 

If you are using / planning to use Unity:

https://docs.unity3d.com/ScriptReference/Rigidbody.AddForce.html

 

Introductions to physics in Unity:

https://unity3d.com/learn/tutorials/topics/physics

 

A very rough code example in Unity C# (code snippet, to be used in a script placed on the launch Pad in conjunction with a trigger on the launch pad, and a rigidbody on the character(s)):

private List<Collider> launchedColliders;
 
Start () {
    launchedColliders = new List<Collider>();
}
 
OnTriggerEnter (Collider character) {
    if (!launchedColliders.Contains(character)) {
        character.attachedRigidbody.AddForce(transform.up* launchForce);
        launchedColliders.Add(character);
    }
}
 
OnTriggerExit (Collider character) {
    launchedColliders.Remove(character);
}

 

Thank you so much for the help. As should be assumed by the prefix of the main post this is with unity. I greatly thank your help and recourses that you have provided me with.

Share this post


Link to post
Share on other sites

>> Super Jump Pads (Basically a pad that launches you in the air.)

 

Gian-Reto's got you covered there, just add some extra y velocity to the jump.

 

>> Some sort of support for scenes to be added by other users (A way for you to launch downloaded scenes)

 

its unity, just let them load their own levels.

 

>> Properly licensed Adobe Creative Cloud

 

photoshop looks to be the only truly useful tool there. photoshop's a no-brainer. the rest you can probably live without.

Share this post


Link to post
Share on other sites

>> Super Jump Pads (Basically a pad that launches you in the air.)

 

Gian-Reto's got you covered there, just add some extra y velocity to the jump.

 

>> Some sort of support for scenes to be added by other users (A way for you to launch downloaded scenes)

 

its unity, just let them load their own levels.

 

>> Properly licensed Adobe Creative Cloud

 

photoshop looks to be the only truly useful tool there. photoshop's a no-brainer. the rest you can probably live without.

 

Thank you for the support. I agree as well. I don't understand the let them load their own scenes.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!