7 ms·
Show HN: Shehzadi in Peril – My first ever game
Hello HN! This is the first game I ever built. It's very simple, but I'm still kind of proud of it because all the pixel art is original. Thanks for taking a look!
GitHub link: https://github.com/shajidhasan/shehzadi-in-peril https://github.com/shajidhasan/shehzadi-in-peril
- NotAStoic 2y agoThe sound she makes when an ant bites her was so funny when I heard it the first time, anyways really cool project
- sh4jid 2y agoYeah her sound cracks me up as well Thank you so much for playing!
- joshdavham 2y agoAwesome game! Was extra challenging with a touchpad rather than a mouse.
- glitchc 2y agoThis a great start. A level progression system would make it a full fledged game. You could introduces walls to control the direction/flow of ants. The walls would change per level. Also, some kind of penalty for spamming might help. Right now I can use multiple fingers to press all over the map without much thought.
- feelamee 2y agoOh.. my best is 170. Thank you for fun before asleep. I think this is a great result for the first game.
- 4ndrewl 2y agoWhat a great game. Terrifying, but great! Thanks for sharing. I loved how the ants come in waves, felt very old-skool in line with the graphics, but still very effective!
- lofaszvanitt 2y agoWonderful game, and the hit/death sounds of Scheherazade is priceless ;DD Hack: if you zoom out the window (ctrl plus -), the ants will home in on a nonexistent princess and you can massacre them :D.
- sh4jid 2y agoYeah a lot of people noticed this hack! Resizing the window does the same thing. I will need to find a way to stop that! And thank you for playing! Shehzadi's voice cracks me up as well
- dark-star 2y agoNice little game, and gets pretty challenging. 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
- sh4jid 2y agoThanks for playing! Yeah a lot of people noticed the issue. I will have to do something about it!
- zoklet-enjoyer 2y agoThat was fun! I got to 175. Reminds me of the fly swatting game on Mario Paint. Or this app with cat games that I play with my girlfriend's cat.
- seafoamteal 2y agoThat was much more fun than I expected and the game is really well-drawn and snappy. I was doing so well until the really fast black ants started showing up.
- spencerchubb 2y agoVery nice! I think it would be nice if the ants sped up gradually instead of making it drastically faster after a while
- sh4jid 2y agoThat has been the way it worked before, later I opted in for levels. You can find how the levels are here: https://github.com/shajidhasan/shehzadi-in-peril/blob/main/game/levels.js https://github.com/shajidhasan/shehzadi-in-peril/blob/main/g...
- atum47 2y agoI quite like that. Simple and with beautiful art. Congratulations
- sh4jid 2y agoThank you for playing!
- azhenley 2y agoFun! Upgrades and persistence would keep me replaying.
- mito88 2y agonice!
- ildefonsopd 2y agoI was hyped playing this, lost a couple of times there, but i jumped out of my seat from excitement when I finally won lol. Reminded me of flappy bird with its simplicity and difficulty, what an awesome little game. Congrats and keep going Sh4jid!
- sh4jid 2y agoThank you so much and congratulations! I haven't been able to beat it yet :P
- alluro2 2y agoThis was fun, thanks for a cool experience! I felt like my score of 186 was fairly ok for the first try :)
- sh4jid 2y agoThat's a great score! Thank you so much for playing.
- esalman 2y agoNice and attractive!
- sh4jid 2y agoI see what you did there!
- opem 2y agocool game, well done ;)
- butz 2y agoYou should share your game on itch.io, for better reach and more feedback.
- sh4jid 2y agoThank you for the tip, will do!
- netmonk 2y ago[dead]
- rchoudhury 2y agoNice game! Also, shocked and delighted to see a Bangla title!
- brudgers 2y agoCongratulations on launching. 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.
- tomcam 2y agocongratulations! To me, it is a kind of perfect little game, with an extra psychological twist. I don’t have a phobia for insects. The theme of having me protect a child instead of a generic target put me in a completely a different mindset. I really started to hate the fast-moving black ants.
- sh4jid 2y agoThank you so much for playing!
- picklebarrel 2y agoI got 159 on my first try. I like the art. The difficulty progression is pretty good, starts out easy and gets faster and harder. Nice work!
- sh4jid 2y agoIf you play well enough you can actually save the Shehzadi ;) But thank you so much for playing. That's a great score!
- fakedang 2y agoSo how much is the max score? Is there an end, or are we cursed to eternal bug-squashing?
- sh4jid 2y agoThere is an end! I think the hardest step is the one where fast black ants attack every two seconds. and after that if you're able to play for 30 more seconds, the princess will be saved. I didn't put much thought into arranging/tuning the values, but you can take a look at the levels here: https://github.com/shajidhasan/shehzadi-in-peril/blob/main/game/levels.js https://github.com/shajidhasan/shehzadi-in-peril/blob/main/g...
- deleted 2y ago[deleted]
- upon_drumhead 2y agoFun game! Resizing the browser window after it starts breaks the game though. If you you resize it so the princess is off the screen, you can't lose :)
- perrohunter 2y agoWhats the risk of putting your vercel project on hackernews?
- jareklupinski 2y agodealing with the deluge of recruitment emails :)
- sh4jid 2y agoNot quite sure what you mean by that?
- langcss 2y agoJust check what cloud costs you may endure. Serving static CDN files is cheap. Dynamic image resizing costs. I use the simple img tag as I am not interested in that optimization.
- patafemma 2y agoCongratulations on the launch! Please, consider putting up a screenshot at the top of the README. When I see visual products such as games or GUIs showcased in HN, having a good screenshot or two is often the deciding factor in whether I try it or not. And probably I am not the only one. A picture is worth a thousand words.
- sh4jid 2y agoOh, it's the same with me! I'll add a screenshot whenever I'm free.
- AriyanWasi 2y agoI had some fun while waiting for my container to upload. Thanks!
- isuleman 2y agogg i only lasted 57 secs :'(
- langcss 2y agoA rare Show HN game that works perfectly on mobile, like an app. Good game too. Well done.
- sh4jid 2y agoThank you so much! I could never imagine a game this small would get so much attention.
- nelblu 2y agoReally well done!!! Not sure whether this is the limitation of the hosting platform, but I can't find a link from your game to github.
- sh4jid 2y agoIt's not a limitation, it's just hosted in Vercel. I will try and find an appropriate place to hyperlink my GitHub account.
- risenshinetech 2y agoI think adding a note that there's an end would go a long way. I personally tried it once, killed something like 100 ants, thought "That's cute, but not interested in clicking on ants endlessly", and closed the game well before I lost.
- sh4jid 2y agoI will do that, thank you for playing!
- layer8 2y agoThe only issue I have is that I like the dying sound better than the squishing sound, hence the incentives are misaligned. ^^ 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.
- sh4jid 2y agoAha! :P Yeah that sound is pretty funny. 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!
- MisterBastahrd 2y agoLike Asteroids with a health bar and without the movement.
- patrickscoleman 2y agoSo fun, thanks for sharing! I'm feeling some nostalgia. The first game I ever made was also an ant defense game. You use a magnifying glass to protect your tomato at a picnic. As you get to later levels, the ants get bigger and the sun starts to set, so you have to buy upgrades. 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 https://replit.com/@PatrickAtReplit/Ant-Killer-Game.
- sh4jid 2y agoThank you so much for trying it out! 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?
- patrickscoleman 2y agoHere's how to play: https://www.loom.com/share/14f8d6d097ef41319285cb6dd404a109?sid=b9b50d35-cf4a-4461-b893-62e27451a19d https://www.loom.com/share/14f8d6d097ef41319285cb6dd404a109?... 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!
- anoncow 2y ago163 and my brain is fried! Good work.
- baw-bag 2y agoI got 161! A fast bullet ant destroyed me! Good job!