Gamemaker Studio 2

Gamemaker Studio 2 : What’s New in the Market ?

GameMaker Studio 2, or GMS2, is a cool and easy-to-use platform for making 2D games. It’s perfect for all levels of game creators, even if you’re just starting out and don’t know much about programming. GMS2 has a special drag-and-drop way of building games, a smart scripting language called GML, and lots of tools to help you make awesome games.

Let’s check out some of the cool things about GMS2:

  • Drag-and-drop interface: You can make game stuff happen without typing a single line of code. It’s like building with virtual building blocks.
  • GML scripting language: For those who want to do more, GML is a way to write special code to control every part of your game. It’s like having superpowers for your game.
  • Built-in tools and features: GMS2 comes with tools like a picture editor, animation maker, and sound editor. It’s like having an art studio right in your game-making tool.
  • Works on many devices: You can make your game and play it on lots of different devices, like computers, phones, and even game consoles.

Why is Game Development Important?

Making games is becoming a big deal, and it’s a great chance for new developers to join in. GMS2 is awesome for beginners and indie developers (those who work on their own or in small teams) because it’s easy to learn and doesn’t need a lot of money.

Here’s why getting into game development is a good idea:

  • Learn useful skills: Game development teaches you cool things like programming, solving problems, being creative, and managing projects.
  • Show your creativity: Games let you be super creative and turn your ideas into something real that people can enjoy.
  • Build a cool portfolio: Making your own games gives you a bunch of awesome projects to show off. This can help you get noticed by bosses or people who might want to invest in your ideas.
  • Start your own business: If you get really good, you could even start your own game-making business and make money doing what you love.
Credits : Gamefromscratch

Purpose of This Blog

This blog is here to help you become a GameMaker Studio 2 pro. It doesn’t matter if you’re just starting or have some experience. We’re going to cover everything you need to know to make amazing games with GMS2.

Here’s a sneak peek at what we’ll talk about:

  • Starting with GMS2: How to get going with GMS2, so you’re not stuck at the starting line.
  • GMS2 Interface: Understanding the different parts of GMS2 and how to use them.
  • Making Your First Game: Step-by-step guide to creating your very own game.
  • GML Scripting: Learning the special language that lets you control your game like a boss.
  • Using GMS2’s Tools: Getting the hang of the cool tools that come with GMS2.
  • Advanced Techniques: Once you’re a pro, we’ll cover some advanced tricks.
  • Exporting to Different Platforms: How to share your game with the world on different devices.
  • Troubleshooting: Fixing common problems that might pop up while you’re creating.

Stay tuned for more blog posts where we’ll explore each of these topics, giving you the skills and knowledge to make awesome games with GameMaker Studio 2.

II. Getting Started

Welcome to the world of game development with GameMaker Studio 2 (GMS2). This section will help you take your first steps into this exciting journey.

Download and Install GMS2:

Visit the official website to get the latest GMS2 version: GMS2 Download. There are two versions available – a free one with basic features and a paid one that lets you export your games to various platforms like macOS, Linux, iOS, Android, and PlayStation 4.

Create a New Project:

After installing GMS2, open it and start your first project. You can choose pre-made templates or start from scratch to let your creativity flow.

Get to Know the Interface:

GMS2’s interface is designed to be user-friendly and has key sections:

  • Room Editor: Build your game levels by adding objects, sprites, and backgrounds.
  • Object Editor: Make and adjust objects, from simple sprites to characters with animations.
  • Script Editor: Write code using GML (GameMaker Language) to control every part of your game.
  • Asset Browser: Manage your game’s assets like sprites, sounds, and fonts.
  • Project Properties: Set different properties for your game, like the title, resolution, and target platform.
  • Create Your First Object:

Begin with a basic object, like a square sprite. Add animations, scripts, and other properties to make it act the way you want.

Make Your Object Move with Events:

Events are how GMS2 reacts to user input and game events. For example, make your object jump when the player presses the spacebar.

Run Your Creation:

Once you have basic objects and events, run your game to see how it plays. Use the debugger to find and fix any coding mistakes.

Experiment and Learn:

The possibilities with GMS2 are endless. Try new things, experiment, and keep learning. You have resources like tutorials, forums, and the official GMS2 documentation to help you.

Helpful Resources:

Remember, starting with GMS2 can be both exciting and challenging. Embrace the journey, explore, experiment, and don’t hesitate to seek help. Soon, you’ll be creating amazing games of your own.

