How to create a tile based game map in javafx 2.0?
Should I use ImageView elements or there is other method for direct images drawing?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your question is not very specific.
As I understand your issue a possible option is to extend a javafx.scene.layout.Region. So you are free to add other nodes, make some custom drawings, style with css etc. Nearly everything is possible 🙂
Example Code (Sorry, no SSCCE)
Tiles can be placed inside a e.g. TileContainer (another Object extending e.g. a Region) at a specified position (described by x/y-coordinates).
Hope, it helps realizing your ideas.