To run project on Android device you need to install the GiderosAndroidPlayer.apk (comes with the installation) on your device. You need to be an approved Apple Developer for iOS and need to install the XCode with iOS SDK. To run project on IOS device you need to build and install the GiderosiOSPlayer XCode project (GiderosiOSPlayer.zip) comes with the installation. Stage:addEventListener(Event.ENTER_FRAME, onEnterFrame)Īfter pressing start, you’ll have a nice ball moving around and bouncing from Local ball = Bitmap.new(Texture.new("ball.png")) Select “Add Existing Files…” to add your image files to the project.Īnd then write the code below: local background = Bitmap.new(Texture.new("field.png")) Then, right click the project name at Library and Now let’s add some images to our asset library. Now you see the output of your project at the “Output” panel. Press start button (or select “Player→Start” from main menu) to run the project: Your code and assets and then run the project. This means “Gideros Studio” connects to “Gideros Player” and ready to upload Now select “Player→Start Local Player” to start Gideros Player.Īfter “Gideros Player” opens, the start and stop icons become enabled. In “Gideos Player” and print “Hello Ball” to the console. Now double-click a and write print("Hello Ball")Īt the first part of this tutorial, we just want to run our code Right click the project name at Library and select “Add New File…” to add Here is our development environment where you create/manage assets and run Then create a new project from “File→New Project” menu. In general the staff at Gideros are much more responsive to the needs of users than on Corona.First open Gideros Studio. On Gideros your project is exported into an Android project which you can alter (eg the manifest.xml file) giving control over details like this. Devs repeatedly asked for flexibility on this (it was a very serious issue, people were very upset) but various excuses were given and nothing changed. Short of decompiling the APK there's nothing you can do about this and it's lead some games to get 1-star ratings at the hands of people (admittedly trolls) who fear spyware. Every Corona game ships with internet access even if the app doesn't need it. If you've looked at the Corona forums you know there has been a huge controversy about Android permissions. Vector drawing is much better: on Gideros, you can draw filled polygons which is not possible on Corona, for example (an omission that continues to astonish me!)Īlso, there is more flexibility. Gideros is also much more feature complete, containing a full implementation of Box2D for example (also, Box2D runs better: Corona Box2D objects sometimes "jerk" after creation causing stacks of blocks to collapse unpredictably, not good for level design!). I've never seen a crash or bug on Gideros - a remarkable achievement! When I worked on Corona, the simulator would crash multiple times each day. Corona contains numerous bugs which never get fixed. I have also migrated from Corona to Gideros and one major difference is that Gideros is MUCH more stable. I hope this helps you make the right choice. For example, here is a tutorial I wrote on bringing up a native activity spinner.ĥ) Gideros has a less expensive license than C*SDK. This gives you access to Objective C from Lua and so opens up the ability to get access to most of the Cocoa library with little effort. I believe Android plugins are somewhat trickier to set up but they are still possible (see this tutorial)Ĥ) If you are using iOS only there is a generic plugin that I have been working on based on the Wax library by Corey Johnson. Regardless of whether you are programming for iOS or Android, the ability to write a plugin to get yourself out of a hole is very compelling. Plugins generally reduce your exposure to risk. I believe in Corona you can get a plugin extension capability but only with an expensive licence. You can do classes in Corona using a third party library but, because it is optional, a lot of the code you find scattered around in blogs will not be compatible.ģ) Gideros has a plugin system included. This has sped up my own work no end.Ģ) Classes are built-in to the Gideros SDK. In Gideros you can compile and test on a real device in 1 second. This is slow and means you end up using a simulator which isn't exactly the same. The things that brought me here were:ġ) Corona needs a server connection to build for a device. Gideros provides a number of advantages over C*SDK.
0 Comments
Leave a Reply. |