Pixel Paste
About
Controls:
Space: Save pixels to string
W: Load pixels from string
Mouse Left: Spawn pixels
Mouse Right: Delete Pixels
Pixel Paste is a demonstration that I created to showcase the capabilities of GameMaker Studio's string input-based saving and loading functionality. The user interface allows for the creation, modification, and deletion of pixels through simple mouse actions, such as clicking, dragging, and right-clicking. Additionally, existing pixels can be modified by left-clicking to change their color.
This code can be adapted for a multitude of purposes, including level editing, prefab system creation, and content sharing for randomly generated levels.
I have included all the source code in draw_game.yyz