Pixel-Perfect (better than 360 degrees) Shooting T
Author: | Jack Zhou
|
Submitted: | 10th July, 2009
|
Favourites: | 0 |
Genre: | Tutorial
| Downloads: | 562
|
Rated: |
|
|
Edited By Jack Zhou on 7/11/2009
I really needed one of these for a bullet hell shmup I'm making, but I could not find a tutorial online... so I spent the 10 minutes to think about it, and worked out a nearly flawless pixel-perfect shooting engine. It uses no extensions.
There is no complicated math in there, just Pythagorean Theorem, and similar triangles. If there is something you don't understand or want clarification on, feel free to leave a message.
This should not have any problems (if you want to see this engine at its best, change the "User Clicks With Left Button" to repeat while left mouse is held down; then, click your mouse, drag, and be amazed ;D), but if it does, please tell me and I'll see what I can do about it.
The only real problem I can see with this is having it function under heavy stress (timer screwing up, etc). I'm going to stick it in my shmup anyway and see how it turns out.
For MMF/MMF2, but should be easy enough to replicate even on TGF.
Quick edit:
TGF owners and those who want a clearer explanation should look here: http://www.create-games.com/article.asp?id=2129.
Review This Download
http://awcentre.netfirms.com/shooter.mfa (51.17 kkb )
|
|
Is this worth a look? Let others know! Favourite
|