LibGDX játék fejlesztése és publikálása Google Play-en. Vörös Viktor, NNG



Similar documents
Introduction to Android

Developing Applications for ios

Beginning Android 4. Games Development. Mario Zechner. Robert Green

Full version is >>> HERE <<<

01. Introduction of Android

Additional details >>> HERE <<<

Mobile Phones Operating Systems

Generate Android App

Introduction to Android

1) SETUP ANDROID STUDIO

A little code goes a long way Cross-platform game development with Lua. Ivan Beliy, Software Engineer

Developing and deploying mobile apps

ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android

Issues in Android on Mobile Platform and Their Resolution

Praktikum Entwicklung Mediensysteme (für Master)

Mocean Android SDK Developer Guide

Graduate presentation for CSCI By Janakiram Vantipalli ( Janakiram.vantipalli@colorado.edu )

Fahim Uddin 1. Java SDK

Android Mobile App Building Tutorial

ipad, a revolutionary device - Apple

CS378 -Mobile Computing. Android Overview and Android Development Environment

A Practical Guide to creating, compiling and signing an Android Application using Processing for Android.

Università Degli Studi di Parma. Distributed Systems Group. Android Development. Lecture 1 Android SDK & Development Environment. Marco Picone

place/business fetch details, removefromfavorite () function, 189 search button handler bind, B BlackBerry build environment

More details >>> HERE <<<

How To Use Blackboard Collaborate Web Conferencing On A Computer Or Phone (For Students)

Advertising Specifications V2.0

STANDARD BANNER: Ad Specs

Mobile Game and App Development the Easy Way

Develop Computer Animation

How To Connect To Your Dvr On A Pc Or Mac (For A Dv) With A Dvr (For An Ipad) On A Dvd) On Pc Or Ipad (For Pc Or Pc) On An Ipa Or

Introduction to Android: Hello, Android! 26 Mar 2010 CMPT166 Dr. Sean Ho Trinity Western University

DEVELOPING MOBILE APPLICATIONS USING ANDROID

Developing Android Apps for BlackBerry 10. JAM854 Mike Zhou- Developer Evangelist, APAC Nov 30, 2012

REDCENTRIC UNITY SOFTWARE MINIMUM REQUIREMENTS

Operating Systems/Supported Browser Chart _

System Requirements for Online Testing

OpenCV on Android Platforms

App Development for Smart Devices. Lec #2: Android Tools, Building Applications, and Activities

ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android

WATTLE. Adobe Connect 9.4 Upgrade Key Differences. Author: Jo Jo Maung, Business Analyst, ITS Version: 1.3 Date: 16 September 2015.

Shazam In App Advertising TECHNICAL SPECIFICATIONS

Web Conferencing Version 8.3 Troubleshooting Guide

Jordan Jozwiak November 13, 2011

directory to "d:\myproject\android". Hereafter, I shall denote the android installed directory as

TECHNICAL SPECIFICATIONS

Introduction to Android Development. Ed Burnette

Game Programming with Groovy. James Sr. Software Engineer, BT/Ribbit

Android Development. Lecture AD 0 Android SDK & Development Environment. Università degli Studi di Parma. Mobile Application Development

Cross-Platform Game Development Best practices learned from Marmalade, Unreal, Unity, etc.

Minimum Requirements for Web Based Applications

AT&T Connect System Requirements for End Users v9.5. March 2013

CS 528 Mobile and Ubiquitous Computing Lecture 2: Android Introduction and Setup. Emmanuel Agu

ANDROID INTRODUCTION TO ANDROID

How To Develop Android On Your Computer Or Tablet Or Phone

By Global Delight. Voila Screen Capture For Mac 1

HTML5 An Introduction

QML and JavaScript for Native App Development

Table 1 summarizes the requirements for desktop computers running the Participant Application and the myat&t utility.

Discovering Computers

ONLINE ADVERTISING SPECIFICATIONS

Full version is >>> HERE <<<

Introduction to cross-platform mobile development with Appcelerator Titanium

Cross Platform Applications with IBM Worklight

Creating and Using Databases for Android Applications

SeeTec ExpansionPackage

