Skip to content

Kiyoshi364/wasm-wars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wasm Wars

A Advance Wars Clone made for the wasm4 Fantasy Console.

How to build and run from source

If you only want to play the game in your brouser consider this link. Note zig is used to build the game (how to install: site github). Also w4 is necessary to run/or bundle the game (how to install: site).

To build the game:

zig build -Drelease-small

Options after building:

  • Run (browser):
w4 run zig-out/lib/cart.wasm
  • Run (as an executable):
w4 run-native zig-out/lib/cart.wasm
  • Bundle (create executabe/web page) (example for web page):
w4 bundle zig-out/lib/cart.wasm --html index.html

How to Play (Instructions)

  • If you are familiar to Advance Wars use Keyboard X as Button A and Keyboard Z/C as Button B.

  • Use arrows to move your cursor, X as yes/select and Z/C as no.

  • The objective is to eliminate all oponent's units.

  • After a Player finishes their turn, click on an empty ground to finish your turn.

  • Tip: the little car is an APC, it can transport foot soldiers (one at a time) by moving them into the APC's tile.

Known Bugs

  • Graphical
    • Evoking an menu on the farther right side, renders the menu off-screen

Missing Features (Priority List)

Important

  • Initial Screen
  • Graphics
    • More Units
    • Terrain
    • HQ / Cities

Do-able

  • Dinamic graphics for roads/rivers (corners, sideways, ...)
  • Cities
    • Capture
    • Money

Up next

  • Building Units
    • Factory
    • Airport
    • Port
  • Luck calculation (on combat)

Bonus

  • Help info
  • Change Pallets
  • Idle Animation

Closer

  • Unit movement
    • Animations
      • Unit moving (instead of teleporting)
      • Arrow showing Path
    • Proper fuel cost calculation
      • Use cursor path not the optimal
  • Unit Combat
    • Ammo

Farther

  • Map Builder
  • Fog of War
  • CO's
    • day to day
      • attack bonus
      • defence bonus
      • others
    • star power
  • Campaign

About

A Advance Wars Clone made for the wasm4 Fantasy Console

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages