Skip to content

Commit

Permalink
smaller sand and rocks
Browse files Browse the repository at this point in the history
  • Loading branch information
KilledByAPixel committed Sep 21, 2024
1 parent 131ccc0 commit 62e00a7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions code/trackGen.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ function initTrackSprites()
//trackSprites.tunnel2_rock.colorHSL = vec3(.15, .5, .8);

// hazards
trackSprites.hazard_rocks = new TrackSprite(vec3(3,4),1e3,.2,0,.9);
trackSprites.hazard_sand = new TrackSprite(vec3(4,4),1e3,.2,0,.9);
trackSprites.hazard_rocks = new TrackSprite(vec3(3,4),600,.2,0,.9);
trackSprites.hazard_sand = new TrackSprite(vec3(4,4),600,.2,0,.9);
trackSprites.hazard_rocks.isBump =
trackSprites.hazard_sand.isSlow = 1;
trackSprites.hazard_rocks.spriteYOffset =
Expand Down
30 changes: 15 additions & 15 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@
document.body.style.backgroundColor = '#222';
}
</script>
<script src=code/debug.js?207></script>
<script src=code/utilities.js?207></script>
<script src=code/webgl.js?207></script>
<script src=code/draw.js?207></script>
<script src=code/scene.js?207></script>
<script src=code/track.js?207></script>
<script src=code/levels.js?207></script>
<script src=code/trackGen.js?207></script>
<script src=code/generative.js?207></script>
<script src=code/input.js?207></script>
<script src=code/audio.js?207></script>
<script src=code/sounds.js?207></script>
<script src=code/vehicle.js?207></script>
<script src=code/hud.js?207></script>
<script src=code/game.js?207></script>
<script src=code/debug.js?208></script>
<script src=code/utilities.js?208></script>
<script src=code/webgl.js?208></script>
<script src=code/draw.js?208></script>
<script src=code/scene.js?208></script>
<script src=code/track.js?208></script>
<script src=code/levels.js?208></script>
<script src=code/trackGen.js?208></script>
<script src=code/generative.js?208></script>
<script src=code/input.js?208></script>
<script src=code/audio.js?208></script>
<script src=code/sounds.js?208></script>
<script src=code/vehicle.js?208></script>
<script src=code/hud.js?208></script>
<script src=code/game.js?208></script>

0 comments on commit 62e00a7

Please sign in to comment.