An Archer Game

This is a prototype game built using the Phaser framework.

Gameplay

Kill all enemies, which will unlock the portal.

Step on the portal to activate it, then press enter to proceed to the next level

Controls

  • Use Arrows to move ⬅️ ⬆️ ➡️ ⬇️
  • B opens the build menu (Work in progress)
  • C opens the stats menu (Work in progress)
  • Space to attack (if auto-attack is not enabled)
  • Enter progress to the next level when portal is active
  • Esc pause menu

Attributions

This project utilizes the following resources:

Roadmap

  • add stats ability
    • on level up player gains a stat point, which they can choose between different stats:
      • strength + 5% damage
      • agility + 5% attack damage
      • vitality + 5% health
      • intelligence + 5% extra xp
  • powerups
    • e.g. double damage, invulnerability, fast speed (Attack speed, movement speed)
  • different heroes
    • one is faster, one is tank, one is glass cannon etc
  • active skills
    • e.g. freeze in a radius, nuke in a radius etc
  • add score
    • on enemy kill add some score
    • have a high score (local storage only for now)
    • display the score
    • add functionality for active skills which can be enabled with hotkeys, have duration and cooldown:
      • for example: double arrows for 30s, double attack speed for 30s
  • building
    • add ability to build things
      • each building shall persist through levels
    • on pressing "B" game pauses and add ability to place "blocks" (placeholders for now)
  • enemy walk logic
    • shall follow a target
    • implement pathfinding
    • some enemies (for example ghosts) shall be able to pass barriers
  • developer settings
    • xp modifier

Todo

  • On pause screen, resume game on "Esc" press
  • Display the current player level in game UI
  • show current / max health
  • Have a "Stats" UI in-game (for example when clicking "C" or "S")
  • health regeneration logic
  • Floating numbers
    • for Damage Inflicted
    • Damage Received
    • xp gained
    • health replenished
  • Add "Critical Hit" logic - critical chance + critical damage (multiplier)
  • log - show text log of actions - attacked, received damage, regenerated health, gained xp, gained coins etc
  • on stats screen (on pressing c) display list of affected stats (e.g. extra damage multiplier etc)
  • difficulty slider in settings
  • log improvements
    • change font
    • change text size
    • partial bold in log entries
    • partial color change in log entry (for example "inflicted red->50 damage)
    • format numbers in logs (show 1.5m instead of 15125555)
    • ability to "collapse" & "expand" the log
    • ability to resize the log
  • Have a "Bestiary" in main menu (display list of enemies with their stats)
  • Support "ASDW" movement
  • Support GamePad
  • Add UI for changing key bindings inside settings
  • settings
    • ability to disable floating numbers
      • perhaps granularly
  • Enemy "Death" animation
  • Hero "Level Up" animation
  • Enemy "Spawn" (birth) animation
  • Fix arrow logic - currently there is a bug when multiple arrows are shot, the enemy is already defeated but after the arrow arrives at destination, XP is awarded again
  • Fix portal logic - can somehow use portal multiple times by spamming enter key
  • Fix regen logic
  • hp regen shall be paused on different scenes - make sure not to regen hp during pause, stat select etc
    • intervals not being cleaned properly
  • issues after restarting the game after death
    • hp regen setinterval is not cleared
    • errors in the console
  • Sound effects
    • Shoot arrow (~2 samples)
    • Enemy hit (~2 samples)
    • Enemy dead (~2 samples per enemy)
    • Level up (1 sample)
    • Player hit (~3 samples)
    • Player dead (~2 samples )
Updated 18 hours ago
Published 2 days ago
StatusPrototype
PlatformsHTML5
Authorgagvirus
GenreRole Playing
Tags2D, Top-Down

Leave a comment

Log in with itch.io to leave a comment.