Comments (2)
John: I showed this to Wyatt and he suggested creating the spans in javascript so we don't have a ton of spans in the .html page. I'm inclined to agree, because those spans are making the page gigantic and hard to read. What do you think?
from deathdeath.
I'd prefer to leave it as is so that it's included as the page renders. Our JS should fire after the html is ready through use of the window.onload() event.
We'll need to adjust the index.html file very little moving forward, save for the addition of more <script></script> includes.
from deathdeath.
Related Issues (20)
- Player movement HOT 2
- Player object HOT 1
- Coding Standards HOT 4
- Sprite display HOT 3
- Integrate control JS into dd object
- Add spell casting interface HOT 1
- add fireball spell
- Entity prototype object HOT 1
- Enema AI
- Maps: Clipping
- Maps: Next sector
- Separate entities into own global object
- Add hit points to entities
- remove entities when hp <= 0
- Fireball animation
- Fireball sprite HOT 1
- Draw different types of sprites on different z-indicies HOT 1
- fork Entity into Characters and Sprites
- Add coordinate accessors to Entity
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.
from deathdeath.