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 Monkey Game Development: Beginner's Guide
  • Table Of Contents Toc
Monkey Game Development: Beginner's Guide

Monkey Game Development: Beginner's Guide

By : Michael Hartlef
4.5 (8)
close
close
Monkey Game Development: Beginner's Guide

Monkey Game Development: Beginner's Guide

4.5 (8)
By: Michael Hartlef

Overview of this book

Monkey is a programming language and toolset that allows its user to develop modern 2D games easily for mobile and other platforms like iOS, Android, HTML5, FLASH, OSX, Windows and XNA. With Monkey you can create best selling games in a matter of weeks, instead of months.Monkey Game Development Beginner's Guide provides easy-to-follow step by step instructions on how to create eight different 2D games and how to deploy them to various platforms and markets. Learning about the structure of Monkey and how everything works together you will quickly create eight classical games and publish them to the modern app markets. Throughout the book you will learn important game development techniques like collision detection, handling player input with mouse, keyboard or touch events and creating challenging computer AI. The author explains how to emit particle effects, play sound and music files, use sprite sheets, load or save high-score tables and handle different device resolutions. Finally you will learn how to monetize your games so you can generate revenue.
Table of Contents (16 chapters)
close
close
Monkey Game Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
3
Game #2, Rocket Commander
4
Game #3, CometCrusher
5
Game #4, Chain Reaction
6
Game #5, Balls Out!
8
Game #7, Air Dogs 1942
9
Game #8, Treasure Chest

Chapter 1. Monkey—Huh?

Monkey is a high-level programming language developed by Mark Sibly, the creator of the very popular Blitz Basic range of programming languages. If you happen to know Blitz Basic, Blitz3D, or BlitzMax, then you know where Monkey is coming from. Its main purpose is to provide you with a helpful tool to create 2D games, but of course, if you are creative, you will be able to create other kinds of apps and programs with it, too. For example, interactive books could a very good playing field for Monkey.

The Monkey programming language is strongly inspired by BASIC and JAVA. BASIC, in particular, is known to be a beginner's programming language. So naturally, Monkey is easy to learn and you can get up and running very fast; just as with most of the BASIC dialects. But it doesn't have to stop there. Monkey is also very extendable through third-party, or your own, Monkey source code and also native code running on each platform.

In this chapter, we will learn what Monkey is in general, how the toolset behind it works, and what kind of general features Monkey provides you with. We won't go into these things in great detail, but just give an overview. We also will have some playtime with games that were created with Monkey. So, if you happen to know all this already, it is safe for you to skip this little chapter and head right on to Chapter 2, Getting to Know Your Monkey—a Trip to the Zoo. If not, then keep on reading and you will learn a little about Monkey's background.

Game development for the rest of us

Since you are reading this book, we can safely assume that you have got the bug that makes a lot of people want to become a great and successful game developer. We have all played these awesome games and read stories about individuals who became wealthy overnight by selling their games on markets such as the Apple AppStore. And you want that too, right? We all do, and there is nothing wrong with that. Go for it! The way to get there was very difficult and long, in the past. For example, not long ago, learning Objective-C and using Xcode was the only way to create a game for the iPhone. Objective-C is not easy to learn if you are a complete beginner when it comes to programming. And a lot of people will tell you to study C and C++ in general before you head into Objective-C. Some people will tell you to study the BASIC language at first. You can imagine that it will take some time to study all this, never mind studying the techniques that are relevant to game development!

Now, with Monkey and various other game creation tools, this process has become much easier and quicker than before. A programming language that is based on a BASIC dialect is easy to learn and the features of Monkey will help you bring your dream of becoming a game developer to life.

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.
Monkey Game Development: Beginner's Guide
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