[iPhone] Agon

Previous topic - Next topic

trucidare

Hi there,

now closed OpenFeint discussion and opened Agon.

Ok first i post my Wrapper for GLBasic. Some new functions, hope its easy to use.

More infos soon :D

Ok Now time for Release!!! :D

Step by Step Guid:

1. -> Download XCode.rar from : http://davis.org.au/Trucidare/XCode.rar and Unrar it
1a. -> Go to X:/Program Files/GLBasic/Compiler/platform/iPhone
1b. -> Rename XCode folder to XCode - Non AGN
1c. -> Copy the unrared XCode folder to X:/Program Files/GLBasic/Compiler/platform/iPhone
2. -> Download GLBAgon.gbas from : http://davis.org.au/Trucidare/GLBAgon.gbas
3. -> Open your Game
4. -> Add GLBAgon.gbas to your Project
5. -> Call GLB_AGN_Init() at start of your Program
6. -> Call GLB_AGN_Create("Your Secret from AGON Developer Dashboard",ServerType) // Servertypes are in GLBAgon.gbas
7. -> Call all other Agon Commands
8. -> Before you can add Achivements and Highscores to AGON you must Call GLB_AGN_StartGameSession() // i think its the best you start the session only if you are in the Game, not Menu
9. -> Dont Forget to Close the Session
10. -> Build for iPhone
11. -> Copy to Mac
12. -> Download Bundle from AGON Developer Dashboard
13. -> Copy it to xcode folder parallel to Media Folder
14. -> Open Xcode Project
15. -> Change Info.plist
16. -> Compile and have Fun :D

Known issues:

-> Colors dont work yet - vars lost values from function a to funtion b - dont understand why.
-> opening the dashboard two times it will crash (bug send to agon, hope for fix) ((crashes only if the user is online - offline users dont have any crashes))

Thanks and have fun
trucidare



[attachment deleted by admin]
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

MikeHart

Thank you for the work you put into this  :good:

fjsantosb

Hi Trucidare,

Great Work! I will download inmmediately!
A little question, have I only to download the 'bundle pack' of agon and add to xcode project or I have to do anything else?

King Regards, fjsantos.
Francisco Santos Belmonte founder of Tip Tap Games.
Website: www.tiptapgames.com
Twitter: www.twitter.com/tiptapgames
Facebook: http://dld.bz/dYVd
iPhone News & Sales: www.gamesappetizer.com

trucidare

i will create a xcode project that you copy to your glbasic directory. then you only open it on a mac copy your bundle into resources and compile.

debug my wrapper lib at this moment. My Xcode cached all so i have the same problem for some hours. :/
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

fjsantosb

Thanks for you reply trucidare,

I know understand how i must use it.
I will implement my achievements sheet, and some leaderboards to test later.

Thanks again for share your work!

King Regards, fjsantos.

pd->Have you twitter?
Francisco Santos Belmonte founder of Tip Tap Games.
Website: www.tiptapgames.com
Twitter: www.twitter.com/tiptapgames
Facebook: http://dld.bz/dYVd
iPhone News & Sales: www.gamesappetizer.com

trucidare

#5
Ok some news :D

- now a sheet is shown when you earned a award.

ToDo:

- fileName for Award Background
- fix setColors (some glbasic to objc issue?? 40 in glbasic results xxxxxx value in lib)
- add new highscore sheet like award sheet.

no i have no twitter.


edit:// here some shots. (it auto rotates to landscape :D nice work AGON :D)



[attachment deleted by admin]
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

fjsantosb

Wow!! Impressive.

I review the wrapper and yep, its some changes in any points.
I wonder if you do a little tutorial about his use?

King Regards, fjsantos.
Francisco Santos Belmonte founder of Tip Tap Games.
Website: www.tiptapgames.com
Twitter: www.twitter.com/tiptapgames
Facebook: http://dld.bz/dYVd
iPhone News & Sales: www.gamesappetizer.com

trucidare

i will post a simple example.
cant get colors to work, the UIColor pointer looses data from function a to function b. dont know why.

i took about 2 hours for the earned award sheet, highscore sheet will be simple after that.

But today i only want to see a movie and have sunday ;)

tomorrow i will continue.

thanks and regards
trucidare
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

fjsantosb

Great work so far!

I will work on awards of 'Enerbrix'.

I wish you a great sunday!

Have you see 'Avatar' or 'Sherlock Holmes'? I like both of them. :)

King Regards, fjsantos.
Francisco Santos Belmonte founder of Tip Tap Games.
Website: www.tiptapgames.com
Twitter: www.twitter.com/tiptapgames
Facebook: http://dld.bz/dYVd
iPhone News & Sales: www.gamesappetizer.com

codegit

@trucidare  :nw: Awesome!!!
------------------------------------------
1 X Acer TravelMate 4270, laptop, XP PRO
1 X Dell Studio 17 laptop, Windows 7
1 X MacBook Pro 2,2 GHz Core 2 Duo, 2 GB RAM, 160 GB HDD, 9400M
2 X iTouch
1 X HTC Desire (Android 2.1)
iPad soon to be added

trucidare

Hier noch ein paar impressionen. ---> <--- so kurz vorm release

[attachment deleted by admin]
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

fjsantosb

Looks Really Great!

Francisco Santos Belmonte founder of Tip Tap Games.
Website: www.tiptapgames.com
Twitter: www.twitter.com/tiptapgames
Facebook: http://dld.bz/dYVd
iPhone News & Sales: www.gamesappetizer.com

trucidare

Release in first post!
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

fjsantosb

Great Work trucidare!

I wil test inmmediately and post impressions!

King Regards, fjsantos.
Francisco Santos Belmonte founder of Tip Tap Games.
Website: www.tiptapgames.com
Twitter: www.twitter.com/tiptapgames
Facebook: http://dld.bz/dYVd
iPhone News & Sales: www.gamesappetizer.com

fjsantosb

Hi trucidare,

This is the problems i have found (problems that you have mentioned before).

First of all, and as personal note, i have to say that i like more the OpenFeint interface, i think is more clear, easy to use and cute (and it's more extended between the players).

- I didn't use colors (if enough to me, but would be great to use colors too).
- As you reported, interface crash, when open twice (which is really bad).
- I noticed that the use of AGON its more 'difficult' or 'ugly' than previous (OpenFeint).

Conclusion: I can't use on my project yet, cause inestability :(, which is a pity.

Great work so far!

King Regards, fjsantos.

Francisco Santos Belmonte founder of Tip Tap Games.
Website: www.tiptapgames.com
Twitter: www.twitter.com/tiptapgames
Facebook: http://dld.bz/dYVd
iPhone News & Sales: www.gamesappetizer.com