HOME > Development > Create a Game in FlutterDart

Create a Game in FlutterDart

  • Development
  • Dec 20, 2024
SynopsisCreate a Game in Flutter/Dart, available at $54.99, has an av...
Create a Game in FlutterDart  No.1

Create a Game in Flutter/Dart, available at $54.99, has an average rating of 3.5, with 135 lectures, 1 quizzes, based on 14 reviews, and has 142 subscribers.

You will learn about How to develop in Flutter and Dart. How to develop a WiFi connected game in Flutter/Dart. This course is ideal for individuals who are Beginner to more experienced developers interested in creating a game. It is particularly useful for Beginner to more experienced developers interested in creating a game.

Enroll now: Create a Game in Flutter/Dart

Summary

Title: Create a Game in Flutter/Dart

Price: $54.99

Average Rating: 3.5

Number of Lectures: 135

Number of Quizzes: 1

Number of Published Lectures: 135

Number of Published Quizzes: 1

Number of Curriculum Items: 136

Number of Published Curriculum Objects: 136

Original Price: $89.99

Quality Status: approved

Status: Live

What You Will Learn

  • How to develop in Flutter and Dart.
  • How to develop a WiFi connected game in Flutter/Dart.
  • Who Should Attend

  • Beginner to more experienced developers interested in creating a game.
  • Target Audiences

  • Beginner to more experienced developers interested in creating a game.
  • In this course you will learn how to create a 2 player WiFi connected mobile game using Flutter and Dart. While learning how to create the game, you will learn a lot about Flutter and Dart.

    Movement in the game will be controlled by sensor input. Accelerometer input to be exact.

    Only minimal programming knowledge is required, like knowing what variables and functions and classes are. We won’t waste much time on history, installation and other boring topics, and we’ll try to stick to the fun, interesting and cool stuff.

    In this course we will go through everything that is needed to create this game. The course will be divided into the following sections:

  • Introduction and Background

  • Conception and Preparation

  • Create and Add the Images

  • Creating the Game objects

  • Test Version of the Game

  • Single Player Version of the Game

  • Adding Sound

  • Connecting the Game

  • Scoring in the Game

  • The User Interface

  • Reviewing All the Code

  • Ideas for Improving the Game

  • We will start with a little bit of background. Then we’ll go through the idea of the game. Next we’ll get a better idea of what we want to achieve. En suite we’ll start coding a single player version of the game. Then we’ll add functionality for the second player and connect everything to WiFi. Finally, when the game is working as expected, it will be time for the user interface. First we’ll plan on what it should look like, and then we’ll just do it.

    During the course, we’ll spend most of our time coding. Everything will be explained and you will have access to all the code. You will also have access to a PDF file containing all the external links that we referred to in the course.

    Your feedback is very important to me in order to improve this course in the future. You will automatically have access to any new or improved future content – forever.

    If there is something that is not clear, please let me know, so that I can make a video explaining is. Because if something is not clear to you, chances are that it is not clear to someone else as well. And if you have any questions, feel free to contact me through the Udemy page.

    Course Curriculum

    Chapter 1: Introduction and Background

    Lecture 1: Long Introduction

    Lecture 2: Short Intro

    Lecture 3: Background

    Chapter 2: Section 2: Conception and Preparation

    Lecture 1: The Idea of the Game

    Lecture 2: Create a New Flutter Project

    Lecture 3: Add the Flame Package

    Chapter 3: Create and Add the Images

    Lecture 1: Create the Ball Image

    Lecture 2: Create the Pad Image

    Lecture 3: Add the Images to the Project

    Chapter 4: Creating the Game Objects

    Lecture 1: The Ball Class 1

    Lecture 2: The Ball Class 2

    Lecture 3: The Pad Class 1

    Lecture 4: The Pad Class 2

    Lecture 5: The Pad Class 3

    Lecture 6: The Pad2 Class 1

    Lecture 7: The Pad2 Class 2

    Lecture 8: The Pad2 Class 3

    Chapter 5: Test Version of the Game

    Lecture 1: The Test Game Class

    Lecture 2: The Test Main Method

    Lecture 3: Run the Test Version on an AVD

    Lecture 4: Run the Test Verion on a Real Device

    Chapter 6: Single Player Version of the Game

    Lecture 1: Add Some Properties

    Lecture 2: Add Sensors Package

    Lecture 3: Add Constants

    Lecture 4: Determine Screen Size

    Lecture 5: _init() Method

    Lecture 6: resize() Method

    Lecture 7: render() Method

    Lecture 8: _drawBackground Method

    Lecture 9: update() Method

    Lecture 10: _movePad() Method

    Lecture 11: bounce() Method 1

    Lecture 12: bounce() Method 2

    Lecture 13: Testing 1

    Lecture 14: Testing 2

    Chapter 7: Adding Sound

    Lecture 1: Adding Sound 1

    Lecture 2: Adding Sound 2

    Lecture 3: Adding Sound 3

    Chapter 8: Connecting the Game

    Lecture 1: Add Constants

    Lecture 2: Udp Class

    Lecture 3: Udp Class – initData()

    Lecture 4: Udp Class – sendData()

    Lecture 5: main.dart

    Lecture 6: game.dart

    Lecture 7: game.dart – _bounce()

    Lecture 8: game.dart – _sendData()

    Lecture 9: game.dart – _processData()

    Lecture 10: game.dart – _setPosData()

    Lecture 11: Fixing Problems – main, pad2, udp

    Lecture 12: Fixing Problems – consts.dart

    Lecture 13: Fixing Problems – game.dart

    Lecture 14: Fixing Problems – game.dart – _playSoundClient() 1

    Lecture 15: Fixing Problems – game.dart – _playSoundClient() 2

    Lecture 16: A Few Optimizations – consts.dart

    Lecture 17: Run on Server and Client

    Lecture 18: Check Server and Client

    Chapter 9: Scoring in the Game

    Lecture 1: consts.dart

    Lecture 2: txtBox.dart

    Lecture 3: game.dart

    Lecture 4: game.dart – _placeText()

    Lecture 5: game.dart – getScoreText()

    Lecture 6: game.dart – _checkScore()

    Lecture 7: game.dart – _processScore()

    Lecture 8: game.dart – other

    Lecture 9: udp.dart

    Lecture 10: udp.dart – initScoring()

    Lecture 11: udp.dart – sendScore()

    Chapter 10: The User Interface

    Lecture 1: Intro

    Lecture 2: main.dart – App Class

    Lecture 3: HomePage Class

    Lecture 4: _HomePageState Class

    Lecture 5: _HomePageState Class – build() 1

    Lecture 6: consts.dart

    Lecture 7: _HomePageState Class – build() 2

    Lecture 8: _HomePageState Class – build() 3

    Lecture 9: _HomePageState Class – build() 4

    Lecture 10: _HomePageState Class – build() 5

    Lecture 11: _HomePageState Class – build() 6

    Lecture 12: _HomePageState Class – build() 7

    Lecture 13: _HomePageState Class – build() 8

    Lecture 14: _HomePageState Class – build() 9

    Lecture 15: _HomePageState Class – showMessage()

    Lecture 16: _HomePageState Class – showMessages()

    Lecture 17: _HomePageState Class – changeColor()

    Lecture 18: _HomePageState Class – showScore()

    Lecture 19: _HomePageState Class – dispose()

    Lecture 20: Udp Class

    Lecture 21: Udp Class – initMessaging()

    Lecture 22: Udp Class – sendMessage()

    Instructors

  • Create a Game in FlutterDart  No.2
    Hennie Reyneke
    Electronics Engineer who fell in love with Flutter and Dart
  • Rating Distribution

  • 1 stars: 2 votes
  • 2 stars: 1 votes
  • 3 stars: 3 votes
  • 4 stars: 2 votes
  • 5 stars: 6 votes
  • Frequently Asked Questions

    How long do I have access to the course materials?

    You can view and review the lecture materials indefinitely, like an on-demand channel.

    Can I take my courses with me wherever I go?

    Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!