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.

P#97333 2021-09-15 06:14 ( Edited 2023-05-24 00:15)

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.

P#97334 2021-09-15 08:34 ( Edited 2021-09-15 08:34)

You can do it with tables too:

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

Becomes:

wpnmaxammo,wpnspd={60,30},{4,2.75}
P#97335 2021-09-15 08:35 ( Edited 2021-09-15 08:37)

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

P#97336 2021-09-15 08:36

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

P#97338 2021-09-15 08:37

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.

P#97340 2021-09-15 08:48

@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

P#97349 2021-09-15 18:39 ( Edited 2021-09-15 18:46)
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.
P#97388 2021-09-16 05:58

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.
P#97488 2021-09-18 12:06
1

Easily a new favorite of mine. So addicting!

P#97534 2021-09-19 06:55
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)
P#97693 2021-09-23 02:59
1

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

P#97748 2021-09-24 13:20
1

I was finally able to break 100!

P#98000 2021-09-29 18:58 ( Edited 2021-09-29 18:58)

This is every bit as fun as the original!

P#100790 2021-11-25 06:32

1.4 patch

  • turrets don't spawn infantries when destroyed by explosives, making them less annoying.
P#110775 2022-04-24 07:14

1.5 patch

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

P#110861 2022-04-26 00:35

1.6 patch

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

  • reduced infantry's max rocket launcher rounds.
P#110927 2022-04-27 07:34

1.7 patch

  • Fixed annoying bug where sometimes infantries launch rocket launcher instantly when they appeared on screen.
P#110973 2022-04-27 23:46
1

1.8 patch

  • if you destroy AAAs with minigun, infantries will appear in 1/3 probability instead of always.
P#130085 2023-05-24 00:16

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 07:35:11 | 0.043s | Q:41