
Dodge X
This game is from ldjam.com, which is currently unavailable.
You can try viewing the original page on Web Archive (may not load correctly).
You can try viewing the original page on Web Archive (may not load correctly).
So this time I decided to go bonkers and try a whole new set of tools and an entirely new language :-)
May I present:
The game is written in Javascript in a trial version of Webstorm. https://www.jetbrains.com/webstorm/
I used the following site to learn javascript: https://javascript.info/
And to learn just enough WebGL I checked out this site: https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Tutorial/Adding_2D_content_to_a_WebGL_context
and since everything else was new to me, I decided to try out distance field rendering:
http://www.iquilezles.org/www/articles/distfunctions/distfunctions.htm
(The graphics for level 4 are heavily inspired by Inigo Quilez demo Slisesix)
SPACE - start the game
W/S/A/D - guess...
1 - Turn off shadow algorithms
2 - Only turn off reflected light algorithm
3 - Turn on all shading algorithms
4 - Use the FPS counter to automatically determine which detail level to use.
B - Skips a level
C - Will kill you
The rest of the instructions are on the title screen. Good luck! ;-)
As you might've guessed. Since this game uses naive unoptimized distance field rendering, you have to have a pretty good grafix card for it to work.
Since I've hardly ever seen anyone try this before I would be really happy if you mention what the FPS counter said and what graphics card your computer has.
The game works in Firefox & Chrome.
It most definitely doesn't work in Edge or Internet Explorer.
I have no idea if it works in Safari or Vivaldi...
* Nvidia GTX 960m : 18 fps
* Intel HD Graphics 530 : 9 fps
* AMD Radeon r7 series 200 : 5 fps
* And about 0.5-2.5 fps on a 5 year old low-end 32-bit windows tablets internal Intel HD graphics.
May I present:
Dodge X!
The game is written in Javascript in a trial version of Webstorm. https://www.jetbrains.com/webstorm/
I used the following site to learn javascript: https://javascript.info/
And to learn just enough WebGL I checked out this site: https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Tutorial/Adding_2D_content_to_a_WebGL_context
and since everything else was new to me, I decided to try out distance field rendering:
http://www.iquilezles.org/www/articles/distfunctions/distfunctions.htm
(The graphics for level 4 are heavily inspired by Inigo Quilez demo Slisesix)
A couple of buttons worth mentioning:
SPACE - start the game
W/S/A/D - guess...
1 - Turn off shadow algorithms
2 - Only turn off reflected light algorithm
3 - Turn on all shading algorithms
4 - Use the FPS counter to automatically determine which detail level to use.
B - Skips a level
C - Will kill you
The rest of the instructions are on the title screen. Good luck! ;-)
As you might've guessed. Since this game uses naive unoptimized distance field rendering, you have to have a pretty good grafix card for it to work.
Since I've hardly ever seen anyone try this before I would be really happy if you mention what the FPS counter said and what graphics card your computer has.
The game works in Firefox & Chrome.
It most definitely doesn't work in Edge or Internet Explorer.
I have no idea if it works in Safari or Vivaldi...
Graphics performance on a couple of different cards:
* Nvidia GTX 660 : 25 fps* Nvidia GTX 960m : 18 fps
* Intel HD Graphics 530 : 9 fps
* AMD Radeon r7 series 200 : 5 fps
* And about 0.5-2.5 fps on a 5 year old low-end 32-bit windows tablets internal Intel HD graphics.