Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Haxe Game Development Essentials
  • Table Of Contents Toc
Haxe Game Development Essentials

Haxe Game Development Essentials

By : Jeremy McCurdy
3.5 (2)
close
close
Haxe Game Development Essentials

Haxe Game Development Essentials

3.5 (2)
By: Jeremy McCurdy

Overview of this book

Haxe is a powerful and high-level multi-platform language that's incredibly easy to learn. Used by thousands of developers and many high-profile companies, Haxe is quickly emerging as a forerunner in the area of cross-platform programming. OpenFL builds on top of Haxe to make developing for multiple platforms quick and painless. HaxeFlixel provides you with the tools you need to build amazing 2D games easier than ever before. Cross-platform development has been supercharged using the Haxe programming language, making it increasingly easy and hassle-free to develop multi-platform games. If you've programmed games before and want to learn out how to deliver games across multiple platforms, or develop games faster, then Haxe Game Development Essentials is the book for you. It starts by showing you how to set up your development environment, then running you through some Haxe language fundamentals, and finally taking you through the process of programming a game from start to finish. You will learn how to create a side scrolling shooter game using HaxeFlixel. Next you will learn to enhance the game with new gameplay features, user interfaces, animations, sound, and configuration files to make your game expandable. Once your game is built and ready, you will learn how to deploy it to web, Android, iOS, and desktop systems. By the end of this book, you will be confident about creating multi-platform games using Haxe, OpenFL, and HaxeFlixel in a faster and easier way.
Table of Contents (10 chapters)
close
close
9
Index

Chapter 3. Dealing with Menus and Screen Flow

In this chapter, we'll add the UI and screen flow for our game. We'll start by building the splash screen that will appear when the game first loads, then we'll revisit the level end screen and make it look cooler. Finally, we'll update our in-game heads-up display (HUD).

Throughout the chapter, we'll also use some cool HaxeFlixel features that will easily make our UI feel more exciting.

Here's a rundown of the sections in this chapter:

  • Project updates
  • Building the splash screen
  • Updating the level end screen
  • Adding the new game HUD
  • Adding the HUD to the game
  • Project updates

To start, we'll update our project by adding the new art assets and changing our default FlxState class.

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Haxe Game Development Essentials
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon