platform game

  1. GONE

    GMS 2 I always take damage even when I jump on top of the enemies

    Hello everyone, I am making a platformer and wanted the main way to kill enemies is by jumping on top of them. I added this code to my game and discovered that no matter where I jump on them I take damage. here are my codes Oplayer // attacking if(instance_exists(Oenemy)) {...
  2. IgnacioG

    SOLVED Problems with collisions at the edge (2D platformer)

    Hi everyone, I need help with a somehow specific problem. I'm working in a 2D pixel platformer and obviously one of the first things that I implemented was collisions with platforms. To be honest collisions aren't my forte so when I found this problem I ignore it at first but is been a couple...
  3. R

    platformer maintaining horizontal speed until landing.

    Good day, So I am very very new to this scene and I am trying to create a basic platformer with punishing falls similar to a getting over it style game. I have basic character movement and dynamic jumping down however I do not understand how I can maintain my speed while in the air from...
  4. wilmer

    GMS 2.3+ I'm stuck with my Collision code for the sloped floor ( SOLVED )

    Greetings to all: I am basing myself on some tutorials to make slopes for my platform game, the problem is that the tutorials are made in GMS 1.4 and I am doing it in GMS 2, and there are boxes in the GMS 1.4 sprite editor that are not in GMS2 and when my character passes or jumps over the...
  5. D

    Steam Moonlit [retro werewolf platformer]

    Moonlit Hey, guys! How are you doing? I'm so proud to announce that Moonlit finally has a steam page and a launch date! The game is expected on dec 18 2020!! It is also available for adding on the wishlist! It took me nearly 2 years to get to this point, but I really enjoyed my final product...
  6. N

    GMS 2 Problems with GamePad Input in a Platform Game

    Hi, I have some issues with my horizontal movement code. I have a global variables in the Step Event of my object Player for the horizontal move: global.input_key_left = keyboard_check(vk_left) || gamepad_axis_value(0, gp_axislh) < -0.5 || gamepad_button_check(0,gp_padl)...
  7. D

     Moonlit - Retro Platformer Game

    Moonlit Moonlit is a retro-style platform game, in which you play as a young girl affected by a curse. At night, she is able to morph into a werewolf, and, as a werewolf, she cannot use her gun as a ranged-weapon, but her claws become a deadly melee weapon. The game has been in development for...
  8. I

    GML How can i change the sprite angle of the enemy when he's falling (<3)

    So, i making a game plataform and my enemies can walk on objects and fall. However, I would like that while they were falling, change their angle (to be more realistic) and when it touches the ground again, stay with the same starting angle. This is the code i was using: //gravity system if...
  9. Christopher A. Orestis

    Issue with moving Platforms.

    In the old game maker, you could just set the object to solid and then set the speed and what not. In the new version of game maker, when an object is set to solid it can no longer move, as well as any object that colides with the object is also unable to move...
  10. JPDamstra

    GMS 2 GameMaker Studio 2 - Make a Lunar Lander Game

    GM Version: GameMaker Studio 2 Target Platform: ALL Download: Part 1 Project Files Part 2 Project Files Part 3 Project Files Part 4 Project Files Summary: There was a game I was working on that had a little lunar lander style mini-game in it. This is a great little game to make to better...
  11. Reyniki

    GMS 2 Platformer Enemies Spazz out on top of Player [SOLVED!]

    [EDIT] My previous concern was solved but now I'm kinda lost on how to make the enemy sprites stop spazzing out when they're overlapping with the player. Dunno if any line of code would show the problem but here's the enemy's chase after the player code: dir = sign(oPlayer.x - x); h_sp = dir *...
  12. J

    GML Help with angled player kickback mechanic.

    Hi everyone, I'd like to start by saying I'm a complete novice to programming. I've been following a video by Shaun Spalding on kick back. I thought it would be a cool idea to make a game around this mechanic, but I've came a across a problem. When shooting at an angle and the player is...
  13. G

    GMS 2 Gamemaker Studio 2: Moving Platforms and One Way Platforms(All in One)

    GM Version: 2.2.5.378 Target Platform: Windows Download: N/A Links: Summary: First of all, happy new year to everybody! Hope you're having a great one. Just as the title mentions, this is an all in one tutorial video showing people how to handle jump through based static and moving...
  14. Wile94

    Legacy GM Instance_nearest - when to use it? performance impact?

    Hi, I'm working on a platformer (if you saw my posts i'm always working on a platformer :rolleyes:). Currently I'm looking the best way to perform some collisions without running the place_meeting and instance_place function constantly. I coded a moving platform using the next lines of code...
  15. wilmer

    Legacy GM Character stuck when using touch buttons, but does not get stuck with keyboards

    Greetings to all: Please help me on this, I am using skeletal animation. The problem is that the code that controls the gravity and collisions with the floor (the object of the floor is solid) works well with the keys assigned to move the character and jump (w, a, s, d, space etc.) , but since...
  16. S

    Legacy GM [SOLVED] Corner Collision Causing Incorrect X and Y Values?

    Hey All! I'm currently working on a recreation of the popular platformer "VVVVVV" and started using the view system in GameMaker to make small, 640x480 levels in my project. These levels are all contained within one room, and when the player walks far enough out of one view it switches to...
  17. Electronic Cheesekov

    Windows Revenge Of The Veggieman (Finished?)

    LAST UPDATED 01/02/2020 ----------> DOWNLOAD <---------- You play as a fat man who loves hamburgers THEN SUDDENLY the evil Veggieman comes to your house to tell you that you should eat healthier and steals all your hamburgers so you must go on an epic quest to get your hamburgers back...
  18. LibrarianOz

    Drag And Drop How do I make One Way Platforms Using Drag & Drop?

    I have not found a single tutorial that shows how to do one-way platforms using the drag & drop method. Could someone please help? I am using GameMaker Studio 2
  19. PlayerOne

    Game Mechanics What makes a good platformer A.I?

    What makes a good platformer A.I? What makes it fun or challenging? I need any and all input on this particular topic as I'm currently at the stage where I have to build my games A.I. All opinions are appreciated.
  20. A

    GML Help with changing sprite direction left and right

    Hello, I'm new to programming and really need help. I'm making a platformer and I'm having a problem inserting an additional run animation for the left direction. I made the sprite run to the right, even jump rightwards, but can't seem to do the same for the other direction without canceling the...
Top