1. 27 Dec, 2020 1 commit
    • Rahix's avatar
      Don't return to heaven immediately · 94fc5be2
      Rahix authored
      Show a banner message that a return to heaven is imminent and count down
      for 3 seconds before going back to heaven.  This makes the game flow
      a bit smoother as it provides an indication to the player that the
      challenge is completed now.
      94fc5be2
  2. 26 Dec, 2020 2 commits
  3. 22 Dec, 2020 2 commits
    • Rahix's avatar
      main-menu: Add link to GitLab · 497c0662
      Rahix authored
      Hopefully some people will accidentally click on it and start
      contributing ;)
      497c0662
    • Rahix's avatar
      Display version in the bottom left corner · 1780f0f8
      Rahix authored
      Extract the current version from git during build-time and display it
      ingame in the bottom left corner.  Currently, this is done at WASM
      build-time so we might not capture changes to the www/ part which
      happened after a WASM build.  A possible solution would be to display
      a second version from JavaScript if we detect that the two are
      different.
      
      Fixes #18.
      1780f0f8
  4. 21 Dec, 2020 1 commit
  5. 14 Dec, 2020 2 commits
  6. 13 Dec, 2020 2 commits
  7. 05 Dec, 2020 7 commits
    • Rahix's avatar
      www: Add RC3 logo in the corner · 2317e91a
      Rahix authored
      2317e91a
    • Rahix's avatar
      components: Add some orbital movement to the nodes · fbdb2636
      Rahix authored
      Just playing around with the ECS, make the nodes orbit around "The Sun".
      fbdb2636
    • Rahix's avatar
      www: Add RC3 fonts · 6e6d98aa
      Rahix authored
      Add both Orbitron and Montserrat as font-families to the Sass
      stylesheet.
      
      Montserrat should be used for running text, with "regular" font-weight
      and Orbitron is meant for headers, in the "black", "bold", "bold",
      "medium" font-weights (descending header levels).
      6e6d98aa
    • Rahix's avatar
      www: Add RC3 colors to stylesheet · 188f2c8b
      Rahix authored
      Add Sass variables for all the (primary) RC3 colors.  Use them where
      appropriate.
      188f2c8b
    • Rahix's avatar
      www: Add Sass stylesheet · c9be0fb4
      Rahix authored
      Don't embed the stylesheet into the HTML; use Sass instead.
      
      Loading the stylesheet is magic: Apparently, webpack will insert
      a <link> tag into the HTML during bundle loading.  I was not able to
      make it emit a proper static CSS file so far; this should probably be
      revisited at some point.
      c9be0fb4
    • Rahix's avatar
      www: Restructure directory · 70db4d19
      Rahix authored
      70db4d19
    • Rahix's avatar
      Start working on an actually useful prototype · aa678e3e
      Rahix authored
      - Make the canvas fit itself to the screen.
      - Add an SVG overlay which we can use to easily detect click-events in
        certain places (use only SVG for rendering maybe?).
      - Rename `src/lib.rs` to `src/main.rs` as that's what people are used to
        (the fact that we are building a cdylib is irrelevant for this).
      - Add a utils.rs module and move things like request_animation_frame()
        there.
      - Add a global timer/clock resource.
      aa678e3e
  8. 03 Dec, 2020 1 commit