Hi all, I have a question about Prototyping!!

Anything about development not directly related to libgdx, e.g. OpenGL, Android APIs etc.

Re: Hi all, I have a question about Prototyping!!

Postby shatterblast » Mon Jan 27, 2020 4:16 pm

You should get a basic example running first with something from a tutorial. Some things will have a debug() method that will draw a box around a visual object of where something is or suppose to be. Both objects from Scene2D and Actor generally allow this function.

If you want shapes, then there is the Polygon class.
For lines and other shapes, you can use ShapeRenderer.

1) https://libgdx.badlogicgames.com/ci/nig ... lygon.html
2) https://libgdx.badlogicgames.com/ci/nig ... derer.html
Posts: 653
Joined: Sun Jul 06, 2014 1:14 pm

Return to General Development

Who is online

Users browsing this forum: Google [Bot] and 0 guests