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.

Dark GDK / Dark GDK error

Author
Message
Nathan C
14
Years of Service
User Offline
Joined: 26th Jan 2010
Location:
Posted: 29th May 2010 07:16 Edited at: 29th May 2010 07:16
I am following a tutorial, and i keep getting this error:

main.cpp(26) : error C2181: illegal else without matching if

my code:



JTK
14
Years of Service
User Offline
Joined: 10th Feb 2010
Location:
Posted: 29th May 2010 07:37
You have an extra semi-colon after your if-statement.



JTK
Nathan C
14
Years of Service
User Offline
Joined: 26th Jan 2010
Location:
Posted: 29th May 2010 07:43
Thanks! But now im getting a new problem. Whenever i use the dbCreateAnimatedSprite command, i cannot set transparency at all.



When i this, the color key of 255,0,255 does nothing at all. My character still has the pink around him when i play the program.

Login to post a reply

Server time is: 2024-11-19 23:28:00
Your offset time is: 2024-11-19 23:28:00