Game
Star Troll
8 years ago

Star Troll on PC


Star Troll now ready to rock and roll with keyboard controls working again.
It’s an issue I had with the last game we added to GameJolt too and it took a bit of searching for me to find a solution - figured I’d add it here in case I can help someone else also.

The problem comes from the keyboard controlling the browser window rather than the game window and can be fixed by even a non-programmer (like me) with a simple copy and paste of this lovely bit of code from Ventura over at the forum here.

<!— to overcome gamejolt focus issue !—>

<script type=”text/javascript” src=”https://code.jquery.com/jquery-2.1.4.min.js“></script>
<script>
$(window).on(‘load’, function(){
window.focus();
})
document.onmousedown = function() {window.focus();};
</script>

Put this at the bottom of the inside body of index.html and hopefully it works for you as it has for me!



0 comments

Loading...

Next up

We made a lot of improvements on the Freezing Plains visual. Things like pine trees, tiny bushes, some rocks, and others game props!

#IndieGame | #IndieDev | #GameDev | #PixelArt | #WaifuQuest | #WifeQuest | #screenshotsaturday

Finished a project I've been working on over the last few days!

Modeled and textured in Blender.

#3dart #lowpoly #npbr #fantasy #hut

Just a Pico sprite

Heya! I wanted to show some gameplay progress i made so far. I hope you like it ^^

"Day to Day" (also check spud out here he's a great guy and writer: https://soundcloud.com/spudward)

An infected room from the second part of Cybel ! Are you up for some cleansing?

Levels' maps.

Path of Kami, running around the shrine area

Coming Soon...