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.
- 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.
I found a bug in the console error messages for Cartdata().
If you have Cartdata() with an improper string and a Dset() or Dget() somewhere in the code, the console error says Cartdata() was not called first.
DSET CALLED BEFORE CARTDATA()
CART DATA ID: BAD CHAR
Not a big problem by any means, but one that got me pretty confused for a bit.
This is an older project I did, but never finished sadly. Basically up to 8 players can enter the game and either shoot dumb bots or each other. The menu was never finished, so it is just brown. You need to press X to join, then left and right select the control scheme and Z changes the colors. If no buttons are pressed for a few seconds the game will start, and you can push things and shoot things, and that is about it. If you want to do anything with it, go ahead.
I think players must join in order for the menu to work.
Just a simple program I made to test the limits of the LS() command. It cannot see anything other than .p8 and .png files because of the LS() program's limitations. It can load another program and run it if it is in the carts directory. You can also return to it again from that cart in the menu.
You must download it for it to see anything.
Up to speed up
Down to slow down
Left to rotate left
Right to rotate right
X to fire
Z to auto-land
Don't kill the cow!
Blue with pink wings are allies, while Pink with blue wings are enemies.
You have limited ammo, so you need to land to refill and get your HP up.
All weapons can only hit enemies, no friendly fire. This includes bombs from bombers.
Please report any bugs or tweaks I need to fix/incorporate.
Credit goes to the Sopwith team for their amazing and still fun game I love and play, Bombsight Games, witch I also love to play their Pocket Squadron game as a bomber(I can hit multiple enemy planes with one bomb!) and my brother Finn, who redrew the menu art.
P.S. you can install Sopwith on most Linux machines by running:
sudo apt-get install sopwith
and the PocketSquadron Website:
Just having fun playing with the Music Editor. This is my first song ever, so don't expect much from it!
Bug Fix: Mouse was offset in the web browser, hope that fixed it.
Note: If you just see sky, scroll down with the down arrow, and vice versa if there is dirt and stone everywhere.
Added basic terrain generation to my earlier project, not sure if there is a normal way to do it but I think it works okay. This is my second version of the terrain generator, the first is, different. It might be preferable in some cases.
So far just a test I am doing to make a very complex system of interactions as an exercise for myself. Uses blocks telling other blocks to update, and the updating block acts accordingly. You can see witch blocks are updating if you enable debug mode in the pause menu or code. The controls are:
Mouse moves cursor.
Left click draws or selects from hotbar.
Right click selects what the cursor is over.
Arrow keys/Dpad scrolls map.
I hope to add more later. Tell me what you think in the comments. Thanks!
Feel free to modify and share. Just give me credit in the description.