Comments (9)
I still don't get what line endings would have to do with this issue.
What is the issue? "I can't run the game" is about as handy as "my car doesn't work" :P – is there an error in the web browser console? If so, could you copy and paste it here? Does it not do anything at all? Is gulp
not working properly? (Again, if so, could you copy and paste gulp's logs here?)
(edit: sorry if I'm not being very clear.)
from slw.
Yeah, sorry.
To run the game, you'll want to get a server running in the game's directory, due to various issues. python3 -m http.server
or python2 -m SimpleHTTPServer' should work. Then open up the server in your web browser (probably
http://localhost:8000`) and the game should work.
from slw.
But without using gulp, it works great without server.
from slw.
Maybe code downloaded from server is encoded AS DOWNLOADED FILE as LF, but gulp result in CRLF.
from slw.
Maybe, but I'm pretty sure the browser deals with that automatically so it shouldn't be a big issue.
Are you getting an error in the terminal console or the browser console? Or is it something completely different that I'm not understanding?
from slw.
But without using gulp, it works great without server.
That would break fonts.
from slw.
@liam4 logs are on my pull request
from slw.
Building works fine for the rest of us, even on your PR, @dekrain.
from slw.
When I build original code, result is other than file downloaded from the server
from slw.
Related Issues (20)
- Add death state HOT 4
- World Map HOT 14
- Uglify removes `debugger`
- Add lint check for line length HOT 2
- Add control buttons for mobile devices HOT 2
- Small player spritesheet HOT 1
- Jumping through solidTop blocks is jittery HOT 2
- Entities don't move HOT 9
- Punching a block doesn't reset yv
- Add invisible block HOT 2
- Go through pipes HOT 2
- Destroying a level doesn't remove entities HOT 1
- Level editor? HOT 11
- Moving up on world map causes airpunch event
- entityUpdate should be renamed to updateEntities
- WASD controls HOT 1
- Level saving HOT 13
- Editor camera position HOT 1
- Crouching / Ground-pounding
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 slw.