Jump to content


Tech Blog 84 - Physics in GMS Part 2

  • Please log in to reply
No replies to this topic

#1 Nocturne


    Nocturne Games

  • Administrators
  • 25708 posts
  • Version:GM:Studio

Posted 20 October 2014 - 06:31 AM

Physics In GameMaker: Studio: Part 2 - https://www.yoyogames.com/tech_blog/84


This week's tech blog is a follow on from the previous one we posted about physics in GameMaker: Studio. If you haven't read through that one (you can find it here) then we recommend that you do, and that you download the attached GMZ example from that article as this week follows on from where we left off, and will continue to build on what we have already.

In this article, we are going to leave the object interface behind and delve into the GML code for physics in GameMaker. This is a necessary step, as creating physics objects from the UI is fine for very basic stuff, but if you want to have any control over a physics enabled instance, you need to use code as there are no equivalent Drag'n'Drop actions for them. However, as you will see, the transition to code is easy enough as long as you have grasped the fundamentals and have a bit of patience!



  • 1