III. GMS2 Interface

Now that we’ve covered the basics, let’s explore the heart of GMS2 – its interface. Think of it as your command center, the place where you’ll shape, test, and improve your game.

The Room Editor:

Picture an empty canvas – that’s the Room Editor. Here, you craft the levels and spaces players will explore. You can:

  • Add objects: Place characters, items, and interactive elements.
  • Design backgrounds: Create the visual style and atmosphere of your game.
  • Layer elements: Arrange objects in a specific order for depth and complexity.
  • Set collision zones: Decide how objects interact with each other and the game environment.
  • The Object Editor:This is where your game’s pieces come to life. The Object Editor lets you:
  • Make sprites: Design and animate how objects look in your game.
  • Define behaviors: Use code or drag-and-drop tools to program how objects respond to events.
  • Set properties: Adjust features like size, speed, and collision behavior.
  • The Script Editor:Unlocking your game’s full potential means using code. The Script Editor is where you write GML scripts to:
  • Control object behavior: Set complex movements, decision-making, and interactions.
  • Create custom events: Respond uniquely to specific situations in your game.
  • Manage game logic: Control flow, scorekeeping, and other essential aspects.
  • The Asset Browser:Stay organized with the Asset Browser, where you manage visual and audio resources:
  • Import assets: Add sprites, sounds, music, and more.
  • Organize assets: Create folders for easy access.
  • Preview assets: Listen to sounds, music, and view animations before using them.
  • The Project Properties:Fine-tune your game’s settings in Project Properties:
  • Set the game title and description.
  • Choose the target platform (PC, mobile, etc.).
  • Define the game’s resolution and frame rate.
  • Adjust audio settings and preferences.

Mastering the GMS2 interface lets you unleash your creativity and build the game you imagine. Remember, practice and exploration are key.

Explore Further:

IV. Creating Your First Game

Now that you’ve got the basics of GMS2 and its interface down, it’s time to dive into your first game development journey. Let’s make a simple yet exciting game to strengthen your skills and ignite your creativity.

Choose Your Game Idea:

There are so many possibilities. Start with something small and focus on a simple concept that excites you. It could be a jumping game, a puzzle challenge, or a basic interactive story.

Design Your First Object:

Bring your game to life by creating its first object. This could be your player character, a moving platform, or a collectible item. Use the Object Editor to:

  • Design the Sprite: Make a simple picture for your object using drawing tools or import a ready-made image.
  • Define Object Properties: Set its size, speed, collision behavior, and other important features.
  • Add Movement and Events: Make your object come alive by giving it movement and defining how it interacts with the game world. Use the Script Editor to write simple GML code or use the drag-and-drop event system to:
  • Make your object move: Decide how it moves left, right, jumps, or does other actions.
  • Respond to user input: Make it react to keyboard presses, mouse clicks, or other player actions.
  • Interact with other objects: Create collisions and interactions with other things in the game.
  • Build Your Game World: Now it’s time to set the stage for your game. Use the Room Editor to:
  • Create the background: Decide how your game will look.
  • Place your object: Add the object you made to the room and say where it starts.
  • Add other things: Think about adding obstacles, platforms, or other things to make the game more fun.
  • Test and Play: With your first game prototype ready, see it in action. Run your game and test its features. This is your chance to:
  • Check the gameplay: Find what can be better and improve your design.
  • Polish the visuals: Make the background, object pictures, and other things look good.
  • Adjust the code: Make your GML scripts work well for smooth movement and the actions you want.

Creating your first game might feel tricky, but it’s super rewarding. Be patient, try things out, and learn from mistakes. As you keep exploring GMS2, your skills will grow, and your game-making journey will take you to exciting new places.

Explore More:

V. Scripting in GML

Now that you’ve made your first game and had a blast creating, let’s step it up by exploring GML (GameMaker Language) scripting. GML is like a special code that opens doors to even cooler things in GMS2, helping you make games that are super exciting and fun.

GML Basics:

