Differences marked as
^s - small difference, not really worth dealing with.
^m - medium difference, might be wise to fix it if in performance-critical section of game.
^l - large difference, better fix it if you can.
1. Tests have shown that D&D is equivalent to code, apart from few cases like comparisons, because all D&D actions must have a function behind it, thus your "if x > 0" D&D block is threatened as "if action_if_variable(x, 0, 2)" by runner. ^s
Edit: yes, -every- D&D action has it's own function. If you do menu:Scripts\Show built-in functions, you can see these in list prefixed as action_.
2. Tiles will be faster, because GameMaker automatically decides if they need to be drawn, and will not draw them outside of view. ^l
3. Technically object event is working -a bit- faster than a script. I cannot tell if moving all your scripts into object events is a good idea though. ^s
4. Due to nature of DirectX, GameMaker draws large backgrounds faster than a small ones. To test this, compare CPU usage of room with a 4x4 tiled background, and 512x512 background with is made of tiled 4x4 ones ^l
5. See above, normal background would work faster, unless your tiles have size same as background. ^m
Edited by YellowAfterlife, 25 February 2012 - 05:17 PM.