I am playing this game where you need to use JavaFX to obtain some clues and complete some challenges. I am working on adding some graphics on an app that was supplied by the game, have the graphics added but I would like them to rotate as they move around the screen. Below is my code for adding the images, does anyone have any idea how to get them to slowly rotate using Java FX? I have searched the JavaFX tutorials on Sun's site and can't find any info on how to do this.
//My Code var ip = ImageParticle { imageView: ImageView { image: Image { url: "{__DIR__}resources/hector4.png" } } } particleSystem.createPointParticle(ip, 450, 350); var ip1 = ImageParticle { imageView: ImageView { image: Image { url: "{__DIR__}resources/alienteapot4.png" } } } particleSystem.createPointParticle(ip1, 205, 125); var ip2 = ImageParticle { imageView: ImageView { image: Image { url: "{__DIR__}resources/Baron4.png" } } } particleSystem.createPointParticle(ip2, 95, 220); var ip3 = ImageParticle { imageView: ImageView { image: Image { url: "{__DIR__}resources/dotcup4.png" } } } particleSystem.createPointParticle(ip3, 500, 170); var ip4 = ImageParticle { imageView: ImageView { image: Image { url: "{__DIR__}resources/orangecup4.png" } } } particleSystem.createPointParticle(ip4, 175, 330); //end my code
Here is a screen capture of what the thing currently looks like... just in case you need to know.
Screen Capture on YouTube