Made a test game to see if ct.js could be something for me.
It's an old type arcade top-down car-drive game. Simple but hopefully a bit addictive 😀

Can be played as browser-game here
https://per-k-grok.itch.io/angry-road
or here
https://grock.se/html5/Angry%20Road/index.html

Also tried GameJolt and NewGrounds, but the controls (keyboard arrow-keys) did not work there (but mouse-clicks worked).

Also built a desktop version (windows). Worked well, except that an error message is shown before the game started. The same as if you try to open the browser version from the desktop. Bug or something I missed to do?

    Hi there!

    It's cool!

    But there is something funky with keyboard controls (especially when the player starts in fullscreen I guess).

    Anyway, so, could "ct.js be something for you"? What did you like about it? What did you dislike?

    Take care ; )

      @SN#203

      Keyboard controls seems to either work as intended or not work at all. As I said in the original post they did not work at all when I tested them at GameJolt and NewGrounds. I saw nothing wrong when testing on itch.io, but I did not test full screen mode. When I went back and tested switching to full screen mode, the result was at the controls stopped working. When switching back, the controls still didn't work. So I have turned of the full screen possibility in itch.io.

      My best hypothesis is that there is something in the code surrounding the game on the page in the different cases that interferes with the controls, but I'm completely out off my depth on what that could be.

      If ct.js is something for me? On that the jury is still out.

      PerKGrok When I went back and tested switching to full screen mode, the result was at the controls stopped working. When switching back, the controls still didn't work. So I have turned of the full screen possibility in itch.io.

      It actually sounds like ct.js' bug

      CoMiGo

      Got it to work.

      The game is now also on GameJolt and NewGrounds

      https://gamejolt.com/games/angryroad/726106

      https://www.newgrounds.com/portal/view/847369

      My first attempt was to add other alternative key combinations, thinking that the arrow key could be 'hijacked' for scrolling the page. That did not work. Apparently no keyboard input was accepted.

      Second attempt was to under Catmod's settings for Pointer check the box for 'Do not cancel standard browser events'. That worked, including for the arrow keys. Seems counter intuitive that this would work, but it did.

      I have not changed the version in itch.io yet.

        Write a Reply...