13 years, 3 months ago
Highlights
I would just keep one vector for the speed, then add the normalized mouse direction vector to it: Vector2f position; Vector2f speed; void Nave::update(sf::T…
13 years, 3 months ago
13 years, 3 months ago
Yeap, me again, lol. The thing is, I'm trying to give my ship an acceleration as if it were moving in space (zero gravity), if a press the Up arrow key, the ship increases its a…
13 years, 3 months ago
Well, this is what I have done: It's nothing amazing, but ignoring it, I was looking for a way to implement a small light on every bullet, first because the b…
13 years, 3 months ago
I'm wanting to start a little project (I'm a beginner), about a Space Shooter, but, I need help with a few things... The first thing is implementing the shooting, I…
13 years, 3 months ago
Latest Activity
See all in Discussions I would just keep one vector for the speed, then add the normalized mouse direction vector to …
13 years, 3 months ago
I would just keep one vector for the speed, then add the normalized mouse direction vector to it: Vector2f …
13 years, 3 months ago
On a side-note; can I ask, where do you declare the variable 'aceleration'? There is also another variable 'acceleration' and …
13 years, 3 months ago