Re: Error on runtime (SFML/CSFML related)

2018-02-01 Thread twetzel59
I've been looking into this for a while, and I can't seem to come across the culprit. `localBounds` returns a `FloatRect`, which is a `{.bycopy.} object`. It is not a `ptr object`. I am a bit confused myself. Here's what I think I've deduced so far: * `viewport(view: View): FloatRect` is

Re: Error on runtime (SFML/CSFML related)

2018-02-01 Thread twetzel59
That's weird. I wonder if it's really nil, or if it's an invalid memory location. It is a segfault, so... could be either.

Re: Error on runtime (SFML/CSFML related)

2018-02-01 Thread twetzel59
Are you sure it's localBounds... maybe the Text itself is null?

Re: Error on runtime (SFML/CSFML related)

2018-02-01 Thread twetzel59
I'll look at this more in depth later today. Currently at lunch. Anyway, I am a big fan of SFML, and I'm wondering if localBounds is even supposed to ever be null... Maybe the rectangle was never set.

Re: Error on runtime (SFML/CSFML related)

2018-01-29 Thread dom96
I was using 0.17.3 to develop this, so you might want to try the same.

Error on runtime (SFML/CSFML related)

2018-01-29 Thread erasmo85
Hi everyone, I'm trying to compile the game that Dominik made for the Ludum Dare 40, and I got two errors (of which I solved one): 1) Error on the line > if game.music.status() == Playing: - which I solved it with if > game.music.status() == SoundStatus.Playing: 2) SIGSEGV: Illegal storage