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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Luhrel

Pages: [1]
1
D / Re: Unable to set position
« on: April 08, 2016, 10:59:36 am »
Yes, it's:
mySprite.position = Vector2f(x, y);

2
D / Unable to set position
« on: April 07, 2016, 08:09:37 pm »
Hello.

In my code when I do:
mySprite.position = new Vector2(x, y);

I have this error:
Error: struct dsfml.system.vector2.Vector2(T) if (isNumeric!T) is used as a type
dmd failed with exit code 1.

x and y are int.

What's incorrect ? What should I do ?

i'm using DSFML 2.1

Pages: [1]
anything