Git Product home page Git Product logo

ustymukhman / yetanotherzombiehorror Goto Github PK

View Code? Open in Web Editor NEW
20.0 6.0 3.0 138.07 MB

:goberserk: Yet Another Zombie Horror :video_game:

Home Page: http://35.158.218.205/experiments/YetAnotherZombieHorror/

License: MIT License

HTML 1.51% JavaScript 1.04% TypeScript 78.50% Svelte 11.80% SCSS 1.09% CSS 1.27% GLSL 4.79%
game shooter survival-shooter zombies fps tps first-person-shooter third-person-shooter electron threejs webgl webgl2 typescript svelte horror horror-game survival-horror ammojs survival zombie-survival-shooter

yetanotherzombiehorror's Issues

build problem with shaders

Hey,

this looks awesome, on first test i get

[vite-plugin-glsl] ENOENT: no such file or directory, open '/home/arpu/Work/githubsources/YetAnotherZombieHorror/src/taylorInvSqrt.glsl'
file: /home/arpu/Work/githubsources/YetAnotherZombieHorror/src/shaders/fog/main.frag
error during build:
Error: ENOENT: no such file or directory, open '/home/arpu/Work/githubsources/YetAnotherZombieHorror/src/taylorInvSqrt.glsl'
    at Object.openSync (fs.js:476:3)
    at Object.readFileSync (fs.js:377:35)
    at /home/arpu/Work/githubsources/YetAnotherZombieHorror/node_modules/vite-plugin-glsl/dist/loadShaders.js:51:35
    at String.replace (<anonymous>)
    at loadChunk (/home/arpu/Work/githubsources/YetAnotherZombieHorror/node_modules/vite-plugin-glsl/dist/loadShaders.js:41:25)
    at /home/arpu/Work/githubsources/YetAnotherZombieHorror/node_modules/vite-plugin-glsl/dist/loadShaders.js:51:20
    at String.replace (<anonymous>)
    at loadChunk (/home/arpu/Work/githubsources/YetAnotherZombieHorror/node_modules/vite-plugin-glsl/dist/loadShaders.js:41:25)
    at /home/arpu/Work/githubsources/YetAnotherZombieHorror/node_modules/vite-plugin-glsl/dist/loadShaders.js:51:20
    at String.replace (<anonymous>)

any idea ?

cannot build/run because of missing assets file

Hi,

looks like the assets dir is empty?

ERROR in ./src/characters/Enemy.js
Module not found: Error: Can't resolve '@/assets/characters/enemy.glb' in '/home/arpu/Work/githubsources/another-dumb-zombie-game/src/characters'
 @ ./src/characters/Enemy.js 12:0-51 35:81-87 45:81-87
 @ ./src/managers/Game.js
 @ ./src/ui/Game.svelte
 @ ./src/main.js

ERROR in ./src/characters/Enemy.js
Module not found: Error: Can't resolve '@/assets/characters/enemy.json' in '/home/arpu/Work/githubsources/another-dumb-zombie-game/src/characters'
 @ ./src/characters/Enemy.js 11:0-52 35:89-95 45:89-95
 @ ./src/managers/Game.js
 @ ./src/ui/Game.svelte
 @ ./src/main.js

ERROR in ./src/characters/Player.js
Module not found: Error: Can't resolve '@/assets/characters/player.glb' in '/home/arpu/Work/githubsources/another-dumb-zombie-game/src/characters'
 @ ./src/characters/Player.js 8:0-52 29:80-86
 @ ./src/managers/Game.js
 @ ./src/ui/Game.svelte
 @ ./src/main.js

ERROR in ./src/characters/Player.js
Module not found: Error: Can't resolve '@/assets/characters/player.json' in '/home/arpu/Work/githubsources/another-dumb-zombie-game/src/characters'
 @ ./src/characters/Player.js 7:0-53 29:88-94
 @ ./src/managers/Game.js
 @ ./src/ui/Game.svelte
 @ ./src/main.js

ERROR in ./src/weapons/Pistol.js
Module not found: Error: Can't resolve '@/assets/weapons/1911.glb' in '/home/arpu/Work/githubsources/another-dumb-zombie-game/src/weapons'
 @ ./src/weapons/Pistol.js 6:0-47 24:80-86
 @ ./src/managers/Game.js
 @ ./src/ui/Game.svelte
 @ ./src/main.js

ERROR in ./src/weapons/Pistol.js
Module not found: Error: Can't resolve '@/assets/weapons/1911.mp3' in '/home/arpu/Work/githubsources/another-dumb-zombie-game/src/weapons'
 @ ./src/weapons/Pistol.js 7:0-46 37:34-39
 @ ./src/managers/Game.js
 @ ./src/ui/Game.svelte
 @ ./src/main.js

ERROR in ./src/weapons/AK47.js
Module not found: Error: Can't resolve '@/assets/weapons/AK47.glb' in '/home/arpu/Work/githubsources/another-dumb-zombie-game/src/weapons'
 @ ./src/weapons/AK47.js 6:0-46 24:78-83
 @ ./src/managers/Game.js
 @ ./src/ui/Game.svelte
 @ ./src/main.js

ERROR in ./src/weapons/AK47.js
Module not found: Error: Can't resolve '@/assets/weapons/AK47.mp3' in '/home/arpu/Work/githubsources/another-dumb-zombie-game/src/weapons'
 @ ./src/weapons/AK47.js 7:0-46 38:34-39
 @ ./src/managers/Game.js
 @ ./src/ui/Game.svelte
 @ ./src/main.js

Small Changes to Existing Functionalities

  • Update default environment settings & Readme description
  • Add custom mouse pointer SVG icon based on favicon
  • Update Pause screen with Continue & Menu buttons
  • #33
  • Update camera position in non-aiming TPS mode

Add Weapon Light

Add pulsing light to AK-47 when it's spawned on stage.
Add weapon on player's back when it's picked and not equipped.

Add Settings Screen

Create Settings manager to read / write custom data to local storage (IndexedDB).
Create configurable Settings menu screen to save / reset custom game settings.
Add and describe Settings section and options in Readme.

Update Menu Screen

Add menu scene with idling enemy.
Move camera on transition to / from the Settings screen.
Move AudioScene & LevelScene to scenes folder.
Make the enemy scream on play.

Precompute Rifle Coordinates

Create a configurable array (10 as default) of pre-calculated LevelCoords on game load to randomly spawn rifle and prevent freezing during gameplay.

Change Weapon Event

Add change weapon event on mouse wheel:

  • Wheel Up -> Previous Weapon
  • Wheel Down -> Next Weapon

Update Readme Controls table.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.