GameMaker Studio 2: Let's Create a Moving Platform

  Рет қаралды 12,086

GameMaker Casts

GameMaker Casts

Күн бұрын

Пікірлер: 24
@Dlong19777
@Dlong19777 2 жыл бұрын
Would love to see how to implement this on a top down moving platform.
@6Nicolas
@6Nicolas 6 жыл бұрын
great lesson, thank you ! the movement is really smooth here.
@itscookie159
@itscookie159 2 жыл бұрын
hello, my code has a problem, so when i start the game the moving platforms does work, but it kinda dont get out of its place on the first trys, i have a button to reset the room i am in, and when i reset it like 3 times it works how its supposed to work can you help me?
@Trigunner98
@Trigunner98 5 жыл бұрын
This is a really polished tutorial, but I couldn't get the platforms to move even a little at 3:41.
@glebozhgikhin1528
@glebozhgikhin1528 5 жыл бұрын
The same problem.
@ChrisDoesTV
@ChrisDoesTV 4 жыл бұрын
Please can you go over collision elements you mentioned at the start of the video
@SnowstormProductionsCompany
@SnowstormProductionsCompany 2 жыл бұрын
ok- so im making a platformer game with TWO players- and when i use this tutorial i think because there is two players instead of one it screws with the platform and makes it stay in one area kinda glitchy, do you think you could help me?
@dreamyhydra9002
@dreamyhydra9002 4 жыл бұрын
you can also do this by making these events for the moving platform object create: movesp = 4; step: if (place_meeting(x+1,y,obj_floor)) { movesp = movesp * -1; } if (place_meeting(x-1,y,obj_floor)) { movesp = movesp * -1; } x = x + movesp
@backstagy529
@backstagy529 4 жыл бұрын
For me it just made the object invisible/
@hunt2315
@hunt2315 3 жыл бұрын
I completed the tutorial, and it worked great for the platforms, but I couldn't figure out how to make it so you could move left and right on the platform
@mileselectric3677
@mileselectric3677 3 жыл бұрын
The problem im having with this is that ive copied word for word your code and it doesnt carry the player at all
@rebeccagerman3364
@rebeccagerman3364 4 жыл бұрын
mine just stays in the same place and glitches :( i followed the code exactly too
@MohAmuza
@MohAmuza 4 жыл бұрын
going down at the end, you teleported the player that's why its not smooth fall
@jameswebling3794
@jameswebling3794 6 жыл бұрын
This is a delicious piece of code. Thank you so much for sharing. It works really well for the best part. I am having a couple of problems though. When my character lands on it, he is stuck in the jump animation. Also, if the platform hits my character from the side, he gets stuck in it. Any help would be greatly appreciated.
@GameMakerCasts
@GameMakerCasts 6 жыл бұрын
I do not know why your player isn't switching back animations without seeing what is actually happening. As for getting stuck inside of the platforms I made a video that is uploading right now and will be available tomorrow that talks about that issue and how to fix it (along with better player movement on the platform itself).
@SuicideSauceNoodles
@SuicideSauceNoodles 6 жыл бұрын
Mine just glitch
@Aveskarina
@Aveskarina 6 жыл бұрын
Hello people. This way to make moving platforms worked for me about 50:50. I wasn't able to reproduce platforms "carrying effect". Platforms just still slides under player. My code looks almost identical but it looks like "var instance = instance_place(x,y+1,oMovingPlatform);" is not set. Nothing after "if(instance !=noone)" is executed. Ill post rest of the code, so if anybody can read anything of it, iwould like to hear. Even sugestions what to look for will help. Thanks in advance. //--------------------------------------------------------------- //Vertical Collision Platform //--------------------------------------------------------------- if (place_meeting(x,y+vsp,oMovingPlatform)) { while (!place_meeting(x,y+sign(vsp),oMovingPlatform)) { y = y + sign(vsp); } vsp = 0; var instance = instance_place(x,y+1,oMovingPlatform); if(instance != noone) { is_on_platform = true; hsp = instance.hsp * instance.dir; } else { is_on_platform = false; } }
@PPNyanMain
@PPNyanMain 6 жыл бұрын
your code is very similar to mine, and since this was from 4 months ago, maybe you solved the issue by now and can help me out?
@elalegreroger
@elalegreroger 4 жыл бұрын
two words: "Shawn Spalding".
@Mightyjordy
@Mightyjordy 3 жыл бұрын
One word: Shaun
@PrimitiveAspid
@PrimitiveAspid 3 жыл бұрын
@@Mightyjordy Spalding
@nathanhill3388
@nathanhill3388 6 жыл бұрын
WOULD BE BETTER IF PUT CODE IN DESCRIPTION :(
@TheTooTurntTahj
@TheTooTurntTahj 5 жыл бұрын
But then you just copy and paste and dont know what you’re actually doing .. lol
@gamer-sama7769
@gamer-sama7769 4 жыл бұрын
@@TheTooTurntTahj That's true, but it still makes it better for reference against typos.
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,3 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
GameMaker Studio 2: Moving Platform Bug Fixes
5:09
GameMaker Casts
Рет қаралды 1,7 М.
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 786 М.
Fast GRASS Tutorial -- GameMaker Studio 2 (Vertex Buffers for Beginners)
12:54
GameMakerStation - Matharoo
Рет қаралды 32 М.
I made maps that show time instead of space
10:44
Václav Volhejn
Рет қаралды 1 МЛН
New Fake Kirby games
11:41
Failboat
Рет қаралды 957 М.
Optimisation Tips | GameMaker Studio 2
19:10
FriendlyCosmonaut
Рет қаралды 51 М.
GameMaker Studio 2: Health Bar Tutorial
13:49
Sara Spalding
Рет қаралды 87 М.
Simple Lighting System in GameMaker Studio 2
16:18
GameMaker Casts
Рет қаралды 20 М.
Everything You Need To Start Making Games (As A Beginner)
16:11
Juniper Dev
Рет қаралды 166 М.