TUTORIAL FOR BUILD AND START GAME EDITOR GAME ON YOUR IPHONE

Learn how to make certain types of games and use gameEditor.

TUTORIAL FOR BUILD AND START GAME EDITOR GAME ON YOUR IPHONE

Postby alexandrefredenucci » Wed Aug 25, 2010 8:56 am

Hi all !

I hope my tutorial will help someone ^^

I use iPhone SDK 3.1.3 with XCode 3.2.1 (you can download old sdk here http://iphonesdkdev.blogspot.com/2010/0 ... e-sdk.html)

after you have installed iphone sdk and made Provisioning Profiles, like it's explain on the apple dev site http://developer.apple.com/iphone/index.action

download game editor..
go to bin folder in the root folder
open geapp_iphone folder
open geapp.xcodeproj

1/ put your geapp.dat (exported with game editor) in Ressources folder
Image

2/ a pop up appear, configure like that and click add
Image

3/ your game is added in the xcode project
Image

4/ right click on the "gameEditor iPhone Player" and select Get Info
Image

5/ now go to properties tab and change Identifier
Image

6/ with your App IDs, then go to Build tab
Image

7/ go to the Code Signing
Image

8/ and select your iphone developer profile
Image
Image

9/ above you can select where your .app is build
Image

10/ then click build and run, the game start on your iphone !
Image

geapp.xcodeproj is now configure, you have just to change the geapp.dat in ressources folder and click build for test every update of your game :wink:
alexandrefredenucci
 
Posts: 58
Joined: Wed May 12, 2010 7:33 am
Location: France
Score: 15 Give a positive score

Re: TUTORIAL FOR BUILD AND START GAME EDITOR GAME ON YOUR IP

Postby akr » Wed Aug 25, 2010 9:30 am

Alexandre, I am very happy to have your tutorial here!!! Hope that I can also help with tuts on future but at the moment my time is eaten up doing development.

Btw you can use the newest SDK as long as u set the "iPhone OS Deployment Target" to OS 3.1.2. (Was the way I brought wobong to appstore.)

This is because multitasking on OS 4 is not tested yet.

andreas
Co-Developer of GE engine

If u are interrested in new features of apple or android ge engines check the engine support website game-editor.net regulary.
akr
 
Posts: 453
Joined: Thu Feb 25, 2010 7:56 pm
Location: Germany, Ulm
Score: 40 Give a positive score

Re: TUTORIAL FOR BUILD AND START GAME EDITOR GAME ON YOUR IP

Postby Chai » Fri Aug 27, 2010 1:57 am

Dear alexandrefredenucci;
Thank you very much. This tutorial helps me a lot.
User avatar
Chai
 
Posts: 361
Joined: Sat Apr 30, 2005 2:26 pm
Location: Thailand
Score: 30 Give a positive score

Re: TUTORIAL FOR BUILD AND START GAME EDITOR GAME ON YOUR IP

Postby zxcvbnm » Sat Aug 28, 2010 1:43 am

Excellent work on your tutorial!!! Thank you for your contrubution to game editor , this will help many members to come.
Check out Momo AlienStarcatcher , featured in apples new and noteworthy and has 5 star reviews!!!
http://itunes.apple.com/us/app/momo-ali ... 61779?mt=8
zxcvbnm
 
Posts: 248
Joined: Sun Aug 22, 2010 7:57 pm
Score: 10 Give a positive score

Re: TUTORIAL FOR BUILD AND START GAME EDITOR GAME ON YOUR IP

Postby Leeesaw » Wed Oct 06, 2010 5:13 pm

Thanks for the awesome tutorial.
Does anyone know how to make multitouch work? Right now I am using buttons and telling to work on mouse click... but this doesnt work for pressing more than one of them at a time (if you are pressing jump at the same time as forward)
User avatar
Leeesaw
 
Posts: 20
Joined: Tue Sep 28, 2010 5:28 pm
Score: 0 Give a positive score

Re: TUTORIAL FOR BUILD AND START GAME EDITOR GAME ON YOUR IP

Postby Chai » Mon Oct 25, 2010 4:33 pm

this is important tutorial.
User avatar
Chai
 
Posts: 361
Joined: Sat Apr 30, 2005 2:26 pm
Location: Thailand
Score: 30 Give a positive score

Re: TUTORIAL FOR BUILD AND START GAME EDITOR GAME ON YOUR IP

Postby Hblade » Mon Oct 25, 2010 5:28 pm

Leeesaw wrote:Thanks for the awesome tutorial.
Does anyone know how to make multitouch work? Right now I am using buttons and telling to work on mouse click... but this doesnt work for pressing more than one of them at a time (if you are pressing jump at the same time as forward)


I think you can make "multitouch" by making a "mouse over" event on the buttons rather than MouseDown.
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: TUTORIAL FOR BUILD AND START GAME EDITOR GAME ON YOUR IP

Postby sonicfire » Sun Jan 23, 2011 6:23 pm

I know this topic is a bit old, but what should i use today?
geapp for direct testing on the iphone or geplayer with ftp-uploading and stuff? :-)

