-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add few missing methods/class from slick2d #45
Comments
I'll need to investigate how to do g.texture and the Polygon implementation but I'll add the others to the next 1.3.0 alpha in the meantime. |
It would be good if in next version you could also add methods intersects(shape); in shape classes. |
I will tag a new alpha this evening with these new methods. |
1.3.0-beta1 is now available. |
The only missing function is now Graphics.texture(). I've created issue #59 to track this feature. |
I'm trying to port two games from slick2d.
I'm missing few method /classes:
g.fillShape(shape);
(it will be faster to type than each time g.fillRect(rect.getX(),rect.getY(),rect.getWidth(),rect.getHeight());.
g.texture(); (shape with texture)
Method contains(x,y) in circle class.
And the my main problem is missing Polygon.class
In slick2d it was very useful to creating any shapes and making collision.(polygon.addPoint(x,y)....)
Is it possibile to add them?
Thanks
The text was updated successfully, but these errors were encountered: