What it does
A Cursor rules file for GameMaker projects written in GML. It covers code organization, naming, constants and enums, and finite state machines for player, enemy and UI states. It also sets out performance habits such as caching references, destroying data structures and pooling frequent objects.
Use cases
- 01Split long object events into reusable scripts and functions
- 02Model enemy and player behavior as state machines
- 03Review Step events for costly instance searches