GitHub link: https://github.com/shajidhasan/shehzadi-in-peril
I did not see instructions so I don't know how to interact with the game or what I am supposed to do.
But the pixel art is awesome.
I wrote it in Java in high school back in 2006. The site I hosted it on in high school is no longer live. I put it on Replit a few years back, but I no longer have access to the account, so I had to fork the repl to play it again. Things change. Hold on to your code. It's fun to revisit old programs!
If you want to give it a try: https://replit.com/@PatrickAtReplit/Ant-Killer-Game.
I tried to fork and play your game but having very little experience with Java, I couldn't run it! Do I need to download it and run locally?
Java is a bit of a pain. It's a compiled language, so if you make any edits to the .java files you'll need to run a command in the shell to generate a new .jar file and then run that.
Enjoy!
Hack: if you zoom out the window (ctrl plus -), the ants will home in on a nonexistent princess and you can massacre them :D.
And thank you for playing! Shehzadi's voice cracks me up as well
Reminded me of flappy bird with its simplicity and difficulty, what an awesome little game.
Congrats and keep going Sh4jid!
You can find how the levels are here: https://github.com/shajidhasan/shehzadi-in-peril/blob/main/g...
However, if you resize the window (I fullscreened it after 50 or o ants), the princess is no longer centered and the ants cannot reach her anymore, except those that come from the "closest" wall. Makes the game pretty easy since you only have to watch 1/4th of the screen
Yeah a lot of people noticed the issue. I will have to do something about it!
Though it appears that you have to squish at least one ant for the dying sound to work. Not sure if that’s on purpose.
Well, there's this browser limitation, you first have to interact with a webpage in a way for it to be able to produce sound. This stops random tabs and pages blasting sound as soon as they're opened. That's why you need to first kill an ant first!
I think this is a great result for the first game.