Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Master Godot 4 Mobile Game Dev by Building a 2048 Clone
Rating: 4.8 out of 5(12 ratings)
86 students

Master Godot 4 Mobile Game Dev by Building a 2048 Clone

Create a fun and addictive 2048 game from scratch! Scripting, Animations, Touch Input, Sound effects, and More!
Created byRafael Abreu
Last updated 1/2025
English

What you'll learn

  • Understand the core functionalities of the Godot engine
  • Implement swipe controls using touch input
  • Build a grid system to organize your game board
  • Animate tile movements and mergers for a polished look
  • Integrate sound effects to enhance the gameplay experience
  • Clarity and Simplicity: Instead of overwhelming you with unnecessary complexity, I’ll show you straightforward approaches to solving problems
  • Freedom to Experiment: Unlike rigid paradigms, this course encourages a flexible and adaptable style, where you make the rules that suit your projects best
  • Core Game Programming Concepts: Master topics like animations, input handling, and logic implementation in ways that are intuitive and empowering
  • A Focus on Understanding: Learn why things work, not just how to make them work, giving you the confidence to apply these skills anywhere

Course content

9 sections46 lectures3h 10m total length
  • Read Me Before Enrolling1:54
  • How to Download Godot and Create Your First Project1:42

    Download the Godot engine from godotengine.org, extract the zip, rename the folder to Godot, create a mobile project by setting the path on Godot layout, and click create & edit.

  • Learning the Layout of the Godot Engine2:34

    Master the Godot 4 engine basics by exploring the 2D workflow, scene inspector, and essential tools, then create an object and manipulate its properties with code.

  • Game objects, Nodes, and Sprites3:41

    Explore how to create game objects in Godot 4 by building a scene tree of nodes, add a Sprite2D with a texture, and inspect properties to script behavior.

  • Writing and Managing Scripts in Godot3:12

    Learn to create and attach scripts in Godot using GDScript to manipulate nodes, link scripts to sprites, save scenes, and preview basic movement and animation.

  • Understanding the 'extends' Keyword in Godot5:22

    Explore the extends keyword in Godot to inherit from Node, Node2D, and Sprite2D, accessing their Transform and Vector2 position to set x and y in pixels.

  • Animating Objects with Scripts in Godot3:03

    Animate objects in Godot with scripts by converting degrees to radians using deg_to_rad and correcting inverted y-axis. Drive motion with delta in _process using sine to create a circle path.

  • How to Animate Objects in a Circular Path2:53

    Learn to animate a game object in a circle in Godot 4, using cosine for x and sine for y, and organize code with an animate_object function and clear comments.

  • Animating the Rotation of Nodes in Godot2:45

    Create a time-based node rotation in Godot with a GDScript function animate_object_rotation, using tab indentation and radians (2*PI) for a one-second loop, with left-right or sin/cos options and a radius.

  • Exporting Variables to Control their Values from the Editor3:22

    Expose radius and seconds to the editor with @export, so multiple objects can share the same script yet hold distinct values, controlled via the inspector and editor interface.

Requirements

  • A computer capable of running the Godot game engine
  • Basic familiarity with computers and software installation
  • Basic familiarity with programming concepts like variables, functions and loops
  • Basic high school level math

Description

Unleash your game development skills with Godot by creating a fun and addictive 2048 game from scratch!


Here's what you can expect:

  1. Lay the foundation to become a Godot Game Dev Master: This course is your comprehensive guide to mastering Godot, a powerful and free game engine. Through step-by-step lectures and hands-on exercises, you'll conquer essential concepts like scripting, animation, touch input, and more.

  2. Unlock Your Game Creation Potential: Even if you're a complete beginner with no prior coding experience, this course welcomes you! We'll leverage the familiar 2048 game as a springboard, not aiming for a perfect replica. Instead, the focus is on building a rock-solid foundation in Godot's core functionalities. By the end, you'll have the skills and confidence to create captivating games that go beyond 2048!

  3. By the end of this course: You'll have a functional 2048 game built with Godot and the skills to create even more exciting games in the future!

Here's what you'll learn:

  • Download and set up Godot for game development.

  • Understand the core functionalities of the Godot engine.

  • Script objects, nodes, and sprites to control game mechanics.

  • Implement swipe controls using touch input.

  • Build a grid system to organize your game board.

  • Create tile prefabs and manage their movement on the grid.

  • Animate tile movements and mergers for a polished look.

  • Implement core game mechanics like random tile spawning, merging logic, and animations.

  • Integrate sound effects to enhance the gameplay experience.

  • Organize your project for efficient development.

Who this course is for:

  • Beginners who want to dive into game development without feeling overwhelmed
  • Those interested in learning Godot and GDScript programming
  • Curious minds that prioritize freedom in their coding style and clarity in understanding concepts
  • Aspiring developers who are ready to explore practical, hands-on techniques instead of strictly adhering to rigid paradigms like OOP