2d platformer

  1. N

    SOLVED Issues with enemy collision while in certain state - will only detect one side and stop.

    Hi all. I'm having a strange issue with collision for my enemy object while in its "attack" state in my 2D platformer. While in this state the enemy moves towards the player object if there is no collision with the wall in front of it. This works perfectly with any wall to the right of the...
  2. S

    Enemy AI in 2D Platformer

    Hello everyone! Newbie here. So I'm developing a single-screen 2D platformer (think Balloon Fight on NES) and I'm trying to program flying enemies to chase the player around the screen. I've tried a couple of different options, but nothing's working quite right. So I erased any new code and...
  3. Z

    SOLVED Multiple Jumping Animations

    Hello there fellow programmers, I have a problem concerning the code that affects the jumping animation of my player in a 2D Platformer. What I want to happen is when the jump button is pressed and the player is on ground I want spr_Player_Jump to play once. Then when the player is the air...
  4. M

    GML Checkpoints (safepoint) in a 2D platformer game

    Hello, I am farely new to this program and i am working on a 2D platformer in gamemaker 8.0, but i ran in to a problem with checkpoints. I currently have it all working that i an object called "checkpoint_deactivated" and an object "checkpoint_activated". As soon as the character hits one of the...
  5. Null-Z

    Puzzle ideas

    I'm upon the final level of Adventure Guy(2D Platformer) and I want the last level to be more puzzle oriented. basic premise is that there are three mask bosses with the themes "Wrath(Blind anger), Denial (like denial of progression), and Mocking. I want to make rooms with these themes...
  6. Randon

    Platformer Engine (with double jumps and wall jumps)

    Hey people! This is a platformer engine with comments for explanation. (might not be perfect but at least kinda good for beginners) Link: https://drive.google.com/file/d/1jkWrilOqzaoWRnd5hTNO1Z5syYBkpAXm/view
  7. 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...
  8. T

    Issue with enemies getting stuck in ground

    Working on a simple 2d platformer, with a mechanic where enemies can be grappled. So far all going well, though I made it so that if while the player is grappling an enemy and they take a hit from another enemy, they're supposed to be knocked back and release the enemy. With how this currently...
  9. Bulldrome

    Timed Turret Firing

    So about a week ago I asked for some help on how to get my turret objects to fire in any angle I rotate them in. After getting some assistance from some users I got the turrets to fire in the proper direction but now they fire a constant line of bullet objects, creating a beam of bullets...
  10. Bulldrome

    2D Turrets Firing Angle

    I'm working on a 2D platformer and one of the simple hazards I want are turrets that will fire at simple 45 degree angles (8 cardinal directions). I have it working now but I feel I did it in the most sloppy way possible. I have separate objects for each turret angle but I also have separate...
  11. A

    GMS 2 2-D Platformer Jump Animation Issue

    The issue: even if I change the speed values, the jumping animation remains a constant speed. The walking animation I can control just fine. [UPDATE: AS IT TURNS OUT, THE PROBLEM IS ENTIRELY DIFFERENT] It's not that the animation frame stays a constant speed, I tested a different sprite and as...
  12. E

    GMS 2 Help with Attacking States

    So I've mostly been using Shaun Spalding's tutorials on GMS/GMS2, and I'm currently adding attacks into my platformer game. I have a standard attack so far, but I am trying to add others, such as when you attack in the air, attack with the down button, and so on. However, I'm not sure how to get...
  13. T

    Legacy GM Strange Pixel Issue

    I am having trouble with my 2D platformer. There seems to be some problem with my collision. About 40% of the time my player object lands, it appears that he is half a pixel in the air, instead of being at the same level as the ground. When the player moves horizontally, he has a chance of...
  14. markfe

     Volcanic Bomb - a metroidvania 2D platformer (Demo on itch.io)

    Hello Everyone! I have made a development demo of my project Volcanic Bomb. You can play it here: https://mfe.itch.io/volcanic-bomb-demo More images about what I'm working on, here on twitter: https://twitter.com/volcanicbomb2D I's a 2D Platform Game with metroidvania elements. The demo...
  15. M

    Demo The incredible adventure of Mr Toothy - free Windows demo

    Hello Everyone I'm in trouble! Two months ago I started to develop a 2D platformer. It was supposed to be a simple exercise, maybe a little prototype, but in the meantime it grew, and now I have a ton of assets (not yet even used in the game) and a fully playable demo of the game. It lacks some...
  16. Null-Z

    Falling Platform Troubles(Solved)

    I want to have falling platforms in my game and tried this chunk of code. I have the parent set as the ground object. Under the Step Event - triggered=false; timer=10; if triggered { if timer == 0 grav = 6; else timer -= 1; } else { if collision_rectangle(x-10, y-50, x+10, y+50, Player...
  17. G

    Alpha Veins of Light ***OPEN TO CONTRIBUTION***

    Delve into an ancient tomb, and confront the renewed evil that lurks within... link to download: galaxypickle.itch.io/VoL Explore giant mushroom forests, uncover the truth of your origin, and avoid deadly traps and combat creatures of the depths! Veins of Light is a 2D Action-Platformer...
  18. J

    GMS 2 My player can't fall out of the room!

    I have set up a tilemap collision system in my 2D platformer using GMWolf's "Tilemap collisions in GMS 2" tutorial. The tile collision system works just fine. I want to make my player die when he falls into pits; so I tried to create an outside room event in my obj_player. I thought this...
  19. J

    GMS 2 Having knockback issues with my 2D platformer

    v2.1.3.189 My game (loosely based on "Beowulf") has a character who can press 'x' to swing his sword. This creates my (obj_sword_hitbox) in front of the "obj_player" for a single frame. When the (obj_sword_hitbox) collides with (obj_enemy_parent), I want to create a knock-back effect on the...
  20. C

    2D Platformer Knockback

    I'm using the code from this video, I tried searching all throughout the internet for a good tutorial for 2d platformer knockback, however the ones i could find allowed the player to move after being hit, or were for other genres of videogames,like topdown shooters. Could anyone please either...
Top