Code to drive a community driven arcade game, built for the beloved Dicken's pub.
hang-the-dj's Introduction
hang-the-dj's People
Forkers
francislevesquehang-the-dj's Issues
Multiple animations per sprite
It would be nice to have multiple animations within one object. For example: Junior has a few sprites of just the head blinking and looking around. It would be nice to play them on top of the existing walking sprites so we don't need to build out a huge combination of sprites. Investigate a good way to do this generically.
Use animation events instead of timers
Animation events are bomb. We have a few timers to keep track of when a game object is in a certain state, but turns out animations have events that can call out to any method without parameters for the associated game object. Using these means we a) don't have to manage a timer, and b) if we change an animations timing or length, we don't need to sync up the timer length. Look at Goth1 for an examples.
Break up CityHallRoof object in multiple prefabs
Scene: LevelCityHallStation
Game Object: CityHallRoof
Description:
The object contains 6 sets of box colliders (2 for each foot of the roof, for a total of 12). This will be a huge pain if we ever need to move these around. A better alternative would be to break apart the roof sprite into a series of sprites, create two prefabs (one for left facing and one for right facing) that contains the correct colliders, and then overwrite the sprites (since they have different colours) for each instance of the prefab.
We should also investigate if having two box colliders, or combining them into a composite is more efficient.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.