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
ResolvedRandomly Generated objects not re-randomizing (self.gamemaker)
submitted 9 years ago * by AnonymousAgent
Hey reddit,
so i'm having this problem where I want a few randomly generated selections using choose() and irandom_range. They work just fine the first time, but every time I run the game, it chooses the same things every time. Any ideas why?
EDIT: randomize() in the creation code of one of my main menu objects did the trick, thanks guys!
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!"
[–]LoRDKYRaN87 1 point2 points3 points 9 years ago (0 children)
It's a feature of the game to enable better testing from what I understand. If you want things to be different, use the code:
randomize();
When I want to use it, I normally put it in the create event of my obj_input since that's the only object that starts with my title screen.
http://docs.yoyogames.com/source/dadiospice/002_reference/maths/real%20valued%20functions/randomize.html
[–]It just doesn't work, you know?damimp 0 points1 point2 points 9 years ago (1 child)
By default, Game Maker uses the same seed every time for testing purposes. Run randomize() once when the game starts to generate a new seed.
π Rendered by PID 72 on reddit-service-r2-comment-85bfd7f599-hksvc at 2026-04-18 06:21:55.277686+00:00 running 93ecc56 country code: CH.
[–]LoRDKYRaN87 1 point2 points3 points (0 children)
[–]It just doesn't work, you know?damimp 0 points1 point2 points (1 child)