Git Product home page Git Product logo

yuaanlin / computer-graphics-final-project Goto Github PK

View Code? Open in Web Editor NEW
10.0 1.0 0.0 21.06 MB

Final project of 2021 ZJU Computer Graphics course. A simple game based on WebGL. 浙江大学 2021 秋冬学期《计算机图形学》课程期末大作业,一款基于 WebGL 的 Minecraft 风格赛车游戏。

Home Page: https://zju-computer-graphics.linyuanlin.com

HTML 2.07% TypeScript 90.68% CSS 2.09% JavaScript 5.16%
webgl webgl-game game minecraft zombies computer-graphics zhejiang-university zju

computer-graphics-final-project's Introduction

computer-graphics-final-project

浙江大学 2021 秋冬学期《计算机图形学》课程期末大作业,一款基于 WebGL 的 Minecraft 风格赛车游戏。

游戏目标是尽可能的开车撞死僵尸,撞死越多分数越高,但要小心如果车掉出地图或是被僵尸巨人抛出的泥土块击中,则游戏结束。

Zhejiang University 2021 Fall-Winter course "Computer Graphics" final project, a Minecraft style car game based on WebGL.

Try your best to kill the zombies with car, but watch out the big grass blocks thrown by giant zombie.

Online Demo 线上版本

https://zju-computer-graphics.linyuanlin.com/

Getting Start

# install dependencies
yarn install

# Start development in local server
yarn dev 

Build

yarn build

# Output folder is `dist`

How to play

In walking mode, WSAD for move and space to fly up, x to fly down.

When you close enough to the car, press f to drive it.

In driving mode, W to speed up, S to brake or back the car.

Press A and D to turn the wheel direction.

Press N to switch time between day and night.

Press C to take a screenshot.

Screenshots

computer-graphics-final-project's People

Contributors

che-kai avatar yuaanlin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.