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

Another house i made long time ago.

In the quest for accessibility, I'm adding Resurrection Shrines for players on the 'novice' end of the platforming spectrum.

In order to unlock the power of a Shrine, you must collect 3 'Souls' from your dead corpses! (the floating blue orbs)

Horror WIP A track that will be featured in a future horror game soundtrack! Stay tuned!

Likes appreciated ✌️

#gamedev #composer #horrorgame #indiegame #IndieGameDev #soundtrack

Shuiro Haname. #Commission

Commission for @ShuHaname

If you’ve played the Vault demo and enjoyed it, please consider ‘liking’ the game page here on Gamejolt and/or leave a comment!

Also please consider tossing Vault on your Wishlist, I really appreciate your support!

https://store.steampowered.com/app/1251800

I mostly build 3D First Person Shooter game mechanics in Unity, and in this I'm just showing C4 mechanics I made for a little side project I am working on! :)

Only true badasses may pass! #conceptart #art #gamedesign

Art made for my friend @ungerbibs . Much love for this <3