Corona SDK Hello World tutorial

January 27th, 2012 No Comments »

Hello, as most of you know, each first tutorial in a new language or program is the Hello World program.

First of all, support us by installing our free app : 3Rocks

Also in this tutorial I will guide you on downloading and installing Corona SDK and also creating your first script, this tutorial is created on a mac, but all the steps are the same for windows.

1. Go to this URL and enter your data, then download Corona SDK.

2. Go to the samples directory and duplicate one of the folders, i duplicated the sprites/junglescene folder, than rename the folder, i renamed mine to “empty project”.

3. Now go into the folder and delete some of the files, i selected the files which you need to delete :

4. We now need an “Hello World” image to use, you can use mine, save it in your project folder :

Right now you should have this files in your project directory :

5. If everything it’s ok, open the main.lua file and remove everything from it.

6. Add this (assuming that you saved the image i provided) :

local image = display.newImage(“h.jpg”);

7. Open the corona simulator, and navigate to your project, select the main.lua file and load it.

Success !!! is that easy !

Create a game, for the absolute beginner

January 20th, 2012 No Comments »

Hey, you, reader, ever wanted to create a great game, you had a brilliant game idea, but you ware unable to create it ? Well is both easy and complicated, if you have any programming experience than it’s really easy.

Here are some tools you may find very very use full :

Corona SDK -  create games for mobile platforms (iPhone, iPad, Android)

Love2d – Create games for desktop computer (windows, linux, osx)

Unity3D – Create 3D games for mobile and desktop, requires at least some average programming skills and game concepts knowledge.

With both of those you can create 2d games very easy, both of them use LUA scripting language, it’s very easy to learn and understand.

Usually in a game project there are 3 types of people involved :

  • game designer – creates the game idea and concepts, usually he is also the team leader
  • asset designer – creates all the graphics needed by the game
  • programmer – actually creates the game

If you are really good and passionate you can play all the 3 roles, but you have to be aware that all of those take a lot of time.

Take a look at may newest game : 3Rocks for Android it’s built with CoronaSDK and will soon be published for iPhone too.

If you have a great game idea and you are not able to create it, please don’t hesitate to send me an email, you can find my address on the about section of the app 3Rocks for Android.

I’ll soon start to post some tutorials about mobile games development with CoronaSDK and Unity3d so… bookmark my blog or subscribe to the RSS to make sure you don’t miss them