Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
0

Game Maker Studio 2 Project Template

A topic by Mevenant created May 19, 2019 Views: 5,295
Viewing posts 1 to 1

Hi guys. If you're using game maker studio 2, hear this out. I've made a project template that helps with making a new project. Even if you're not making a new project, it has some beneficial features. THIS IS FOR FREE. I want to help anyone using game maker studio 2 to make better games and have a better time.

I am a video game developer and I have used game maker for more than 4 years. I make a lot of games and it always takes a long time just to get the basic systems of the game going. These systems include:

  • Main Menu
  • Pause Menu
  • Saving
  • GUI
  • GUI Tools such as buttons
  • Collisions
  • etc

After spending a lot of time redoing the same thing for different projects, I decided to make a template that I could use for most of my projects. With this template, I can just start working on the mechanics of the game and have a better time. 

So here is the template project that could be used for many many new projects, or the ones that already exist.

Here's a link to download page: https://mysterystudio.itch.io/game-maker-studio-2-new-project-template

This Template includes:

Scripts

Scripts

Delta Timing variables

  • If you are not using Delta Time in your game... what are you doing? Delta Time is a very important part of making the game fair. 
  • Simple DT and DT_Fixed variables to use across the project
  • You can even use this to make slow motion effects! :D

Global Input variables

  • Keyboard inputs
  • Xbox inputs

Macro and global variables:

  • Aspect ratio and resolution of the game
  • Global variables to refer to layers easier

Pause menu

Pause menu

GUI

  • States: // You can add as many states as you'd like. Here are a few:
    • Main Menu
    • Normal level
    • Pause Menu: // Add to pause menu with only changing a few variables in its state script.
  • Tools such as buttons:
    • Buttons that can be interacted with and modified

Saving

  • Save and load objects of a level.
  • This system uses JSON which means, it can be scaled to larger projects a lot easier. 

Collision tileset

Collision tileset

Collision

  • Solid collision script
  • Tile collision script: I personally use tile collision for collisions in my games.

tilesets
tilesets

Tiles

  • Checkplace and remove index of a tileset with scripts
  • A wall tileset with auto tiling
  • Collision tileset

Nine slice drawing:

  • draw rectangles based on 9x9 sprites

oGame

  • one persistent object that controls the game

oLevel

  • one object to control the level
  • Place solid tiles on wall tiles

Room template
Room template

Template Room

  • A room with layers and common objects:
    • Background tile layer
    • Middleground tile layer
    • Foreground tile layer
    • GUI layer
    • Camera Layer

Camera Object

  • One camera to be used anywhere in the game
  • Modify this camera with simple variables provided

Here's a link to download page: https://mysterystudio.itch.io/game-maker-studio-2-new-project-template

I hope you'd find this helpful.

Get Creating