I've been watching some recent videos (like https://channel9.msdn.com/Series/Developing-Games-with-Marmalade-and-C-for-Windows-and-Windows-Phone/03), and I decided to give GS a go. I'm developing under Marmalade.
Everything I've seen seems to indicate that the Marmalade extension should be available at
I've got the Marmalade sample running ok, however I'm having issues in a real-world environment.
In the sample, The GameSparks::Core::GS_ instance is declared as a local variable in the main() function, but in most games, where the backend needs to be called from many places, I'd make the GS variable static, as I do for other third party code wrappers.
I made the reference a singleton, and the code runs for a bit. I get the "Initialized" response back, but when the "AuthenticatedConnectResponse" arrives in the below function, the m_GSPlatform pointer has lost it's reference to MarmaladePlatform and this call gives me "Access violation reading location 0xccccccfc".
Any help you could give would be appreciated. Or if you have any more example code / any other users have managed to get a C++ Marmalade game up-and-running with GameSparks then please let me know.
Ed Mandy
I've been watching some recent videos (like https://channel9.msdn.com/Series/Developing-Games-with-Marmalade-and-C-for-Windows-and-Windows-Phone/03), and I decided to give GS a go. I'm developing under Marmalade.
Everything I've seen seems to indicate that the Marmalade extension should be available at
https://docs.gamesparks.net/sdk
I don't see it. What am I missing?
Hi Luke,
You can find the Marmalade SDK here.
Thanks,
Liam
2 people have this question
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstLuke Thompson
Hi, any news on this?
The homepage boasts about being a Marmalade partner, so I'd hope to have seen a Marmalade extension here too...
Customer Support
Hi Luke,
You can find the Marmalade SDK here.
Thanks,
Liam
Luke Thompson
Great, thanks Liam, I'll give it a try now.
Luke Thompson
Hi Liam,
I've got the Marmalade sample running ok, however I'm having issues in a real-world environment.
In the sample, The GameSparks::Core::GS_ instance is declared as a local variable in the main() function, but in most games, where the backend needs to be called from many places, I'd make the GS variable static, as I do for other third party code wrappers.
I made the reference a singleton, and the code runs for a bit. I get the "Initialized" response back, but when the "AuthenticatedConnectResponse" arrives in the below function, the m_GSPlatform pointer has lost it's reference to MarmaladePlatform and this call gives me "Access violation reading location 0xccccccfc".
void GameSparks::Core::GS_::DebugLog(const gsstl::string& message)
{
m_GSPlatform->DebugMsg(message);
}
Any help you could give would be appreciated. Or if you have any more example code / any other users have managed to get a C++ Marmalade game up-and-running with GameSparks then please let me know.
Many thanks,
Luke
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics