Mobile development with Gideros Studio. Part 0

Welcome all!

I will share with you the experience of creating the simplest 2D game using Gideros Studio (approx. Next GS), a
development environment for multi-platform multimedia applications for iOS and Android.

Features:
- Low entry threshold
- LUA development language
- Good help
- ARMv6 + support
- Excellent speed (higher than Corona SDK)
- Focusing on game logic development
- Scripting logic is similar to ActionScript (note Flash developers are attracted)
- OpenGL, OpenAL, Box2D

Licensing conditions (approx. Annual subscriptions):
- Community: free version, differs by 2 seconds splashscreen when you start your application
- Indie: no splashscreen
- Professional: it is necessary to purchase if the annual income is above $ 100,000.

It includes 4 tools:
- Studio : IDE for development
- Player : a set of applications for launching and debugging
- TexturePacker : packer of sprites and textures in atlases (approx.
Is needed for optimization) - FontCreator : creating raster fonts for your application from * .ttf, *. Otf, *. Ttc

All utilities are also multi-platform and will run on the following OSs:
- Windows
- OSX (64bit)
- Linux (Wine)

To create a full-fledged Android project, you will need :
- Any OS
- Eclipse
- Android SDK (2.1+)
- JDK

For iOS:
- OSX (64bit)
- Xcode

All actions in this series of articles will occur on Windows, debugging will occur both on the local machine and on the Android device. So, let's begin!

Launch Gideros Studio. Create a new project: File-> New Project
image

Right-click and add a new file: Add New File ...
image

Name it main.
image

Double-click on main.lua and write:
print (“Hello Ball”)
(note the print command is very useful during testing and debugging)

Let's launch Gideros Player to understand how the application is executed.
Press the joystick button on the toolbar, with this action you launched on Player.
Using the play button, you run your LUA code.
image
image

Look at the Output field in our IDE.
image

To summarize, friends. In this part, you familiarized yourself with the GS toolkit, gained basic IDE skills, wrote your first line of code.

In the next article, we will look at programming in this environment and testing on an Android device in much more detail.

UPD: The first part of the article will be delayed.

Also popular now: