Commit 51db085f authored by ogomez92's avatar ogomez92

test

parent 816305f5
......@@ -8,4 +8,5 @@ Version 3.0 September 2018
- Make new version available menu option launch the oriolgomez.com website.
- Fixed a possible exploit in betting games.
- New minigame, ready set go.
- fixed scoring in the new ready set go minigame
\ No newline at end of file
- fixed scoring in the new ready set go minigame
- Added a bunch of soundspacks that were uploaded, please keep uploading new content!
\ No newline at end of file
......@@ -871,7 +871,7 @@ class GoGame {
constructor() {
this.th1=1980;
this.th2=2015;
this.th3=2020;
this.th3=2025;
this.inp=new KeyboardInput();
this.inp.init();
this.combo=0;
......@@ -903,7 +903,7 @@ loop() {
if (this.inp.isJustPressed(KeyEvent.DOM_VK_SPACE)) {
this.pool.playStatic("go_shoot",0);
this.elapsedTime=this.time.elapsed;
if (this.elapsedTime>=2000 && this.elapsedTime<2008) this.elapsedTime=2000;
if (this.elapsedTime>=2000 && this.elapsedTime<2006) this.elapsedTime=2000;
console.log("time "+this.elapsedTime);
if (this.elapsedTime==2000) {
this.curscore=2000;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment