Share your repls and programming experiences

← Back to all posts
Goblin Hunter
Luisfetoga (116)

Hello! This is the game I created for the game jam: Goblin Hunter.
There are 2 players, the idea is to hunt (touch) the goblins that appear on the map, first to 20 points win!
Player 1 moves with the arrow keys, and the Player 2 with WASD.
Feel free to give feedback, if you want, you can look at the source code, I added comments so it's easier to understand.

I recommend playing in a new tab/window.

Commentshotnewtop
carmenchica (3)

Excellent game, it is very fun!

sojs (43)

This is pretty cool

AyoX2 (1)

when you move diagnoly you move faster

[deleted]

HOLY AWSOME!!!

Websteria (1)

I refactored some of the early image learning code for you. :-) Clean coding style, when you see patterns like the loading of images this way, it's helpful to extract the code and place it in a method with a parameter, or multiple parameters. This will not only make your code more readable. but more modifiable in the end. I know this is a jam, but this screamed at me to refactor it. :-)

https://repl.it/@Websteria/InsubstantialSpiritedSpreadsheet

Luisfetoga (116)

@Websteria Wow, I honestly didn't think of that, thank you!

epicman702 (39)

THIS IS AMAZING
there is one small detail that needs fixing though
on the "game instructions" page it says the first to 28 wins
Could you fix that?

Luisfetoga (116)

@epicman702 I can, the thing is that the font I used has the '0' like that, I'm going to change it
EDIT: I didn't find an appropriate font for the 0 so I just used an 'O'

nfaulkner (1)

Thats really fun!

GabrielFreire (1)

this game awesome (-, i can't talk too much about the details because i'm an Brazilian that don't know too much of english, but i loved the game :,3

Luke25 (115)

This is actually awesome, good luck!

MyIsaak (1)

What about a walking animation, or goblins that run away? You have a nice rogue-like base but no sauce :) For the walking animation, you can cheat and mirror the image on its Y-axis.

h3xed (92)

@MyIsaak True! That would make the game alot more fun...

Luisfetoga (116)

@MyIsaak I am actually working on it, but nice idea of the y-axis mirroring, I'll see if it looks good.

Luisfetoga (116)

@MyIsaak I already did the goblin movement, it chooses a random distance and a random direction. I'm still working on the walking animation tho...

cerbers (3)

ce jeu est bien

JamieSmall (1)

DO YOU WANT TO MAKE ANOTHER ONE

dom489 (2)

adjustable color with a combat system would be great

Luisfetoga (116)

@dom489 You mean adjusting the color of the player?

dom489 (2)

@Luisfetoga being able to select the colors of players and enemys

idrawhorsechamp (5)

The arrow key goblin makes the whole screen scroll. :|

Luisfetoga (116)

@idrawhorsechamp That's why I recommend playing in a new tab, that is a problem I can't fix

CalsonLee (8)

Good game, but I think the win condition is broken. I got player 1 to 30 points and nothing happened.

CalsonLee (8)

@CalsonLee It works for player 2 tho. Also, the teleporting through the map edge doesn't work for player 1 but it works for player 2.