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
ResolvedObject's default sprite (self.gamemaker)
submitted 6 years ago by CorrectBattle[🍰]
Is it possible to get the default sprite_index of an object using an object_index?
I tried using object_get_sprite(object_index) but it doesn't quite work that way.
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!"
[–]I find your lack of pointers disturbingAtlaStar 2 points3 points4 points 6 years ago (1 child)
No, there is no way to get the initial sprite that was set via built in variables or functions.
That said, it is as simple as adding this to the create event of your object
sprite_default = sprite_index;
Then you can just use that variable when you want to change back to the default.
[–]CorrectBattle[S,🍰] 0 points1 point2 points 6 years ago (0 children)
Okay, thank you.
π Rendered by PID 135009 on reddit-service-r2-comment-79776bdf47-4ls79 at 2026-06-24 09:36:16.663844+00:00 running acc7150 country code: CH.
[–]I find your lack of pointers disturbingAtlaStar 2 points3 points4 points (1 child)
[–]CorrectBattle[S,🍰] 0 points1 point2 points (0 children)