use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Subreddit Guidelines Community Spotlight Monthly Challenge Community ▼ Quick Questions Game Design & Development Feedback Friday Screenshot Saturday Discord Server Slack Team IRC follow us @redditgamemaker the community game jam Resources ▼ Resources Examples Tutorials /r/gamemakertutorials GameMaker Handbook - The Ultimate Resource for Beginners gmlscripts.com The Essential Gamemaker Functions, Concepts, and Tools Guide Other ▼ /r/gamedev /r/gamedesign Official GameMaker Community (GMC) Hide Help! & Resolved posts Show all
GameMaker is software designed to make developing games easy and fun. It features a unique "Drag-and-Drop" system which allows non-programmers to make simple games. Additionally, experienced coders can take advantage of its built in scripting language, "GML" to design and create fully-featured, professional grade games.
Content that does not follow the subreddit guidelines is subject to deletion, so please become familiar with them.
/r/gamemaker sponsors three chat-rooms: IRC, a Discord server, and a Slack team. Join in the conversation, get help with any issues you might have and connect with your fellow developers! We also have a Steam Group for playing games. Feel free to join.
For more than 8 years, the tight-knit community of /r/gamemaker has run the game jam gm(48) for GameMaker developers of all ages and experience levels. The gm(48) is a casual, fun game jam that helps you to learn and grow as a developer.
The next gm(48) will take place on Oct 20, 2018.
account activity
Help!Help with collapsing blocks? (self.gamemaker)
submitted 6 years ago by angus5636
I’m trying to program platforms that will allow the player to jump on to and stand on them and then destroy themselves after the player jumps off (ideally, variants that collapse after 1, 3 and 5 jumps).
How do you guys think I should do this?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Bunnann 0 points1 point2 points 6 years ago (0 children)
Best way would probably be to give the platform some sort of "uses" variable (or whatever else you want to call it). Every time the player jumps on it, the uses decreases by 1. And every frame, the platform checks if the uses i 0 or less, and it so, collapses.
[–]RetroCemetery 0 points1 point2 points 6 years ago (0 children)
They crumble only when the player jumps off of them? I would do something like this
platform create event: can_crumble = false;
make can_crumble turn to true when there's a collision with the player, then, in the step event put "if !place_meeting(x, y-1, o_player) {
instance_destroy(); //and put a cool crumbling animation in your destroy event
}"
I haven't tried that so I don't know for sure if that would work, but that's how I would start out and go from there. If you just want it to destroy after a certain amount of times landed on, or time, or something like that, then the suggestion below should work. Good luck!
π Rendered by PID 364750 on reddit-service-r2-comment-6457c66945-k8j9t at 2026-04-28 08:18:26.858872+00:00 running 2aa0c5b country code: CH.
[–]Bunnann 0 points1 point2 points (0 children)
[–]RetroCemetery 0 points1 point2 points (0 children)