2022-02-07 21:38:35 +08:00
|
|
|
#pragma once
|
|
|
|
|
2022-02-09 16:44:09 +08:00
|
|
|
#include "tinyengine/libmath.hpp"
|
|
|
|
|
2022-02-08 21:02:52 +08:00
|
|
|
constexpr float FreightShipMaxSpeed = 100;
|
2022-02-09 16:44:09 +08:00
|
|
|
constexpr float FightShipMaxSpeed = 250;
|
2022-02-08 21:02:52 +08:00
|
|
|
constexpr int FreightLife = 10;
|
2022-02-07 21:38:35 +08:00
|
|
|
constexpr float LazerDamage = 2;
|
2022-02-08 21:02:52 +08:00
|
|
|
constexpr float LazerShooterSpeed = 500;
|
2022-02-07 21:38:35 +08:00
|
|
|
constexpr float LazerShooterMaxSpeed = 1000;
|
|
|
|
constexpr float LazerShooterCooldown = 0.3;
|
2022-02-09 22:33:06 +08:00
|
|
|
constexpr float MissileRotateDegree = 150;
|
2022-02-09 16:44:09 +08:00
|
|
|
|
|
|
|
constexpr Size GameWindowSize = {1024, 720};
|
|
|
|
|
|
|
|
constexpr Rect BulletRefreshArea{-100, -100, 1124, 820};
|
2022-02-09 22:33:06 +08:00
|
|
|
constexpr Rect SpaceshipRefreshArea{-1024 * 3, -720 * 3, 1024 * 7, 720 * 7};
|