Skip to content

Immerse yourself in thrilling gameplay with a diverse weapon arsenal, challenging adversaries like the relentless Reapers, and treacherous landscapes. Safeguard the void by defeating enemies, unlocking new weapons, and progressing through portals. Your cosmic battle experience awaits!

License

Notifications You must be signed in to change notification settings

Riborok/Void-Guardian

Repository files navigation

Void Guardian


Engage in dynamic gameplay featuring an extensive arsenal of weapons and formidable adversaries, as you navigate through the void. Face the relentless Reapers, swift and deadly adversaries that must be defeated to ensure the void's safety. Find new weapons, navigate treacherous landscapes, and transition to the next level through portals.

Chapters


Survive and Thrive


Game

Embark on a challenging survival adventure with the goal of reaching the highest level. Be ready for growing challenges as the amount of rooms increases and arenas expand in size at each level. Move through larger spaces, face more enemies, and prepare for tougher opponents. Your success depends on finding powerful weapons that are essential to overcome the increasing challenges in this cosmic battle.

Gameplay


In the ever-evolving gameplay of Void Guardian, the transition between levels is marked by distinct thresholds that significantly influence the gaming experience. These thresholds act as key milestones, introducing notable changes to various parameters, ensuring a progressive and engaging journey for players.

Parameter Gradation

Between each threshold, the changes in parameters are gradual, ensuring a smooth progression in difficulty and complexity. However, the transition from one threshold to another brings about more pronounced alterations, making the gameplay experience more challenging and visually distinct.

Threshold Values

FIRST_THRESHOLD = 6

SECOND_THRESHOLD = 9

Level Thresholds

  • 0 Threshold (Before FIRST_THRESHOLD): In the initial stages of the game, before reaching the FIRST_THRESHOLD, players experience a gradual introduction to the game's mechanics. Challenges are relatively mild, offering a chance to familiarize themselves with the controls and basic gameplay;

  • 1 Threshold (Before SECOND_THRESHOLD): As players surpass the FIRST_THRESHOLD but remain below the SECOND_THRESHOLD, the game's intensity starts to escalate. Parameters shift, creating a more demanding environment. However, these changes are still incremental, allowing players to adapt progressively to the evolving challenges;

  • 2 Threshold (After SECOND_THRESHOLD): Beyond the SECOND_THRESHOLD, the game enters a stable phase. Here, parameters cease to fluctuate, offering a consistent and challenging experience. Visual elements, such as background and room structures, remain constant, creating a sense of stability in the game's aesthetics.

Level-changeable parameters

  1. Gun Number (for enemy guns and armory rooms) and Enemy Character Number Generation:

    • Utilizes an exponential distribution, where lower exponents correspond to higher probabilities of obtaining larger values. This affects the gun spawn number and enemy spawn number. Result: higher chances of encountering powerful weapons and formidable adversaries with each level, amplifying gameplay challenge.
    • Gradually decreases the exponents with level and decreases more sharply with changes in threshold.
  2. Background and Boundary Numbers:

    • Witness specific changes at each threshold for noticeable aesthetic shifts.
  3. Enemy Spawn Configuration:

    • Adjusts enemy quantity and spawn intervals based on the level.
    • The amount of enemies gradually increases, and the spawn interval decreases with level and more sharply with a change in the threshold.
  4. Arena Random Size:

    • Defines the minimum and maximum size of the arena.
    • Gradually increases with the level and increases more sharply with changes in the threshold.
  5. Bullet Spread:

    • Refers to the spread of enemy shots.
    • Gradually decreases with the level and decreases more sharply with changes in the threshold.
  6. Map Dimensions:

    • Determines the amount of rooms horizontally and vertically.
    • Gradually increases with the level and increases more sharply with changes in the threshold.

Rooms


In the enigmatic universe of Void Guardian, players navigate through various rooms, each presenting unique challenges and opportunities for progression.

Room Types:

1. Portal Room

Entrance Portal:

In Portal

Exit Portal:

Out Portal

Description: The portal room serves as a gateway to new levels. It features both an entrance and an exit portal. To enter the portal, press the take key. The entrance portal transports players to the starting menu, providing an opportunity to regroup and strategize. Conversely, stepping into the exit portal propels players to the next level, ensuring an ever-expanding cosmic adventure.

2. Arena Room

Arena

Description: In the arena room, players face formidable adversaries. Victory is achieved by defeating all enemies within the arena. The intensity of battles increases with each level, demanding strategic prowess and combat skills.

3. Armory Room

Armory

Description: The armory room holds the promise of powerful weaponry. Players have the chance to discover and equip new weapons, enhancing their combat capabilities. To take a weapon, press the take button

Characters


In the cosmic battle of Void Guardian, you encounter a variety of characters, each with unique attributes and roles. Understanding these characteristics is essential for survival.

Player Characters Health Armor Armor Strength Speed
Character0 100 30 1.15 0.6
Character1 120 40 1.3 0.4
Character2 90 20 1 0.8
Enemy Characters Health Armor Armor Strength Speed
Character3 40 10 0.15 0.3
Character4 55 20 0.45 0.4
Character5 70 30 0.8 0.5

Playable characters are controlled by the player, while enemies pose a threat and must be defeated for progress in the game.

Guns and Bullets


In the dynamic world of the game, understanding the mechanics behind damage and weaponry is crucial for survival and success. The damage inflicted by bullets is calculated based on a formula that considers armor strength and penetration. Here's a glimpse of the damage calculation formula:

character.armor_strength -= bullet.armor_penetration;
if (character.armor_strength < 0) { character.armor_strength = 0; }

damage = bullet.damage - character.armor_strength * character.armor;
if (damage > 0) { character.health -= damage; }

Available arsenal, each with its unique characteristics. The table below provides an overview of various guns, detailing their reload time, bullet type, damage, armor penetration, and speed. Each weapon corresponds to a specific type of bullet.

Gun Reload Time Bullet Damage Armor Penetration Speed
Gun0 750 Bullet0 8 0.05 3
Gun1 800 Bullet1 11 0.05 3.2
Gun2 600 Bullet2 9 0.075 2.9
Gun3 1200 Bullet3 19 0.1 2.7
Gun4 800 Bullet4 13 0.075 3
Gun5 600 Bullet5 12 0.05 3
Gun6 1000 Bullet6 23 0.125 4
Gun7 850 Bullet7 20 0.1 4.2
Gun8 350 Bullet8 13 0.075 4.2
Gun9 400 Bullet9 13 0.125 3
Gun10 750 Bullet10 22 0.2 3.2
Gun11 600 Bullet11 20 0.25 4
Gun12 250 Bullet12 16 0.1 5
Gun13 550 Bullet13 23 0.2 2.75
Gun14 450 Bullet14 25 0.225 3.25
Gun15 1500 Bullet15 32 0.3 4.2

Weapon Rarity Increases from Top to Bottom. Choose wisely to face increasingly challenging adversaries and ensure victory in the ever-evolving battleground.

Controls


Control

To customize controls, simply click on the button you want to change—it will become highlighted. Then, press the button you wish to assign to the selected action (press Esc to cancel). Note that there are only two reserved buttons: Esc (to go back and call pause) and F11 (to toggle fullscreen mode).

Note: Each action can be assigned to only one button.

Author


  • Egor Pankratiev

License


This game is released under the MIT License. For more information, check the LICENSE file.

About

Immerse yourself in thrilling gameplay with a diverse weapon arsenal, challenging adversaries like the relentless Reapers, and treacherous landscapes. Safeguard the void by defeating enemies, unlocking new weapons, and progressing through portals. Your cosmic battle experience awaits!

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published