rework + cool bomber

This commit is contained in:
2026-02-24 00:46:50 +01:00
parent 9eb426021e
commit 8a039adc05
46 changed files with 737 additions and 82 deletions

View File

@@ -42,12 +42,16 @@ Maps = {
name = "Vovchansk",
description = "This is a map",
locked = false,
unlockMissions = 0,
killTarget = 10,
},
{
id = 2,
name = "Mariupol",
description = "This is a map",
locked = false,
locked = true,
unlockMissions = 3,
killTarget = 15,
}
}
@@ -71,9 +75,10 @@ Drones = {
{
id = 2,
mode = Modes.bomber,
name = "Drone 2",
name = "Bomber",
description = "This is a drone",
price = 200,
stockPrice = 50,
locked = false,
preview = nil,
full = nil
@@ -82,7 +87,7 @@ Drones = {
id = 3,
name = "Drone 3",
description = "This is a drone",
price = 300,
price = -1,
locked = true,
preview = nil,
full = nil
@@ -91,7 +96,7 @@ Drones = {
id = 4,
name = "Drone 4",
description = "This is a drone",
price = 400,
price = -1,
locked = true,
preview = nil,
full = nil
@@ -114,6 +119,10 @@ import "scripts/bomber/movableCrosshair"
import "scripts/bomber/granade"
import "scripts/bomber/explosionMark"
import "scripts/bomber/enemy"
import "scripts/bomber/ammoCrate"
import "scripts/bomber/smokeCloud"
import "scripts/bomber/floatingText"
import "scripts/bomber/allyBullet"
import "scripts/bomber/noiseAnimation"
import "scenes/BaseScene"
import 'scenes/Assemble'
@@ -150,12 +159,49 @@ Noble.Settings.setup({
debug = false
})
Targets = {
{
id = "tank",
name = "Tank",
sprite = "assets/sprites/targets/tank",
spriteD = "assets/sprites/targets/tank_dead",
briefing = [[The drone is assembled and operational. We are ready for the mission.
An enemy tank is confirmed in the field. It threatens our advance.
Your task: eliminate the target. Clear the path for our assault units.
This operation is crucial. Execute with precision. Command out.]],
},
{
id = "btr",
name = "BTR",
sprite = "assets/sprites/targets/btr",
spriteD = "assets/sprites/targets/btr_dead",
briefing = [[The drone is assembled and operational. We are ready for the mission.
An enemy BTR has been spotted moving through the area. It's transporting troops.
Your task: hit the BTR before it reaches the frontline. Stop the reinforcements.
Time is critical. Strike hard. Command out.]],
},
}
CurrentMission = {
mapId = 1,
droneId = 1,
targetIndex = 1,
}
Noble.GameData.setup({
drone1 = 0,
drone2 = 0,
drone3 = 0,
drone4 = 0,
money = 150
money = 500,
bomberStock = 3,
missionsCompleted = 0,
})
playdate.display.setRefreshRate(50)