[HN Gopher] Show HN: Shehzadi in Peril - My first ever game
       ___________________________________________________________________
        
       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
        
       Author : sh4jid
       Score  : 68 points
       Date   : 2024-09-01 08:19 UTC (2 days ago)
        
 (HTM) web link (shehzadi.vercel.app)
 (TXT) w3m dump (shehzadi.vercel.app)
        
       | brudgers wrote:
       | Congratulations 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 wrote:
         | Did you try playing it?
        
           | brudgers wrote:
           | Unsuccessfully, yes.
           | 
           | Edit: twice now.
        
         | sh4jid wrote:
         | Thanks for trying it out! I have added an instruction, you just
         | have to tap on the ants to squash them!
        
           | brudgers wrote:
           | I just tried again on my iPad and got an error
           | Null is not an object...
        
             | nurettin wrote:
             | null is too primitive to be an object.
        
       | tomcam wrote:
       | congratulations! 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 wrote:
         | Thank you so much for playing!
        
       | picklebarrel wrote:
       | I 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 wrote:
         | If you play well enough you can actually save the Shehzadi ;)
         | But thank you so much for playing. That's a great score!
        
           | fakedang wrote:
           | So how much is the max score? Is there an end, or are we
           | cursed to eternal bug-squashing?
        
             | sh4jid wrote:
             | There 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/g...
        
       | upon_drumhead wrote:
       | Fun 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 :)
        
         | sh4jid wrote:
         | Yeah I've noticed when I was writing codes! But I intended the
         | game to be primarily played on a mobile device, so didn't
         | bother to fix it.
        
           | bestouff wrote:
           | Happens also on mobile. Just rotate e.g. from portrait to
           | landscape during gameplay.
        
       | perrohunter wrote:
       | Whats the risk of putting your vercel project on hackernews?
        
         | jareklupinski wrote:
         | dealing with the deluge of recruitment emails :)
        
         | sh4jid wrote:
         | Not quite sure what you mean by that?
        
         | langcss wrote:
         | Just 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 wrote:
       | Congratulations 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 wrote:
         | Oh, it's the same with me! I'll add a screenshot whenever I'm
         | free.
        
       | AriyanWasi wrote:
       | I had some fun while waiting for my container to upload. Thanks!
        
       | langcss wrote:
       | A rare Show HN game that works perfectly on mobile, like an app.
       | Good game too. Well done.
        
       | isuleman wrote:
       | gg i only lasted 57 secs :'(
        
       | risenshinetech wrote:
       | I 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.
        
       | nelblu wrote:
       | Really 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.
        
       | layer8 wrote:
       | The 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.
        
       | MisterBastahrd wrote:
       | Like Asteroids with a health bar and without the movement.
        
       | patrickscoleman wrote:
       | So 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.
        
       | anoncow wrote:
       | 163 and my brain is fried! Good work.
        
       | baw-bag wrote:
       | I got 161! A fast bullet ant destroyed me! Good job!
        
       | joshdavham wrote:
       | Awesome game! Was extra challenging with a touchpad rather than a
       | mouse.
        
       | glitchc wrote:
       | This 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 wrote:
       | Oh.. my best is 170. Thank you for fun before asleep.
       | 
       | I think this is a great result for the first game.
        
       | 4ndrewl wrote:
       | What 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 wrote:
       | Wonderful 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.
        
       | dark-star wrote:
       | Nice 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
        
       | zoklet-enjoyer wrote:
       | That was fun! I got to 175. Reminds me of the fly swatting game
       | on Mario Paint. Or this app with car games that I play with my
       | girlfriend's cat.
        
       ___________________________________________________________________
       (page generated 2024-09-03 23:00 UTC)