Boost compile/test time [Game Maker | Basics]

Опубликовано: 04 Октябрь 2024
на канале: 1up Indie
1,811
61

This basics video tutorial shows you how to use reduce testing/compiling time in GameMaker.

So this is the scenario, you write two lines of code and want to test your changes and hit F5. But this is not good because that takes more then one minute. How do we get this faster because waiting one minute or more each time for short testing isn't fun.

But let's start from the beginning, what is compiling and what has it to do with testing or even creating executables? To put it into laymends terms, compiling is the act of assembling or putting things together from different sources. That is what is happening when you press F5 and run your game in the virtual machine (VM) or the YoYo compiler (YYC). It stores all files in a temporal folder and create a useable/runnable version of your current project. So if you have tons of big images and high quality songs in your project you increase the compiling time by a lot.

To remedy this temporary:
put no or dummy images/songs to reduce files size
use compressed sound files (.ogg)
use as little images in total which are not needed in early to mid stage production
good hardware (cpu/ram + ssd) for loading fast in and out

In later to last stages of making your game you put in the art and music to not bloat/cripple up your testing/compiling capabilities. Having thousands of objects and scripts is not affecting the overall testing times (almost) at all.


Offical manual on compling/testing:
https://manual.yoyogames.com/Introduc...


👑 Support me and get fresh game art and game maker projects every month:
  / 1upindie  

Follow me on:
📸 Instangram:   / 1upindie  
🐦 Twitter:   / 1upindie  
💬 Discord:   / discord  
📜 Udemy: https://www.udemy.com/course/become-a... (See youtube about page for discount)


CHAPTERS
-------------------------------------------------------------------------------------------------------
0:00 Testing speed is terrible, how to fix this
1:00 Subscribe
1:11 What is compiling
2:02 Target platform and virtual machine
2:58 What compiling is doing in GameMaker
4:08 Replace big files with dummies or compressed versions
4:49 Capitan Obvious, faster hardware will boosts test times