- Title: Simple Instance Combining
- Description: An example demonstrating a way to improve performance in games with solid instances by combining them into 1.
- GM Version: :GM81:
- Registered: Yes
- File Type: .gmk
- File Size: 828 KB
- File Link: Download Here
- Required Extensions: None
- Required DLLs: None
In most simple platform or even top-down games we have a simple solid object (e.g a wall) and place instances of it all over the room.
This can result in a big number of instances in your game and therefore in a performance decrease. For example in a 1024x768 simple
platform game room there are usually around 100-200 of these instance (32x32 sprites). In this example I'm using a script to combine
all of these instances into 1.
Free to use in any of your games.
Edited by icuurd12b42, 14 December 2011 - 12:02 AM.