Specs:
osx 10.6.6
XCode 3.2.5 (1760)
iPod Touch 3g, iOS 4.2.1

EDIT: i´m in the developer-program, provisioning profiles are set up.

any help would be really appreciated , thanks! :)
sonicfire
 
Posts: 425
Joined: Wed Nov 01, 2006 9:34 pm
Location: berlin germany
Score: 16 Give a positive score

Re: TUTORIAL FOR BUILD AND START GAME EDITOR GAME ON YOUR IP

Postby sonicfire » Sun Jan 23, 2011 6:56 pm

that´s what i get...(with specs i mentioned before).
does this has something to do with my stupidity or with latest xcode + ios sdk? :(

a bit lost here!
Attachments
Screen shot 2011-01-23 at 20.54.59.png
sonicfire
 
Posts: 425
Joined: Wed Nov 01, 2006 9:34 pm
Location: berlin germany
Score: 16 Give a positive score

Re: TUTORIAL FOR BUILD AND START GAME EDITOR GAME ON YOUR IP

Postby akr » Sun Jan 23, 2011 7:07 pm

I took geapp and latest xcode. Then I changed "edit active target" / base sdk to latest ios 4.2.1. Pressed build and got no error.

So it seems that you changed anything beyond that. Try that from scratch until you find your problem.
Co-Developer of GE engine

If u are interrested in new features of apple or android ge engines check the engine support website game-editor.net regulary.
akr
 
Posts: 453
Joined: Thu Feb 25, 2010 7:56 pm
Location: Germany, Ulm
Score: 40 Give a positive score

Re: TUTORIAL FOR BUILD AND START GAME EDITOR GAME ON YOUR IP

Postby sonicfire » Sun Jan 23, 2011 7:14 pm

thanks, akr! :)

so i should use geapp instead of geplayer here? just curious.
sonicfire
 
Posts: 425
Joined: Wed Nov 01, 2006 9:34 pm
Location: berlin germany
Score: 16 Give a positive score

Re: TUTORIAL FOR BUILD AND START GAME EDITOR GAME ON YOUR IP

Postby sonicfire » Sun Jan 23, 2011 7:18 pm

THANKS AGAIN!! it works! how cool is that ...
:D <- keep´s smiling
sonicfire
 
Posts: 425
Joined: Wed Nov 01, 2006 9:34 pm
Location: berlin germany
Score: 16 Give a positive score

Re: TUTORIAL FOR BUILD AND START GAME EDITOR GAME ON YOUR IP

Postby akr » Sun Jan 23, 2011 7:55 pm

geplayer and geapp should behave same. geplayer is for downloading your datfile to iphone and geapp is for submitting your app including datfile to appstore.
Refer to iphone faq in general section.

greetings
andreas
Co-Developer of GE engine

If u are interrested in new features of apple or android ge engines check the engine support website game-editor.net regulary.
akr
 
Posts: 453
Joined: Thu Feb 25, 2010 7:56 pm
Location: Germany, Ulm
Score: 40 Give a positive score

Re: TUTORIAL FOR BUILD AND START GAME EDITOR GAME ON YOUR IP

Postby sonicfire » Sun Jan 23, 2011 8:36 pm

ok, thanks. think i´m fine with geapp :)

one questions, though: in my game i use load & savevars to save highscores to disk, however when i restart the app (geapp icon / mygame) on ipod, the score is always back to zero (file not there or not saved or something). i dont mean restarting it through xcode which would re-upload it to the phone.

is that because of using geapp? hope my quesion makes sense.
sonicfire
 
Posts: 425
Joined: Wed Nov 01, 2006 9:34 pm
Location: berlin germany
Score: 16 Give a positive score

Re: TUTORIAL FOR BUILD AND START GAME EDITOR GAME ON YOUR IP

Postby akr » Mon Jan 24, 2011 12:02 pm

geapp saves its file to the documents folder of the iphone app sandbox.

Dont have the direct link to the apple sdk documentation but this link here shows it also:

http://oreilly.com/iphone/excerpts/ipho ... e-sdk.html

Normally the documents folder gets erased only if the app is reinstalled or deleted.

Start or termination of the app should keep the documents saved persistent.
Co-Developer of GE engine

If u are interrested in new features of apple or android ge engines check the engine support website game-editor.net regulary.
akr
 
Posts: 453
Joined: Thu Feb 25, 2010 7:56 pm
Location: Germany, Ulm
Score: 40 Give a positive score

Next

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest