Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Gideros Mobile Game Development

You're reading from  Gideros Mobile Game Development

Product type Book
Published in Nov 2013
Publisher Packt
ISBN-13 9781849696708
Pages 154 pages
Edition 1st Edition
Languages
Author (1):
Arturs Sosins Arturs Sosins
Profile icon Arturs Sosins

Table of Contents (12) Chapters

Gideros Mobile Game Development
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Setting Up the Environment 2. Managing Scenes and Gideros OOP 3. Implementing Game Logic 4. Polishing the Game Index

Improving gameplay


There are a lot of ways to improve the player experience, starting from the gameplay of the game logic itself to polishing the interface of the rest of the game scenes. It was difficult to decide what exactly to include showing some cool improvements. So, I decided to make one improvement to the pack selection. This improvement will allow switching between packs using swipe gesture. And there are also other improvements to show you how to implement the key element of Mashballs game, controlling main ball using touch input in a magnet-like style..

Changing level packs by using the swipe gesture

Currently we can only switch the packs by clicking on the corresponding button. But for most of the mobile users, it might seem pretty natural to switch these kinds of screens by swiping their finger to the left or right direction. Let's implement this for user's convenience.

Starting with MouseDown

Let's start with a handle for the MOUSE_DOWN event. Inside it we will set the self.isFocus...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}