Search found 3 matches
- Wed Jul 16, 2014 8:21 pm
- Forum: Support and Development
- Topic: Offsetting where a projectile is fired from
- Replies: 4
- Views: 2638
Re: Offsetting where a projectile is fired from
Perhaps if in a game I make I want to have a built in framerate limiter that doesn't use vsync. Vsync introduces some slight lag which could be undesirable. If I don't want that lag while testing a game then I disable it but then the game is running at potentially 1000+ fps which isn't good for my G...
- Wed Jul 16, 2014 6:54 pm
- Forum: Support and Development
- Topic: Offsetting where a projectile is fired from
- Replies: 4
- Views: 2638
Re: Offsetting where a projectile is fired from
I swear that I put that exact code in yesterday (though I used 65 instead of 45 since that's the distance from the center of the character to the end of the turret) and it didn't work. I did notice just now that I originally put in math.cos for both when implementing your code though so it's possibl...
- Wed Jul 16, 2014 7:32 am
- Forum: Support and Development
- Topic: Offsetting where a projectile is fired from
- Replies: 4
- Views: 2638
Offsetting where a projectile is fired from
I'm just kind of messing around with the engine right now trying to get a feel for it so I'm looking through tutorials and stuff. What I'm doing right now is trying to make a small little top down shooter. I have my little guy and have projectiles firing (haven't gotten to destroying them when they ...