Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New reusable assets + new gamemode (timelimit/out of time) with procedurally generated tracks #5

Open
wants to merge 42 commits into
base: master
Choose a base branch
from

Conversation

lrq3000
Copy link

@lrq3000 lrq3000 commented Mar 25, 2018

First, let me thank you very much for the amazing engine you provided and the tutorials.

I have enhanced the game a bit by replacing the assets with reusable ones under permissive licenses or made from scratch, and I added a new "out of time" gamemode with a timelimit to reach the next finish line with procedurally and randomly generated tracks (but the old "fastest lap" gamemode is still available, and also supports randomly generated track).

I also added a few things in the engine such as a rudimentary day-light cycle simply replacing the background with a progressive blending effect.

Also added a turbo, and support for mobile devices (with touch controls).

This PR is testable online here on my github: http://lrq3000.github.io/javascript-racer/

And the sourcecode is here (same as this PR): https://github.com/lrq3000/javascript-racer

Here are some screenshots:
javascript-racer screenshot night time
javascript-racer screenshot daylight

Ehuchet and others added 30 commits March 22, 2018 15:38
- includes new global var + code block at end of render function
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
…cross

Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
…when new track is shorter than previous one and cars position might overflow) + better defaults

Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
…ackground

Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
…gth and not difficulty

Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <lrq3000@gmail.com>
@scottux
Copy link

scottux commented Sep 26, 2018

trippy.

@Smugglerofnoise
Copy link

Did you have a zip folder download available for this? Just getting into java so I can make mini games for my visual novel and I'd love to play around with this version some more, It looks really nice and the touch buttons are a neat functionality.

@lrq3000
Copy link
Author

lrq3000 commented Oct 28, 2018

@Smugglerofnoise
Copy link

Awesome! Thanks for the quick response! 😊

@stewpidtnlvr
Copy link

stewpidtnlvr commented Oct 29, 2020

@lrq3000 literally right as I am looking for replacement sprites for the regular javascript racer to make a synthwave version, I find this lol should I still make it?

@lrq3000
Copy link
Author

lrq3000 commented Oct 29, 2020

@stewpidtnlvr Yes, why not? Feel free to reuse sourcecode of this repo to speedup your work if you want or restart from scratch to entirely unleash your creativity :-)

@stewpidtnlvr
Copy link

stewpidtnlvr commented Nov 10, 2020

@lrq3000 I hate to bother you again, but would you mind telling me how to change one of the billboards? | edit: ok so I did some research. I was wondering if you could tell me how to edit the already-made svg file so I can change a billboard?

…undefined turbo_left hud html element (regression in 03e087e , fix #1)

Signed-off-by: Stephen L. <lrq3000@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants