GLBASIC iTouch and OpenFeint

Previous topic - Next topic

codegit

Has anybody tried using OpenFeint on the iTouch?? If so can you please give a brief description on how you did it.  :O

http://www.openfeint.com/
------------------------------------------
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

MrTAToad

#1
There is another lobby system for the iPhone - cant remember what its called now though.  It seems to be quite popular.

However, any external lobby system will no doubt be a pain to interface will.  On this very forum I've got a lobby system (and on my site) that can be used in GLBasic as its been written in GLBasic

It needs a lot of testing though - which is something I haven't really got around to.

Kitty Hello


codegit

Yes Plus+ is the other one.  =D
------------------------------------------
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

fjsantosb

Good question here.
I am thinking of implemeting any of this systems too, openfeint and plus+ seems to be more popular now.
Its easy to use on glbasic?

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

Quote from: fjsantosb on 2009-Dec-01
Good question here.
I am thinking of implemeting any of this systems too, openfeint and plus+ seems to be more popular now.
Its easy to use on glbasic?

King Regards, fjsantos.

I think we going to be out of luck. The SDK's are most probably for Objective c. I'm not sure but this is my thinking.  :(

Unfortunatly, this is fast becoming an important part of iPhone development.
------------------------------------------
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

Kitty Hello

you have a true xcode project in the end for the iphone. You can merge _any_ library.
I have no idea about plus+. OpenFeint seems the cheaper solution to me.

trucidare

Whats OpenFeint?
Merging other libs need to know something about objc and the sdk included in windows.
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

MrTAToad


codegit

Lobby systems are becoming a very important marketing tool for iPhone. Also, it adds a lot of depth to your selling point as gamers really like to compare their scores and trophies etc to each other. I am trying to work through this stuff now, but my knowledge of Obj c is really limited. Also, I dont like the language, it kinda sucks a bit. (My opinion)  :(
------------------------------------------
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

matchy

#10
Question is: How to call GLB in OBJC with and like OpenFeint in main or delagate?

Code (glbasic) Select

int main(int argc, char *argv[]) { // for GLB
return GLB_iPhone_call_main(argc, argv);
}


Code (glbasic) Select

int main(int argc, char *argv[]) { // for OF
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
int retOF = UIApplicationMain(argc, argv, nil, @"OpenFeintAppDelegate");
[pool release];
return retOF;
}

trucidare

Call inside glbasic with objekt allocation.
Code (glbasic) Select

@interface myInteface : NSObject <OpenFeinAppDelegate>

@end
...
myInterface* muh = [[myInterface alloc]init];
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

matchy

How and where is the "reference" to GLB_iPhone_main in objc, I guess in
Code (glbasic) Select

@implemenation OFeintTestAppDelegate

@synthesize window;

- (void)applicationDidFinishLaunching:(UIApplication *)application) {

// [GLBasic GLB_iPhone_main]; //???????? i dunno

...

[window makeKeyAndVisible];
[OpenFeint initializeWithProductKey:@"KEY123" ... ]
[OpenFeint launchDashboard]

}

Could you please elaborate on that as I am starting to learn objc !?


Kitty Hello

GLB_iPhone_main is a C function, that takes over all activity and won't ever return.

MrTAToad

Any chance of putting in an interface to OpenFeint into GLBasic.

By the way, they will be expanding to Android platforms.  But they wont contemplate doing a system for Window, Mac or Linux unfortunately.