Git Product home page Git Product logo

t-rex-runner's Introduction

t-rex-runner's People

Contributors

dennisguse avatar maniacofgithub avatar michaelairola avatar rhythm-sharma avatar stefdelec avatar steinerkelvin avatar wayou avatar zouariste avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

t-rex-runner's Issues

T-rex-runner Game from Chromium Updated

There are some new update to the game in Chromium.

  1. Arcade mode - the game becomes fullscreen.
  2. Birthday mode - I don't know when it's enabled but when you enble it cake appears on the screen and if you eat it the trex has birthday hat and the clouds become balloons.

It would be nice if this repository will be updated as well.

Safari Mobile Browser- Game Over View Not Rendered

For some reason, the game over view is not loaded in safari mobile/ipad browser. The runner stick with cactus on collision, and the game over view/canvas never appear.

Works fine in android mobile browser, and safari "pc web browser" as well. Tested on my ipad safari browser, all works well expect game over view.
So I have to reload the page every time.

it does not work

whenever I try to run it, either on firefox or chrome only "press space" appears, nothing else

No dark mode

If there is a dark mode like original chrome, it will be better.
:)

score bug

Change the size of the browser window during the game, the game screen will pause, and when the game is back, the score will suddenly change.That is,when the game is paused, the score is not paused.

not opening in ie

the game completely fails to open in ie.
var keyframes = '@-webkit-keyframes intro { ' +
'from { width:' + Trex.config.WIDTH + 'px }' +
'to { width: ' + this.dimensions.WIDTH + 'px }' +
'}';
document.styleSheets[0].insertRule(keyframes, 0); // error is here maybe

Update to the latest game version

Chrome updated the game, added pterodactyls and fixed a few bugs, such as floating after jumping and quickly making the window inactive (GIF below), perhaps this repo needs an update?

trex

Correctness question

How does this make sense?

for (var i = 0; i < this.obstacles.length; i++) {

updatedObstacles = this.obstacles.splice(0) will empty this.obstacles.
Hence

for (var i = 0; i < this.obstacles.length; ++i)

will not do anything as this.obstacles.length will return 0.

Am i missing something?

Game doesn't scale ( like it did in chrome://dino )

When resizing windows/playing on full screen the game doesn't scale along with the screen. A workaround is putting the scale in manually by adding scale(x) to <div class="runner-container" ... but it makes it look blurry while the main game ( chrome://dino ) would enhance the game ( like in vector graphics ).

License

Hello,
This is a great job!
But i'm wondering what license have this project?

Thanks a lot.

about the PNG generating

Thanks for sharing this interesting project.

I would like to adapt this to make a gift for my friend's birthday.

Could you please share some lights on which tools you used to generate different version PNG?

I will add more Letters, but don't know which tools to use ,and how to determine the letter's boundary.

Thanks. Any knowledge would be appreciated!

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.