Log In  


Cart #warriorofcayuse-8 | 2023-05-24 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
28

you are a pilot of MD530F Cayuse warrior.

pilot this tiny helicopter and complete your challenging missions !

You have two kinds of missions : ground attack and rescue.

in ground attack missions, you have to destroy all given targets in the level.

in rescue missions, you have to rescue the hostages and carry them back to your base.
you get a bonus helicopter if you success this mission, but if half or more of hostages are killed the mission is considered as failure and you can't get that bonus.

during the mission, enemy aircrafts (self-destructing drones, gunships, and bombers) will appear to stop you. if you heard aircraft warning sound, watch your radar and fight or avoid them carefully.

by landing at the base, you can rearm weapons and repair the helicopter.
if you press X while landing at the base, you can switch the main weapon between minigun and rockets.

minigun has large amount of ammo and fast firerate speed, which is useful for anti-air and anti-personel but it can't damage armored enemies or buildings.

rockets can damage armored enemies, but its slow projectile speed and less amount of ammo make it hard to deal with aircrafts.

your helicopter can take 2 gunfires, but everything else (flak cannons, shells, bombs, rockets, and walls) can destroy it with one hit.

controls :

X : Fire main weapon / drop bombs when facing center / switch main weapon

Holding O while facing sides : face the opposite direction.

shortly tapping O while facing sides : face the center.

Pressing O while facing center and holding left or right : face the desired direction.

since I had ran out of tokens I couldn't add scoreing and leaderboard. just try and see how many missions you can complete.

28


At first glance of your code, one way you can save tokens is by declaring and assigning variables on a single line. So this:

gamemode=0
stlevel=1
titlerotor=0

Becomes this:

gamemode,stlevel,titlerotor=0,1,0

This will get you closer to being able to implement scoring and saving of the highest score.


You can do it with tables too:

wpnmaxammo={60,30}
wpnspd={4,2.75}

Becomes:

wpnmaxammo,wpnspd={60,30},{4,2.75}

Thanks timeandspace, I didn't know that was possible.


Note that you can't use this trick when declaring variables within tables though.


Another tip. For methods that use only multiple ints as parameters, you can change this:

rectfill(37,118,88,127,5)

To this:

rectfill(split("37,118,88,127,5"))

It will only save you tokens if there are more than two ints though.


@timeandspace it needs unpack() to work

rectfill(unpack(split"37,118,88,127,5"))

@hijongpark be aware that many token saving techniques can have significant perf impact.
For ex, the above construct is almost 2x slower than regular rectfill call

..
and excellent job!
game is super hard but super enjoyable


1

1.1 patch

  • I have optimized the code and added scoring. you gain a score when you complete each objectives. Since i didn't want the score displayer to hide the screen all the time the score is only displayed when you are landed at the base or starting/ending the mission.

  • I have adjusted the difficulty, nerfing ground units and buffing air units as they are suppossed to be your biggest threat.

1.2 patch

  • Infantries will use rocket launcher more frequently as the difficulty increases.

  • Enemy helicopter's movement speed increases based on the difficulty.

  • level 4 has 12 hostages instead of 6.

  • Increased enemy aircraft spawn cooltime.

1

Easily a new favorite of mine. So addicting!


1

1.3 patch

  • Increased minigun's ammo capacity to 250 from 240.

  • slight modification to enemy helicoipter's AI.

  • Spawn speed of enemy aircrafts changes based on the number of objectives. (less objective means faster spawn)

1

Lovely game!
btw, your itch and youtube are not properly linked


1

I was finally able to break 100!


This is every bit as fun as the original!


1.4 patch

  • turrets don't spawn infantries when destroyed by explosives, making them less annoying.

1.5 patch

I found the helicopter's speed too fast for such small screen so reduced it along with enemies'


1.6 patch

  • fixed a bug sometimes self destructive drone's explosion don't kill the player.

  • reduced infantry's max rocket launcher rounds.

1.7 patch

  • Fixed annoying bug where sometimes infantries launch rocket launcher instantly when they appeared on screen.

1

1.8 patch

  • if you destroy AAAs with minigun, infantries will appear in 1/3 probability instead of always.


[Please log in to post a comment]