SFML community forums

Bindings - other languages => DotNet => Topic started by: SuperV1234 on August 25, 2012, 02:45:08 pm

Title: ConvexShape isn't drawn
Post by: SuperV1234 on August 25, 2012, 02:45:08 pm
Does ConvexShape work at all in SFML.NET? I'm trying to make a game for ludum dare, but I can't display any polygonal shape. I copypasted the exact same code from the documentation (adapting it to C#) and it doesn't display anything on screen.

Help?
Title: Re: ConvexShape isn't drawn
Post by: eXpl0it3r on August 25, 2012, 04:03:19 pm
Help?
Code? ;D
Title: Re: ConvexShape isn't drawn
Post by: Laurent on August 25, 2012, 05:36:49 pm
You should use the latest sources, some bugs have been fixed since the RC.
Title: Re: ConvexShape isn't drawn
Post by: SuperV1234 on August 26, 2012, 06:05:34 pm
Help?
Code? ;D

The exact same code as the ConvexShape documentation.


You should use the latest sources, some bugs have been fixed since the RC.

I'm using the latest sources from GitHub, compiled in x86
Title: Re: ConvexShape isn't drawn
Post by: Laurent on August 26, 2012, 06:55:45 pm
Quote
The exact same code as the ConvexShape documentation.
Since you had to adapt it, it's not an exact copy of the doc and therefore you might have introduced an error ;)
So please show it.
And it will also be easier for us if you post the adapted code, rather than having to do it ourselves just to help you.
Title: Re: ConvexShape isn't drawn
Post by: SuperV1234 on August 28, 2012, 01:05:19 am
I messed up something in the compilation, maybe I opened the non-latest solution. I recompiled SFML.NET again and it works now. Sorry for wasting your time.