TyranoBuilder Visual Novel Studio

TyranoBuilder Visual Novel Studio

Evaluări insuficiente
Create an iOS app with PhoneGap (English)
De către Earl Grey
An English translation of AbyssalSoul's guide
   
Premiază
Adaugă la preferate
Preferat
Elimină din preferate
English Translation of AbyssalSoul's Guide
Create an iOS app with PhoneGap
In this section we will see how to convert a game made with TyranoBuilder in an iOS app . This requires the use of a non-free program but , you see , does not require too much technical knowledge.

Almost anyone can create an application for iPhone or iPad using the steps outlined below .

The first thing you need to create an app for iOS is

· A computer running MacOS

Yes, unfortunately Windows can not create applications for iPhone. If you have a PC with MacOS, try to borrow a MacBook or get a Mac Mini. (Prices may vary greatly from country to country , please keep this in mind . )

Once you have a PC with MacOS to work , follow the steps below.

Install Xcode
You need to install on your Mac the latest version of this software development called Xcode. To find and install it, open the AppStore and search for "xcode" then follow the instructions to install it.

Install PhoneGap
The next tool you'll need is an application called PhoneGap, available on its official website: http://phonegap.com
At time of writing this guide, the latest version of PhoneGap is v3.3, so the guide is based on that version.

Install NodeJS
To use PhoneGap, you will need to install NodeJS.
You can download the program through the following link:
http://nodejs.org
Click Install, located on the top right of the site to download NodeJS and then follow the installation instructions.

Now we have everything you need to prepare our application!

First create a new folder for the application in a convenient location, such as the Desktop. We will call this folder "iphone".

Drag and drop the folder created the black icon in the toolbar.

This will open a window with a completely black console.

Write and execute the following commands in sequence within the console:
(You can copy and paste commands from the tutorial and use the Enter / Enter to execute key.)

Installing PhoneGap:

sudo npm install -g phonegap

Create an app (called 'myapp'):

phonegap create myapp com.myapp "myapp"
cd myapp
phonegap plugin add org.apache.cordova.media

Then prepare the folder with the project TyranoBuilder. Copy all files exported from your project folder iphone / myapp / www /

We're almost there! Just need a little step.

Return to the console window and type the following:

build phonegap ios

This will create a myapp / platforms file / ios / myqpp.xcodeproj

Go ahead, run this file and Xcode opens.

Confirm the type of hardware (eg iPhone Retina) on the top left of the screen and then press the button "Play".

How did it go? Does the game start?

And that's all you need to prepare an application for iPhone!




Protips !
Use the options "Deployment Info" (Information for use) if you want to lock the screen rotation for your game. You can also control functions such as clock or battery level indicator through these options.

The screens of smartphones today are not all equal and , according to the resolution of your game, might appear black edges . To ignore the aspect ratio and use the whole screen for your game, use a text editor to open the file in your project /system/Config.tjs of TyranoBuilder and performs the following change:

Change ; ScreenRatio = fix ; to ; ScreenRatio = fit ;

For now we conclude with this guide but there are many sites that provide instructions on how to use the application on your own mobile device or how to prepare itself and sell your game through the AppStore.
1 comentarii
duanesters 18 ian. 2016 la 2:18 
I had completed all steps and have the phonegap device is ready logo on my iOS Simulator. My novel didn't pop up was there a step I am missing?