GML is a script language made just for games. It’s pretty simple but does powerful stuff. Here are some key things to know:

  • Variables: Keep info like how fast a character moves, the score, or what level you’re on.
  • Functions: Blocks of code that do specific things and can be used over and over.
  • Events: Triggers that react to what players do or game events like things bumping into each other.
  • Conditions: Decisions in your code based on certain situations.
  • Loops: Repeating bits of code, like for making things move or animate.
  • Starting with GML: The Script Editor is where you write GML code. Here are some ways to begin:
  • Use the drag-and-drop system: GMS2 lets you make events and logic without typing code – it’s like building with virtual blocks.
  • Start small: Try simple things like making your object move or do basic collisions.
  • Check out built-in functions: GML has lots of ready-to-use functions for drawing, playing sounds, and more.
  • Read the official documentation: GMS2 has a big book of info with tutorials and examples to help you learn GML.
  • Example Script: Making Your Object Jump:

Here’s a small script that makes your player character jump:

// When the space key is pressed…
if (keyboard_check_pressed(vk_space)) {
  // Set the object’s vertical speed to make it jump
  vertical_speed = -jump_height;
// Apply gravity to the object
vertical_speed += gravity;
// Move the object based on its horizontal and vertical speed
x += hspeed;
y += vertical_speed;

This script uses GML to check if the space key is pressed and makes the player jump. It’s like giving your object special powers.

  • Scripting for Cool Features: Once you’re comfortable with GML, try out awesome things like:
  • Object interactions: Make objects do tricky stuff when they meet.
  • Artificial intelligence: Create smart enemies and other characters.
  • Game state management: Control menus, levels, and how the game flows.
  • Custom functions: Write code that does special jobs you can reuse.

Here are some places to learn more about GML:

Remember, getting good at scripting takes time and practice. Don’t let challenges stop you – think of them as chances to learn and get better. Keep trying new things, and if you need help, don’t hesitate to ask. Before you know it, you’ll be making awesome game features and bringing your creative ideas to life with the magic of GML.

VI. Built-in Tools and Features

Now that you’ve got the hang of GML scripting, let’s dive into the cool tools and features that GMS2 gives you. These built-in tools will make your game-making even more awesome, helping you work faster, make your game more interesting, and give players a really great experience.

Room Editor Tools:

In the Room Editor, you’ve got some powerful tools to shape your game world:

  • Tile Editor: Easily create environments using tiles that fit together smoothly.
  • Path Editor: Make paths for objects to follow, great for games with jumping and scrolling.
  • Object Placement: Put objects in your room and set them up just how you want.
  • Layers: Organize different parts of your game visually, so it looks cool and works well.
  • Object Editor Tools: The Object Editor helps you make your objects even cooler:
  • Animation Editor: Create moving animations for your objects, making them more alive.
  • Particle Editor: Add special effects like explosions, smoke, and fire for an extra wow factor.
  • Physics Editor: Make objects move realistically, like they would in the real world.
  • Shaders and Effects: Make your game look awesome with special effects like lighting and shadows.
  • Audio and Music Tools: GMS2 has tools to make your game sound great:
  • Audio Editor: Import and edit sound effects and music tracks.
  • Audio Groups: Keep your sounds organized in groups for easier use.
  • Audio Mixer: Adjust the volume and other settings for your game’s sounds.
  • Sound Effects System: Add sounds to different parts of your game, making it more fun.
  • Debugging and Optimization Tools: Find and fix problems in your game with these helpful tools:
  • Debug Console: See errors and warnings in your code and game logic.
  • Debugger: Go through your code step by step to figure out where errors are.
  • Performance Profiler: Check how well your game is doing and find areas to make it work even better.
  • Additional Built-in Features: GMS2 has even more cool features to make your game top-notch:
  • Networking: Make online multiplayer games where players can play together or against each other.
  • Mobile Development: Share your game on mobile platforms like iOS and Android.
  • Scripting Extensions: Use ready-made code to add extra powers to GML for specific jobs.

Learning these tools will not just make you faster at making games but also open up a world of creative ideas. Remember, GMS2 is always getting better, so keep an eye out for new tools and features. This way, your game-making skills will stay sharp, and your creative ideas will keep flowing without limits.

VII. Advanced Game Development Techniques

Now that you have a strong grasp of GMS2 and its features, let’s explore some advanced techniques that will boost your game development skills and let your creative ideas shine.

Object Interaction and AI:

Complex Collisions: Move beyond simple collisions and create custom shapes for more dynamic and realistic object interactions.

Object States and Animations: Make your game richer by giving objects different states and triggering special animations based on how they interact with others.

AI Development: Use scripting and smart algorithms to make enemies and characters in your game act intelligently, reacting realistically to the player and their surroundings.

Game State Management:

Level Design and Progression: Create levels that are interesting and challenging, with hidden secrets and a feeling of accomplishment as players progress.

Menus and User Interface: Make menus that are easy to use and look good, guiding players through the game smoothly.

Saving and Loading: Let players save their progress and continue their journey from specific points.

Advanced Scripting Techniques:

Data Structures: Use things like arrays and dictionaries to organize complex information in your game efficiently.

Custom Functions and Libraries: Make your own functions and libraries to make your development process smoother and keep your code neat.

Shaders and Custom Rendering: Go beyond the usual features and make your game look even cooler with custom shaders and advanced rendering.

Performance Optimization:

Memory Management: Make sure your game runs well by using memory effectively.

Code Optimization: Look at your code closely to find spots where it might slow down and make it work better.

Resource Optimization: Use things like images and textures in your game efficiently to make it load faster and take up less space.

Sharing Your Game with the World:

Exporting to Different Platforms: Share your game on various platforms like computers, phones, and game consoles to reach more players.

Online Distribution and Marketing: Use online stores and ways to tell people about your game to get more players interested.

Engaging with the Community: Connect with players who love your game by talking to them, getting feedback, and keeping your game updated.

Remember, getting good at these advanced techniques takes time and effort. Don’t let challenges stop you – think of them as chances to learn and get better. Keep trying new things, experimenting, and asking for feedback. As you keep practicing, you’ll be able to make amazing games that capture players’ attention and leave a lasting impression.

VIII. Conclusion

Great Job. You’ve completed this detailed guide on starting your journey with GameMaker Studio 2. Along the way, you’ve explored the basics of the software, grasped important scripting ideas, and uncovered advanced techniques to boost your game-making skills.

But guess what? This is just the start. As you keep trying new things, learning from others, and getting better, you’ll be surprised at the awesome games you can make using GMS2. Don’t stop being creative, and always aim to show your unique ideas to the world.

Don’t forget to check out the extra resources for more learning and connecting with the GameMaker community. Remember, becoming successful in game development is a trip, not a finish line. Enjoy every step, face the challenges, and keep making cool stuff.

10 FAQs about GameMaker Studio 2

1. What is GameMaker Studio 2?

GameMaker Studio 2 (GMS2) is a cool game-making tool for creating 2D games. It has an easy-to-use interface, tools to draw and code, and a scripting language called GML (GameMaker Language) to make your games awesome.

2. Is GMS2 free?

Yes, there’s a free version of GMS2. You can make games and share them on the web and Windows. But if you pay, you get extra stuff like putting your game on other platforms (macOS, Linux, iOS, Android, PlayStation 4), cooler tools, and playing games online.

3. Is GMS2 easy to learn?

GMS2 is good for beginners with its easy tools and dragging events. But getting really good at scripting and special features needs practice and time.

4. What type of games can I create with GMS2?

You can make all kinds of 2D games with GMS2. Simple ones like jumping games or puzzles, and even bigger ones like RPGs and games where you move sideways.

5. What resources are available to help me learn?

GMS2 has lots of helpful stuff:

  • Official Documentation: A big guide that tells you everything about GMS2.
  • Tutorials: Lots of lessons from basic to hard.
  • Community Forum: A friendly place where you can ask questions, share ideas, and get help.

6. Can I export my game to other platforms?

Yes, if you pay, you can put your game on many platforms like:

  • Desktop: Windows, macOS, Linux
  • Mobile: iOS, Android
  • Web: HTML5
  • Consoles: PlayStation 4

7. Can I create online multiplayer games?

Yes, if you pay, you can make games where people can play together online.

8. What are the limitations of GMS2?

GMS2 is awesome, but it has some limits:

  • Mostly for 2D games: Not great for 3D games.
  • Learning hard stuff takes time: Getting really good at scripting is tricky.
  • Smaller community: Not as many people use GMS2 compared to some other game tools.

9. What are some alternatives to GMS2?

Other game-making tools you can try are:

  • Unity: Good for both 2D and 3D games.
  • Unreal Engine: Used for big, fancy games.
  • Construct 3: Easy to use for 2D games.
  • Godot: Free and open-source with a growing community.

10. Where can I download GMS2?

You can get GMS2 from their official website:

Remember, to be awesome at making games, you need passion, practice, and a love for learning. GMS2 is a fun tool to make your game ideas real. So, get the tool, play with it, and start your cool journey as a game maker.

Read More

Unity Games : What’s New In the Market ?