This is a simple script to control a player's ship in a shoot-em-up. It moves in a similar manner to magnets, it will try to go away from danger, but be pushed harder by closer objects, usually allowing it to squeeze through small gaps relatively accurately. This idea has been floating around in my noggin for quite some time now, and I thought i might give it a try. I honestly have no idea what this could be used for, but feel free to use it and tell me about it.
Features:
- Powerup attraction
- Pretty good enemy avoidance
- Target tracking and basic movement prediction
- Y axis movement
- Tweakable variables(In Code)
- Some code to tweak variables automatically (Pause Menu)
- Messy Code!
I tried it in a few games, with mixed results:
P.A.T. Shooter, by Benjamin_Soul
The script is not as good here, as the game is seriously hardcore after the first few waves, but I added it in as a wingman.
Also changed the Menu screen, as I like Battlezone.
They Started It, by JoeySpaceRocks
The script is better at this fast paced gameplay. I am not too good though.
If the original creators of these games want them taken down, no problem.
[Please log in to post a comment]