Android Development Tutorial. Nikhil Yadav CSE40816/ Pervasive Health Fall 2011

Technical Specifications for Advertising

Development. SriSeshaa Technologies. Table of Contents

ECE 455/555 Embedded System Design. Android Programming. Wei Gao. Fall

Obj: Sec 1.0, to describe the relationship between hardware and software HW: Read p.2 9. Do Now: Name 3 parts of the computer.

ORGANIZER QUICK REFERENCE GUIDE. Install GoToMeeting. Schedule a Meeting. Start a Scheduled Meeting. Start an Instant Meeting.

Lecture 1 Introduction to Android

TUTORIALS AND QUIZ ANDROID APPLICATION SANDEEP REDDY PAKKER. B. Tech in Aurora's Engineering College, 2013 A REPORT

Tidspunkt : : :59 (49 dag(e)) Operativsystem (OS) fordelt på browsere Total: Safari9 ios %

Workshop on Android App Development Fundamentals

Технологии Java. Android: Введение. Кузнецов Андрей Николаевич. Санкт-Петербургский Государственный Политехнический Университет

Best practices building multi-platform apps. John Hasthorpe & Josh Venman

Full version is >>> HERE <<<

Android Setup Phase 2

Frameworks & Android. Programmeertechnieken, Tim Cocx

Getting Started. Version 3.1 Last updated 2014/3/10. Orbweb ME: Getting Started

Reminders. Lab opens from today. Many students want to use the extra I/O pins on

Android 4.4 App Development Essentials

Game Development in Android Disgruntled Rats LLC. Sean Godinez Brian Morgan Michael Boldischar

BogDan Vatra and Andy Gryc. Qt on Android: Is it right for you?

With a single download, the ADT Bundle includes everything you need to begin developing apps:

Android 5.0: Lollipop OS

Developing multidevice-apps using Apache Cordova and HTML5. Guadalajara Java User Group Guillermo Muñoz Java Developer

PD 360 Training. Getting Started Series. PD 360 Essentials (Distance Learning) PD 360 Essentials. School Leadership and PD 360

Acquire Video Wall. Revolutionising digital interaction.

Trepn plug-in for Eclipse FAQ

BYOD Mobile Device Chart

Geo-Scale Data Visualization in a Web Browser. Patrick Cozzi pcozzi@agi.com

Issues of Hybrid Mobile Application Development with PhoneGap: a Case Study of Insurance Mobile Application

Transcription:

LibGDX játék fejlesztése és publikálása Google Play-en Vörös Viktor, NNG

Outline 1. Cross-platform játékfejlesztés LibGDX használatával 2. Kihívások a. különböző képernyőméretek kezelése b. irányítás c. animációk d. hangok 3. Google Play a. applikáció publikálása b. reklámbannerek c. Google Play Games szolgáltatások

Development tools Java SDK (7+ for Android 5.0+) Android SDK Eclipse + ADT plugin / Android Studio

Supporting Different Platform Versions

Supporting Multiple Screens

Various Screen Resolutions

Top 10 most popular phones (2013) LG G3 1440 2560 QHD Nexus 5 1080 1920 FHD Galaxy S5 1080 1920 FHD Galaxy S4 1080 1920 FHD Galaxy Note 3 1080 1920 FHD HTC One M8 1080 1920 FHD HTC One M7 1080 1920 FHD Galaxy S3 720 1280 WXGA Moto X 720 1280 WXGA Galaxy Note 800 1280 WXGA Nexus 4 768 1280 WXGA

Top 10 most popular phones (2013) LG G3 360 640 QHD 16:9 Nexus 5 360 640 FHD 16:9 Galaxy S5 360 640 FHD 16:9 Galaxy S4 360 640 FHD 16:9 Galaxy Note 3 360 640 FHD 16:9 HTC One M8 360 640 FHD 16:9 HTC One M7 360 640 FHD 16:9 Galaxy S3 360 640 WXGA 16:9 Moto X 360 640 WXGA 16:9 Galaxy Note 400 640 WXGA 16:10 Nexus 4 384 640 WXGA 15:9

Features Cross-Platform Windows Linux Mac OS X Android (2.2+) BlackBerry ios Java Applet (requires JVM to be installed) Javascript/WebGL (Chrome, Safari, Opera, Firefox, IE via Google Chrome Frame)

