Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: ConvexShape isn't drawn  (Read 4244 times)

0 Members and 1 Guest are viewing this topic.

SuperV1234

  • SFML Team
  • Full Member
  • *****
  • Posts: 190
    • View Profile
ConvexShape isn't drawn
« 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?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: ConvexShape isn't drawn
« Reply #1 on: August 25, 2012, 04:03:19 pm »
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: ConvexShape isn't drawn
« Reply #2 on: August 25, 2012, 05:36:49 pm »
You should use the latest sources, some bugs have been fixed since the RC.
Laurent Gomila - SFML developer

SuperV1234

  • SFML Team
  • Full Member
  • *****
  • Posts: 190
    • View Profile
Re: ConvexShape isn't drawn
« Reply #3 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

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: ConvexShape isn't drawn
« Reply #4 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.
Laurent Gomila - SFML developer

SuperV1234

  • SFML Team
  • Full Member
  • *****
  • Posts: 190
    • View Profile
Re: ConvexShape isn't drawn
« Reply #5 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.