ianzhang1990 / disease Goto Github PK
View Code? Open in Web Editor NEWA game to simulate virus spreading among people. || Still on going..... ||
A game to simulate virus spreading among people. || Still on going..... ||
I finished coding the multi-threading update code, and I think it works find. The code improves FPS sufficiently.
However, every man seems to be moving more slowly.
I don't know why?
Finish Matrix related classes and some other math classes, for they are the base of a game.
The next four lines are for testing Task List features:
self.Velocity.Truncate( self.MaxSpeed ) # make the velocity not exceed max speed
Truncate method is defined as:
def Truncate( self, max ):
"""Truncates a vector so that its length does not exceed max"""
if self.get_length() > max:
self = self.normalized()
self = (self * max)
When self.Velocity call truncate method, its value doesn't change! WHY??????
Velocity is a Vector2D class which defines a 2d vector. It contains two values, x and y. the computing result inside the Truncate method is totally correct. However, after Velocity calling the Truncate value, Velocity doesn't change at all!
check all other similair methods!!!!!!!
When CohesionOn() is called, the whole game's FPS will sharply go down.
Here are some tasks we need to do to improve game performance and enhance software features.
There are still many features unfinished in the steering bahavior class The following features have the highest priorities:
Position-Related State Machine includes:
Health Related State Machine includes:
It is very important to make behavior visible quickly. This will help to ajust some parameters of a man, and to better understand how pygame works. To achive that, we should:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.