Skip to content
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 Textured Object Example #4

Open
KTStephano opened this issue Aug 18, 2018 · 0 comments
Open

Add Textured Object Example #4

KTStephano opened this issue Aug 18, 2018 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@KTStephano
Copy link
Owner

We need an example of applying textures to game objects inside of src/application. Consider the following code:

Rectangle2D rect = new Rectangle2D(250,250,100,100,1);
rect.addToWorld(); // Make sure to add it!

This will add a new 2D, untextured rectangle to then world. There are methods inside of Rectangle2D to apply textures, so we want to show those being used.

@KTStephano KTStephano added enhancement New feature or request good first issue Good for newcomers labels Aug 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant