• Hey! Guest! The 36th GMC Jam will take place between February 27th, 12:00 UTC - March 2nd, 12:00 UTC. Why not join in! Click here to find out more!

jumping

  1. Michael Franklin

    Added jumping animation and I cant move

    I added: //Animation if (!place_meeting(x,y+1,ocity)){ sprite_index = judyjump; } else{ if (hsp == 0){ sprite_index = judystand; } else{ sprite_index = judyrun; } } and now my character (judy) wont move. Her running animation happens...
  2. C

    GMS 2 Problems with jump height in a 2D platformer

    Hi all, looking for some help with a problem I'm having getting pixel-perfect jump heights in a 2D platformer. I started with the usual that most tutorials (Shaun Spalding, Heartbeast) suggest, ie //in create hsp = 0 vsp = 0 grv = 0.3 jumpheight = -7 ...other variables, etc. //in step event...
  3. iRhymeWithRawr

    Released Platforming engine

    About This platforming engine should be everything you need to create your very own platforming game! This engine has an extensive amount of features and will be updated accordingly when/if there is a majority request. This engine uses clean and commented code, allowing you to easily understand...
  4. 1

    Drag And Drop Jumping in a 2D platformer / GMS2

    How do one program a jumping ability to the controllable character in a 2D platformer with only DND in GMS2? As I understand it there are different ways to do this. What are the different ways? What are the pros and cons with the different ways of doing this? How do one do the different ways...
  5. Storm1208

    Legacy GM [SOLVED]Player Able to Flip Gravity Twice Instead of Once

    Hey all! As a sort of pet project I've been attempting to recreate the game engine for the popular indie game VVVVVV within GMS 1.4. Everything has been going smoothly so far but I've had an issue for a few weeks now and I just can't seem to figure out how to resolve it. Within my game, the...
  6. Wzqxrys

    Windows MyTime - A Spectacle in Time - 3D Platformer

    https://wzqxrys.itch.io/mytime MyTime - A Spectacle in Time Ollie the crab needs your help! Find all the Time Fragments and restore order to Planet Perspective. Can you stop Professor Tentacle 3D Platformer made in GameMaker DRM Free Designed and Developed by Wzqxrys aka Leiam Clements...
  7. M

    GMS 2 [SOLVED][2D Platformer] Jumping out of water when close to wall_obj

    Hello I have the same water physics as in the old counter strike / half life where if you hold space bar, you float towards the water surface. I am trying to make him jump out of the water if close to the "shore" This code ain't cuttin it if position_meeting(x,y-20,oWaterWall) and...
  8. A

    GML Jump math

    Maybe someone with better maths skills than mine can help me figure this out. Basically, if I know my character sprite is 32x32 and my floor tiles are also 32x32, knowing that I want my jump duration to last exactly 1 sec (0.5 s to reach peak height) and I want to be able to jump 64 pixel high...
  9. M

    <SOLVED> How would I make my character perform a double jump?

    I want my character to have the ability to double jump, but I'm not sure how to go about it. This is my Step event: //Inputs //Inputs key_right = keyboard_check(ord ("D")); key_left = -keyboard_check(ord ("A")); key_jump = keyboard_check_pressed(ord ("W")); key_fall =...
  10. M

    Making the player character move faster in the air? <SOLVED>

    I'm making a platformer, and I'm wondering if it is possible to make the character faster while airborne.
  11. C

    Legacy GM [SOLVED]Diagonal Jump

    I'm making a fighting game with movement physics which is the same as Shaun Spalding's Platformer video Create Event grav = 1.5; hsp = 0; vsp = 0; jumpspeed = 20; movespeed = 4; last_dir = 1 inv=false dir=1 jumps=0 jumpsmax=1 Step Event: ///Input key_right = keyboard_check(vk_right) ||...
  12. J

    Jumping Animation

    I'm sure this has been answered a million times, but I don't have time to go through all these threads... Anyways, I want my sprite to have a jumping animation and a falling animation. However, both of the sprites are separate (one falling, one jumping). The falling sprite is the only one...
  13. V

    Android / Amazon Fire Cant Jump and Run

    Hi, My Name is Colin and my Game doesnt work as I like. I got a simple way to move my object. Also i got a simple way to jump. Objects that you Need to know: obj_left (to walk to left) obj_right (to walk to right) obj_up (to jump) obj_player (player) Walk Way: In both objects is one simple...
  14. S

    GMS 2 Jump Glitch (Please Help)

    Need help on this glitch. Everytime I jump and touch a wall and then press the opposite movement button to the wall, I get teleported to the wall on the other side and wise versa. Example, If I jump and touch the wall on the right and press left arrow key, I get teleported the very other wall on...
  15. Dreadusa

    Slope Collision going up slope and jumping.

    if(JUMP&&(!place_free(x,y+1)))//Jump checks for keyboard_check_pressed {jumpSpeed = -14} //Horizontal Collision xtarg = x + lengthdir_x(moveX,xdir); if (place_free(xtarg,y)) { x = xtarg } else { while (place_meeting(x+moveX,y,objCollision)) { xtarg = x...
  16. Z

    Attacking while Jumping

    Dear Game Maker community I have been working a platformer game and been implementing an attack system. I have created a state machine to switch between Walking and attacking it works perfectly when pushing the Z button the character stops performs and does the attack animation and returns back...
  17. H

    Jumping in a 4-directional Shooter

    Hello everyone! Currently I am working on a game that will play a bit like Shock Troopers for the NeoGeo. I am trying to figure out a way to implement a jumping ability for the player. Currently my player object has the following variables in it's Create Event: phy_bullet = true; hp = 10; spd =...
  18. S

    School Project Help

    Hey, For my final project, I've decided to make a 2D sidescroller. Simple concept, Gordon Ramsay chases you whilst you run and jump above gaps. I have less than a month to hand it in. I have barely started the code, and am stuck on how to get my main character to jump. My code atm for...
  19. Doc

    Legacy GM {CLOSED}Auto jump mechanic problems

    Hello all! first off, I'll apologize in advance as this very likely has been covered before, but I am two days in and have a super limited understanding of GML and programming in general. So I have a working state machine up and running. obj horizontal movement is working fine, as well as a...
  20. C

    Prevent Creating Object Instance if a wall is above the Character?

    Hello I'm a newbie developer, who knows a little coding. So here is my situation, so i have a projectile that pushes my character every time he jumps, but i only want this projectile to appear if there is space above me, and i want nothing to appear when i'm jumping towards a wall before...
Top