Game
Star Troll
10 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

Just as Pecaminosa's musicians #improvise this rendition of #LittleSunflower 🌻, so do we improvise with this post you're reading. 😂

What's coming out of your own improvs? 🤔

#Pecaminosa | #IndieDev | #OST | #Jazz

Werehog transformation process. #sonicunleashed

Finished work on the emotions of a new character for the tank universe

One of the most critical update for Sunblaze demo. Now you are able to pet a cat! Finally!

If you have more of an acquired taste, the restaurants in Niravasi have you covered! Maybe skip the salad bar, though.

not the greatest house, but it's a house! :D

Explosive domino effect

Our menu, gathered a huge feedback and positive comments among foreign audience, what you say? Game Steam: https://store.steampowered.com/app/1543090/LiBER/

Double Rainbow!!!