-
Notifications
You must be signed in to change notification settings - Fork 28
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
Questions about new image being created for every object. #51
Comments
Sorry for late reply.
We do have the Image which we use for main sprite sheet ( Image img )as a static image only inside the Renderer Class. We create image object which are a cropped version of that main sprite sheet. We are still in early stages of development, if we face any memory issues or slowdown we will look into those optimizations.
hmm because we would also want to refer to non animated objects like walls and stones using it. I didn't understand what problem you are facing because of it. nbproject.properties is a file which Netbeans uses. It has been created by Netbeans and we haven't written it. |
My problem with it. Is git wants to commit it. How to get git to ignore it without effecting the project ?
None. My question is more about programming style it self. Questions Why is resources in source path ? I made my own experiment branch. For playing with ideas. |
This link might be helpful in removing it and then adding it to your gitignore
We used sprite sheet as it was available to us easily. I too feel using individual images would be easier to use in programming as it would get rid of coordinates needed to crop them.
Hmm I don't know why we have it that way. Now that I think of it. It seems that it should be outside only. |
First.
Still pretty new to java and I'm self taught.
I done some programming in D and Python.
Looking through code. It seems you create an new image for every object. Even if it the same object.
Just wonder why images are not static to the object ?
Why isn't Sprites called AnimatedSprite ?
Also wondering in nbproject .project.properties. How can I ignore this ?
I have to change line 72 to false. line 72 (javafx.deploy.includeDT=true)
The text was updated successfully, but these errors were encountered: