Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / C++ project example?

Author
Message
wargasmic
18
Years of Service
User Offline
Joined: 15th Oct 2006
Location: UK
Posted: 10th Jul 2012 21:14
Just wondering if anyone has a project example using c++ or knows where i can find one. Cheers!
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 10th Jul 2012 23:36
check out the project samples that come with agk!
wargasmic
18
Years of Service
User Offline
Joined: 15th Oct 2006
Location: UK
Posted: 10th Jul 2012 23:40
Every one i've opened is written in basic. Hmmm...sudden though, do you only get c++ support when you buy it? At the mo i have the free trial.
Hodgey
15
Years of Service
User Offline
Joined: 10th Oct 2009
Location: Australia
Posted: 11th Jul 2012 01:03
Here's a small project example:



wargasmic
18
Years of Service
User Offline
Joined: 15th Oct 2006
Location: UK
Posted: 11th Jul 2012 14:13
Thanks Hodgey
wargasmic
18
Years of Service
User Offline
Joined: 15th Oct 2006
Location: UK
Posted: 11th Jul 2012 22:26
Could someone let me know what build options etc I need in order to get my c++ project working with AppGameKit and what steps are needed for the project to compile for all platforms?
3d point in space
15
Years of Service
User Offline
Joined: 30th Jun 2009
Location: Idaho
Posted: 14th Jul 2012 07:43 Edited at: 14th Jul 2012 07:48
You cant just use c++. You need xcode and solaris. I think I spelled that right don't have spell check. Any way there are examples for both xcode and solaris. I personally would not buy a Mac yet just program with solaris tell you have 5 or 6 apps then buy a mac. Solaris is free and if you have money then get a Mac mini.

Developer of Space Chips, pianobasic, zipzapzoom, and vet pinball apps. Developed the tiled map engine seen on the showcase. Veteran for the military.
wargasmic
18
Years of Service
User Offline
Joined: 15th Oct 2006
Location: UK
Posted: 14th Jul 2012 15:37
So I have to port my project to run on mac/ios? What happened to "write once deploy everywhere", the reason I bought AppGameKit in the first place?
3d point in space
15
Years of Service
User Offline
Joined: 30th Jun 2009
Location: Idaho
Posted: 14th Jul 2012 17:14 Edited at: 14th Jul 2012 17:22
That option is only for tier one.So yes you can write it once and deploy every where. The c++ version is more you write the code once and deploy with xcode and solaris.

Developer of Space Chips, pianobasic, zipzapzoom, and vet pinball apps. Developed the tiled map engine seen on the showcase. Veteran for the military.
FakeBlood
22
Years of Service
User Offline
Joined: 18th Nov 2002
Location: Alabama, United States
Posted: 14th Jul 2012 17:24
You still need a mac with tier 1 also for iOS
erebusman
13
Years of Service
User Offline
Joined: 23rd Jul 2011
Location: Sacramento, CA
Posted: 14th Jul 2012 18:03
There are C++ project examples with AGK

You need to look in your AppGameKit install folder

Assuming you installed to C:\ you will have a path similar to this:

C:\Program Files\AGK\Projects\Native

In the native folder you will have the following:

\iOS
\Mac OS
\Windows
\Windows_VS2010


Windows folder has Visual Studio 2008 C++
Windows_VS2010 has Visual Studio 2010 C++ examples
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 14th Jul 2012 18:15
Quote: "So I have to port my project to run on mac/ios? What happened to "write once deploy everywhere", the reason I bought AppGameKit in the first place?"

It's this way for all iOS developers. Apple has a "walled garden" where they only accept applications that meet certain requirements and specifications. One of those requirements is that the code be "signed"(a way of verifying the creation of the code) on a Mac OSX installation. It's annoying, and one of the only things keeping me from iOS development myself.

JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 15th Jul 2012 19:19
"Write once" means one body of code, which you can then "eat" in various development environments. Although most compilers could cheerfully pump out machine code that would run on iOS, as mentioned above, Apple insist that the final compile is done on an actual Mac.

This is the case for ALL cross-platform development systems, and it is not AppGameKit, Embarcadero, or anybody else's fault.

-- Jim
wargasmic
18
Years of Service
User Offline
Joined: 15th Oct 2006
Location: UK
Posted: 16th Jul 2012 05:51
For some reason I had the idea that xCode was Apples own language for writing apps for ios devices. Facepalm.

Thanks for clearing this up
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 23rd Jul 2012 18:22
XCode is the IDE/compiler, not an actual language.

It compiles C++ just fine. It also compiles Apple's Objective C language (which is not quite so nice to work in).

Cheers,
Ancient Lady
AGK Community Tester

Login to post a reply

Server time is: 2024-11-23 19:22:56
Your offset time is: 2024-11-23 19:22:56