Skip to content

LesniakM/JsFormer

Repository files navigation

Control: Space - jump, A - left, D - right, F - shot, Q - change weapon, R - reload.

Full readme coming soon!

Gameplay video: https://www.youtube.com/watch?v=Hs1RgEZS1rg

ezgif com-gif-maker

Changelog:

08.10.2022 Update: Stable 60fps with thousands of Slimes! (each have animations, collisions, movement and sounds)

image

09.10.2022 Update: HP/MP bars, damage from falling, jump particle effect.

image

10.10.2022 Update: Moving clouds in the backgroud.

11.10.2022 Update: Added weapon (Revolver only soo far) and bullet particles.

ezgif com-gif-maker (1)

12.10.2022 Update: Added AK47, many sounds, reload and ammo display.

ezgif com-gif-maker (2)

13.10.2022 Update 1.0.0: Added end screen with stats, damage to slimes, collisions to bullets, many sounds, red and green slimes. Tuned many parameters.

1.0.0 Gameplay video: https://www.youtube.com/watch?v=Hs1RgEZS1rg

14.10.2022 - 02.11.2022 Update: Added loading screen, image and sounds preload. Code is now formated with eslint and splitted to more files with few lines of code in each. Each js file is now imported/exported instead loading to global scope by html <script> tag. Gameplay hasn't change since ver 1.0.0.

Used technologies/packages:

-Node.js - required by Eslint, also provides npm package managemnt.

-http-server - used for local developlment, testing and debugging. Since export/imports are used, there is no way to run game without it from disk on modern browsers.

-Eslint - static code analysis. Used to spot unused variables, bad styling and much more other problems.

-Jest - test framework.

-Babel - mainly used to translate ES6 import/export to CommonJS. Might be also used to run game on older devices/browsers.

Credits:

-Main character sprite [modified]: https://game-endeavor.itch.io/mystic-woods

-Slime sprite [resized]: https://game-endeavor.itch.io/mystic-woods

-BG music [compressed]: https://not-jam.itch.io/not-jam-music-pack

-Map tiles: https://essssam.itch.io/rocky-roads

-Sound effects: https://simon13666.itch.io/sound-starter-pack

-HP/mana/stamina bar sprite [modified]: https://ppeldo.itch.io/2d-pixel-art-game-spellmagic-fx

-Clouds sprites: https://latenightcoffe.itch.io/2d-pixel-art-semi-realistic-clouds

-Guns sprites: https://munstudios.itch.io/2d-pixel-guns-pack

About

Small platformer game for learning OOP JS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published