Monster Hell [AGK] Template/Tutorial [Source]
Offered as response to Community inquiry of how AppGameKit Sprite Physics might benefit performance when handling collision (and more) for "thousands of sprites" in a Vampire Survivors-type as prototyped with non-Physics sprites HERE.
The attached Source/Tutorial is Commented with Newcomers to AGK 2D Physics in mind while related 2D Physics and Sprite command sets should be reviewed.
The scaled-down web Demo struggles while WIN Users report stable 60 FPS performance with 750-1,500 Mobs in screen (in addition to hundreds more that are not) on various systems.
Controls (also on screen):
- [Joy/WASD] = Move Party
- [M] = Toggle (Party) Melee attacks (Default: Off)
- [Pg Up/Down] = Spawn/Kill 50 Mobs
- [TAB] = Toggle Debug Mode
- [ENTER] = Pause Physics (while pressed)
Notes:
- Don't overlook #Renderer "Basic" at the top where i've since seen substantial performance increase under OpenGL
- Developed & Tested with AGK Studio v2025.11.30
The attached Template is FREE;
- Donation/Credit NOT required
- You may NOT Sell or Claim as your own work
- Feel free to Comment and Share anything you might create with it HERE :)
~VN
| Published | 1 day ago |
| Status | Prototype |
| Platforms | HTML5, Windows, macOS, Linux |
| Author | Virtual Nomad |
| Genre | Survival |
| Made with | AppGameKit |
| Tags | appgamekit, Physics, sourcecode, Tutorial |
| Average session | Days or more |
Download
Download NowName your own price
Click download now to get access to the following files:
Monster Hell [AGK Tutorial Source].zip 55 kB



