
GameMaker Programming By Example
By :

Kudos on finishing this introductory physics chapter! The following, and final, chapter will wrap this up, and include debugging and some other useful information that we couldn't teach you as of yet.
What is a fixture?
What is a joint?
How can you give a physics object "infinite weight"?
What variables do we use for the coordinates of an object that uses physics?
How can you check whether a mouse button is clicked, and how can you check the cursor's position?
Play around with different shapes in your sandbox game and see how they all interact. Have one of your shapes spawn when the player clicks the right mouse button (mb_right
).
Also play around with revolution joints, maybe have balls that collide revolute. If you want, you could try some of the other joint types shown in GameMaker's documentation to see how they work.
In your second game, add a projectile that the player can spawn that uses physics properties. Program it just like the ones in previous games...
Change the font size
Change margin width
Change background colour