moving platforms

  1. T

    GMS 2.3+ Moving Platforms Issue [Help needed] So I've implemented moving platforms into my game, modeled after this article, and for the most part they work as I expect them to. However, sometimes when I land on them it seems to push/teleport me out of it. The...
  2. Slyddar

    Asset - Project Tile Based Moving Platform Engine

    Tile Based Moving Platform Engine This tile based platform engine uses efficient tiles for instance collisions, as well as incorporating those efficiencies into horizontal and vertical tile layer moving platforms. Some of the features of the engine : Tile Based Collisions : Tiles offer the...
  3. D

    Moving Platforms in GMS ? [Solved]

    I really need help with my project. Hopefully some of you can help me. I need moving Platforms in my game, but always get bugs and my Player stucks in it. Step Event obj_Player: /// Movement //Gamepad! if(t==0){ //Nur für die Tür Ani damit der Player an der Stelle bleibt ...
  4. MaxLos

    Legacy GM How to get consistent speed on moving platform

    Hihi, Pretty much what the title says. When my player moves in the opposite direction a moving platform is, they reach the end of the platform way faster than when they are moving in the same direction of the platform. Just wondering what I should do to make the player move the same speed as...
  5. EndermanTamer13

    Legacy GM How to code moving platform collision?

    so i've been working on a platformer project in GMS 1.4.9999, and i've been trying to add moving platforms to it but they always have some issues... so i decided to just scrap it and redo the moving platform collision code from scratch, but nothing i've tried has worked and i need some help any...
  6. MaxLos

    Legacy GM [Solved] Moving platforms wall collision

    Hihi, So I finally got around to learning how to make moving platforms using one of Shaun's old tutorials. It works great but it has one "problem" that bothers me: if the player is standing on a moving platform that moves into a wall it kinda pushes the player a bit in that direction. Not a big...
  7. Michael Franklin

    Moving platforms

    I have a character named judy: /// @description City physics //input left = keyboard_check(ord("A")); right = keyboard_check(ord("D")); jump = keyboard_check_pressed(vk_space); //Movement var move = right - left; hsp = move * walksp; vsp = vsp + grv; //jump if (place_meeting(x,y,ocity)) or...
  8. 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...
  9. H

    How to make player object move with sine wave platform

    I have been using code below for moving platforms, now I would like to implement that code so that when my player is on the platform the player object moves with the platform. I know an easy way to do moving platforms is just horizontal speed = direction * movement speed; and then you add the...
  10. J

    Is there any way to check if a player gets stuck (crushed)?

    I made a platformer with moving platforms, but there is an issue. When I get between the moving platform and a solig wall, I get stuck in the wall. I want the player to die when he gets crushed like this. How can I check for this situation?
  11. W

    GMS 2 [SOLVED] Moving Platforms! Duplicate Obj. isn't working

    Hey everyone, first time posting in GMC and I'm a total beginner. In my game, I have a basic moving platform that when when the player stands on it, his speed matches it and he moves with it. That's all working fine. However, when I try to duplicate the platform obj. and place more of them into...
  12. N

    GMS 2 Moving platforms

    This issue has bothered me for SO LONG NOW I decided to finally end it all and just ask the internet. So, basically, I'm making this platformer, but I can't get the moving platforms to work. I've tried so many different methods that I just don't know anymore. My goal is to make a system where...
  13. IE Entertainment

    Moving Platform: How to make character stick?

    I have created a moving platform. I basically used my code for solid walls, minus gravity and gave it the ability to move left and right and reverse when it hits a wall. The issue I am having is, when the character lands on top of the platform, he slides right off as the platform moves along...
  14. Bomb The Moon

    GML [Solved] moving platforms and collision (not the common kind of problem)

    I am new to GMS. I have primarily been following Shaun Spalding's tutorials, as a platformer is the first project i wanted to tackle. My issue is this: when i walk off of my moving platforms, in certain spots close to the walls, my player object jumps (as in a quick movement, not my coded jump)...
  15. M

    GMS 2 [Mostly Solved] Problems with moving platforms in general

    GM Version: I've followed Shaun Spalding's tutorial on moving platforms a month ago, but he never taught vertical platforms, and I'm having problems with both horizontal and vertical platforms. The horizontal platforms I actually got working. However, these aren't perfect as well...
  16. T

    GMS 2 Moving Platform Collision Logic

    I'm working on a platformer and I'm having trouble figuring out the proper collision to use. Player Step Event: vsp += vsp_carry; if place_meeting(x, y + vsp, obj_wall) { alarm[2] = 4; while !place_meeting(x, y + sign(vsp), obj_wall) { y +=...
  17. N

    Legacy GM Moving Platforms Problem

    My problem : The problem that I have is when the platform is going down, the player keeps floating (and can't jump, except for the double jump) and I don't know how to fix it. That image shows what is my problem If anyone can please help me it will be awesome, I can show you the codes of...
  18. S

    Problem with moving platforms

    Hi guys, how are you? im having trouble with moving platforms, i tried a bunch of stuff to fix the problem, but nothing works. So i have 3 objects for platforms: platform_hor (moves horizontally);platform_up (moves up). and platform_down (moves down). When platform_down gets to the bottom of the...
  19. Dharmatrooper

    Tile based collision platformer improvements

    Hello, newb here. Is there any tutorials how to implement ladders, moving and one-way platforms for tile based collision check platformers? Also can't clearly understand how to correctly implement tile based collisions check for characters that bigger than the tile.
  20. S

    GML Moving Platforms Using Paths: Maintaining Player Contact

    (Code provided further down.) Background: I have defined several path styles for a moving platform in a 2D platform game. Ideally, I want these to move with paths rather than hard-coded / alarm-based movement for ease of implementation / modification throughout the game. The platforms are...