BASIC

Author Topic: GLBASIC iTouch and OpenFeint  (Read 12072 times)

Offline codegit

  • Dr. Type
  • ****
  • Posts: 270
    • View Profile
GLBASIC iTouch and OpenFeint
« on: 2009-Nov-30 »
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

  • Guest
Re: GLBASIC iTouch and OpenFeint
« Reply #1 on: 2009-Nov-30 »
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.
« Last Edit: 2009-Nov-30 by MrTAToad »

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10675
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: GLBASIC iTouch and OpenFeint
« Reply #2 on: 2009-Dec-01 »
Plus+, IIRC

Offline codegit

  • Dr. Type
  • ****
  • Posts: 270
    • View Profile
Re: GLBASIC iTouch and OpenFeint
« Reply #3 on: 2009-Dec-01 »
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

Offline fjsantosb

  • Dr. Type
  • ****
  • Posts: 258
    • View Profile
    • Tip Tap Games - iPhone, iPad and iPod Touch Games
Re: GLBASIC iTouch and OpenFeint
« Reply #4 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.
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

Offline codegit

  • Dr. Type
  • ****
  • Posts: 270
    • View Profile
Re: GLBASIC iTouch and OpenFeint
« Reply #5 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

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10675
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: GLBASIC iTouch and OpenFeint
« Reply #6 on: 2009-Dec-01 »
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.

Offline trucidare

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1377
  • Bachelor of Fail
    • View Profile
Re: GLBASIC iTouch and OpenFeint
« Reply #7 on: 2009-Dec-01 »
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

  • Guest
Re: GLBASIC iTouch and OpenFeint
« Reply #8 on: 2009-Dec-01 »
http://www.openfeint.com/

Its a network lobby system

Offline codegit

  • Dr. Type
  • ****
  • Posts: 270
    • View Profile
Re: GLBASIC iTouch and OpenFeint
« Reply #9 on: 2009-Dec-02 »
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

Offline matchy

  • Prof. Inline
  • *****
  • Posts: 1540
    • View Profile
Re: GLBASIC iTouch and OpenFeint
« Reply #10 on: 2010-Jan-17 »
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;
}
 
« Last Edit: 2010-Jan-17 by matchy »

Offline trucidare

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1377
  • Bachelor of Fail
    • View Profile
Re: GLBASIC iTouch and OpenFeint
« Reply #11 on: 2010-Jan-17 »
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

Offline matchy

  • Prof. Inline
  • *****
  • Posts: 1540
    • View Profile
Re: GLBASIC iTouch and OpenFeint
« Reply #12 on: 2010-Jan-18 »
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 !?


Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10675
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: GLBASIC iTouch and OpenFeint
« Reply #13 on: 2010-Jan-18 »
GLB_iPhone_main is a C function, that takes over all activity and won't ever return.

MrTAToad

  • Guest
Re: GLBASIC iTouch and OpenFeint
« Reply #14 on: 2010-Jan-18 »
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.