Giter Site home page Giter Site logo

rabios / pancake Goto Github PK

View Code? Open in Web Editor NEW
106.0 2.0 4.0 3.26 MB

Lightweight, Fast, Easy-to-use HTML5 2D game framework!

License: MIT License

Python 0.51% JavaScript 85.29% HTML 14.20%
canvas canvas2d game-framework gamepad-api localstorage keyboard mouse touch mobile desktop

pancake's Issues

Example device_01.html gives false always cause of deprecated XHR asynchronous requests

OK,Let's talk about this
I don't have the huge experience when it comes to XHR
So... If you are running example device_01.html,Make sure you didn't run it from GitHub

Cause it returns false,I'm want to know how to solve this problem and if you know how,Tell me please

The example works by following these steps:

  1. Clone or download Pancake repository as ZIP file and extract it
  2. Download "moesif Origin and CORS changer" extension,Here for mozilla firefox,Else here for google chrome
  3. Install and run http-server,Use npm install -g http-server
  4. Then go to examples folder and run command http-server
  5. Go to one of the links runs by http-server
  6. Select file device_01.html to see in action
  7. Click on moesif extension you installed,Turn moesif CORS on from extension
  8. If example gives true,Then it works
  9. Close the example and turn moesif CORS off from extension (For security and privacy)
  10. That's all

Please help me to let it run in GitHub

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.