Program1031.comTM
Game Programming Help for Beginners and Experts
Home Need Quick Help?
Questions and Answers
Get Exclusive Stuff!
Email Newsletter

Question:
How can I Organize my Code in Game Maker better?


Answer:

In Game Maker, when you code, you usually don't need semicolons at the end of lines. But most of the time, they make your code easier to read!

The code below works. If you run it, you wont get any errors.


The problem with the above code is that it's kind of hard to read. And when the coding gets REALLY complex, it will be even harder to read.

Adding semicolons helps keep your code organized! Below is the same code with semicolons added between statements:


That's more like it! Try it in your own projects!

Page updated: March 23rd, 2015 @ 6:21 AM Eastern Time

Game Making Tutorials
Find tutorials about your favorite game creation software! Use the navigation below!

Game Maker: Studio
Help, References, and Tutorials
RPG Maker Fes
Help, References, and Tutorials
smileBASIC
Help, References, and Tutorials

Download Books
Search Downloadable Books from Program1031.com

Home Questions and Answers Email Newsletter
Content and Design © 2012-2019 Program1031.com. All Rights Reserved.
All Copyrights and Trademarks of mentioned products are copyrights and trademarks of their respective owners.
Our other websites: