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 / v1088 Tier2 - !BUG! - Can't CreateSprite or LoadImage from non-"App" class!!!

Author
Message
Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 11th Feb 2013 23:49
v1088 Tier2 - !BUG! - Can't CreateSprite or LoadImage from non-"App" class!!!
When I'm trying to put "agk::CreateSprite(...);" inside my own class(not main-App class) - it shows a strange thing: http://clip2net.com/s/2OYQU

I can't continue my code!!!
Hodgey
15
Years of Service
User Offline
Joined: 10th Oct 2009
Location: Australia
Posted: 12th Feb 2013 00:07
It's working on this end. Could you show us your code?

Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 12th Feb 2013 15:32
I have CreateSprite in lots of functions and classes without a problem. Please show us the code that is causing the problem.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 13th Feb 2013 13:12
Here is example with bug guys! (See attach)
It's for VS2008.

Please help, if you'll able to.

Attachments

Login to view attachments
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 13th Feb 2013 15:54
I don't have VS2008 installed and am not in the habit of testing whole applications. Or trying to debug an entire application.

Since you are posting the entire project, can you please just post the class that you are having difficulty with and the code you are using to set it up (to the load stage anyway)? (And not as an attachement, please.)

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master

Login to post a reply

Server time is: 2024-11-24 07:37:26
Your offset time is: 2024-11-24 07:37:26