-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asteroids - increased ship, asteroids and font size #2983
Conversation
Looks good to me, will merge around this time tomorrow if the other maintainers don't mention anything :) |
well, it'd be nice to get a response from @hughbarney about that change to how asteroids are drawn - I feel like as there are generally quite a few of them it could make the game quite a lot slower - and the change to transformVertices would be pretty easy |
Ah gotya - the poly drawing replacing the circles for example? |
Yes - poly draw itself should be ok, but I imagine constructing the polygon each time for every asteroid might slow things down |
Yes it does make the game a bit slower. It is a lot nicer to look at. I am afraid I dont know what 'and the change to transformVertices would be pretty easy' would mean in practice.
I guess the suggestion is that there might be a more efficient way of calculating the points. |
Just done it - I made the asteroids rotate too The only issue with this is playing it, I've found there are clear times when the bullet now passes right through an astroid, because at times it's drawn at 1.5x the actual radius |
Thank you Gordon. It looks very nice. Sorry I did not know about |
No description provided.