I would like to discuss my Idea
-
@toxibunny I think I will add Hiding Places where the player Sprite will vanish.
Giving all roles the ability to disappear would be interesting as well
-
Right now I have a mathematical problem.
I have PlayerSprite and Cursor Sprite
I want to launch a 3rd Bullet Sprite
At PlayerSprite location and I want it to fly towards the Cursor Sprite.For that I need a formula to rotate the Sprite towards the Cursor and I don't know how to achieve that.
-
To get the angle to a specific point, you will need to use atan2(). Take a look at Wikipedia:
https://en.wikipedia.org/wiki/Atan2 -
Whoa that reminds me of my school days.
I need to get better in math, Im just seeing Greek symbols xD
-
There is an example here that uses it to set a sprites rotation angle:
-
-
I will look into that this evening, I'm at work atm
-
Do that! (It seems to be live now as well!)
-
Atan2() is pretty sweet. I used it for a twin stick shooter once.
-
Twin stick shooter sounds pretty much like the game I'm coding :D
I'm getting CS2D vibes -
I just love Fuze. From getting an idea in my head (a rotating tank and a crosshair) to having a working demo, and then sharing it with others took like 20-25 minutes. That is pretty amazing and shows how easy Fuze is to work with once you get used to all its little idiosyncrasies!
-
@vinicity Can we quote you on that?
-
Sure, go right ahead.