Features Audio (wav, mp3, ogg) Input Handling (mouse, touch-screen, keyboard, accelerometer, compass) Math & Physics (matrix, vector, bounding shapes, splines, common interpolators,concave polygon triangulator, intersection and overlapping testing,...) File I/O & Storage Graphics (custom OpenGL ES 2.0 bindings, low-level OpenGL helpers, high-level 2D and 3D APIs Utilities (Json, XML)

LibGDX project setup https://libgdx.badlogicgames.com/ gdx-setup.jar

LibGDX project setup https://libgdx.badlogicgames.com/ gdx-setup.jar

LibGDX project structure

Starter classes

The application life cycle

ApplicationListener interface

Game abstract class Provides an implementation of ApplicationListener, along with some helper methods to set and handle Screen rendering Together, Screen and Game objects are used to create a simple and powerful structure for games A Game object will be the entry point to the game

Game class - entry point to the game

Screen interface Screens are fundamental to any game with multiple components Screens contain many of the methods you are used to from ApplicationListener objects, and include a couple of new methods: show and hide, which are called when the Screen gains or loses focus, respectively

Screen class implementation

Rendering shapes

Managing assets - AssetManager

Texture

Input handling Different platforms have different input facilities On the desktop: keyboard and mouse On Android, the mouse is replaced with a (capacitive) touch screen, and a hardware keyboard is often missing. Android devices also could feature an accelerometer, compass,... Libgdx abstracts all these different input devices. Mouse and touch screens are treated as being the same

Querying Available Input Devices

Polling the Touch Screen

Listener interface - InputProcessor

Audio LibGDX provides methods to playback small sound effects LibGDX can stream larger music pieces directly from disk It also provides convenient read and write access to the audio hardware LibGDX will automatically pause and resume all audio playback for you if your application is paused and resumed

Sound effects Sound effects are small audio samples, usually no longer than a few seconds, that are played back on specific game events such as a jumping or shooting a gun Libgdx supports MP3, OGG and WAV files

Create sound effects http://www.superflashbros.net/as3sfxr/

Streaming music For any sound that's longer than a few seconds it is preferable to stream it from disk instead of fully loading it into RAM Music instances are heavy, you should usually not have more than one or two at most loaded

http://exonmusic.hu/

Animation

Universal Tween Engine features Enables the interpolation of every attributes from any object One line is sufficient to create and start a simple interpolation Tweens can be easily sequenced thanks to Timelines Tweens can act on more than one value at a time, so a single tween can change the whole position (X and Y) of a sprite for instance Tweens and Timelines can be repeated Many callbacks can be specified (when tweens complete, start, end, etc)

Tween and its callbacks

Tween code

Tween demo http://www.aurelienribon.com/universal-tween-engine/gwt/demo.html

How to put your app in Google Play Register for Google Play at the Google Play publisher site (There is a $25 USD charge to register) If you want to sell your apps, instead of offering them for free with ads, you also need to set up a Google Wallet Merchant account. (Turn ads off when selling your app on Google Play) Prepare to publish

Prepare to publish Your final application file (APK) must be under 50MB in size The title for your app should be max 30 characters A description of your app should be max 4000 characters App launcher icons (48x48, 72x72, 96x96, 144x144) High-res icon (512x512 32-bit PNG with alpha) Feature graphic (1024x500 JPG or 24-bit PNG no alpha) At least 2 screenshots are required (max 8, JPEG or 24-bit PNG no alpha) - Min length for any side: 320px. Max length for any side: 3840px

Nibly Snake https://play.google.com/store/apps/details?id= com.vvgames.niblysnake.android

Ads Use Google Play Services SDK Update AndroidManifest.xml - Add two <uses-permission> tags for INTERNET and ACCESS_NETWORK_STATE - Add a <meta-data> tag that references the Google Play services version - Add an <activity> element with configchanges and theme attributes. This activity is used by the SDK when banners are clicked or interstitials are presented

Play Games Services Achievements Leaderboards Real-time Multiplayer Turn-based Multiplayer Events and Quests Saved games