dumbfounder 2 years ago

It was fun spraying around until I realized I could just hold down the spacebar and shoot over the two cows on the left side (who never left that side) and the asteroids couldn't get through. I think you need to add damage when it hits the farmer and you die when you get hit x times. And have the cows cross over to the other side. Maybe they start to get more and more agitated too.

  • eddieroger 2 years ago

    Similar experience, but I did enjoy figuring that part out. I would also figure a way to increase the challenge over time. Maybe the asteroids get faster? Maybe the cows walk farther, or away from each other? Infinite level games are most fun when the challenge increases.

  • whothatcodeguy 2 years ago

    Yup, there is definitely a cheat mode once you find it. Totally agreed on callouts and suggestions. Damage and mechanics need to get balanced out. The cows being more reactive would be super funny, maybe some more explosions on the ground that can affect the farmer. Still thinking through the asteroids... like they're just on a random number generator right now but i think there needs to be a little more thoughtful difficulty ramp.

  • anirudhrx 2 years ago

    Hah! this was cool to discover.

user_7832 2 years ago

Great game!

A few points: Firing while moving left and right cause a vertical line/diagonal line. Something in the physics seems to be asymmetric. (This is also a nice "trick" to play on easy mode.)

A highscore would be nice. (Apologies if it's there but hidden by my dark mode.)

If on battery on laptop and on a low battery situation, the game runs ~40% slower. Initially I thought this was the normal speed until I plugged my laptop in. The true normal speed seems a bit fast for me, maybe a speed option would be nice?

  • whothatcodeguy 2 years ago

    These are all great callouts. I actually experienced the laptop piece myself. Definitely improvements to be made from the game jam state of this.

    • user_7832 2 years ago

      The good thing is the game is already fun to play :)

civilitty 2 years ago

IMO a gun overheating mechanic and increasing difficulty would make it a full game.

Holding down fire to spam and sweeping the gun back and forth creates a wall of bullets that eliminates most of the asteroids right as they appear and sweeping towards the fastest asteroid easily catches any stragglers, completely breaking the mechanic.

  • whothatcodeguy 2 years ago

    This is the first thing I think I'm going to address. Every time its been play tested thats the first thing people do. Smart humans gonna smart.

    • leca 2 years ago

      You can even simply point in a direction above the cows and slightly above ground and ammo act as a shield and nothing can get through

karaterobot 2 years ago

The game gets easier the further it goes, because you have fewer cows to protect, but the number of meteors does not (seem to) increase. Once I got down to only two cows, I didn't have to do anything to protect them in certain rounds, because the meteors just missed them.

zamadatix 2 years ago

It might be cleaner to use event.code instead of event.key that way non-QWERTY users don't have to play finger twister. Unfortunately, Safari+Firefox don't leave a way to then determine the correct letter to display until after the user has already pressed the key which makes the initial "press this" a bit more difficult to write as you have to put a picture in the message clarifying you mean the WASD area not literal letters. Chrom* has an API for resolving the character outright though.

corry 2 years ago

1) Love the JS-only angle, beautiful!

2) The combination of cows spreading out and your 3 axis of action (left/right + angle of gun + timing of shots) is really cool.

3) Consider levelling. Every x asteroids, there's a pause (the cows get into the barn to sleep), player rests a moment, and then sun rise and play resumes with faster / more asteroids. Have the cows re-clump after each sunrise and spread out from there.

4) Kind of silly, but if the cows bred more cows infrequently that would be cool.

  • whothatcodeguy 2 years ago

    lol cows just making more cows, the game would be so chaotic thats amazing

    also, it can be a bit tedious but i love the control of JS only. it keeps the game super compact and easier to debug.

    I'm glad you liked the 3 axis of action! I'm still vaguely on the fence about it. In ways I feel like it makes the game too complicated for casual play, but maybe I'm overthinking it.

pvg 2 years ago

If you haven't come across it before check out SABOTAGE here

https://archive.org/details/a2_cple_Game_02a

Similar setup but with some clever additional mechanics that might be worth stealing.

WesleyJohnson 2 years ago

Pretty fun! There is a bug in the particle/bullet handling code. If you move left to right while fire, they maintain the X coordinate at which they were fire as you'd expect.

But if you move from right to left while firing, their X coordinate moves with the player.

Nevermark 2 years ago

Fun! Random thoughts:

I feel like it would be a little more challenging if cow's died when you shot them.

I like how aiming is so easy (big meteor's, big projectiles) and its all about speed and spraying. Very satisfying.

But that made me think: if I could just improve my own clock speed by 50-100%, I could reliably shoot every meteor with just one projectile.

But we have no reliable overclocking pills.

Think about how much of "intelligence" maps simply to speed, and how laughably disadvantaged that makes us, relative to other emerging forms of intelligence.

recursive 2 years ago

The arrow keys control the game but also scroll the page. This is really distracting and kind of hard to use. I'm on Firefox for Windows.

  • mNovak 2 years ago

    Same happens on Brave/Windows

Brendinooo 2 years ago

Nice work! Once I figured out I could hold in the spacebar without consequences it got pretty easy.

_adamb 2 years ago

Fun! It's very pretty. I'd love to see you keep developing around this (same game or similar games). You've got an eye for it for sure.

  • whothatcodeguy 2 years ago

    Thank you! My brain tends to be a carnival, might as well take advantage

philipwhiuk 2 years ago

After a while my cows walked off the edge of the screen! The farm needs fences - or you need to be able to herd your cows :P

Also, a score, a score would be nice.

  • whothatcodeguy 2 years ago

    Those pesky bovine. Noted and agreed for next version!

quercusa 2 years ago

Missile Command - Bovine Edition Very fun!

mNovak 2 years ago

FYI, you can move the character infinitely far out of the game window. Doesn't help you win, but confusing when I got "lost"

  • whothatcodeguy 2 years ago

    good catch! the cows can also just leave the window if you wait long enough. think im going to add some barriers on the side.

mbfg 2 years ago

It's amazing how such retro games are still humourously fun.

My only nit is i wish the ammo came out of the muzzle of the cannon.

  • whothatcodeguy 2 years ago

    I love nits. I can make that happen for the next version.

Wonnk13 2 years ago

holy cow (pun kinda intended) I don't do frontend work and was expecting the source to be some giant React / whatever project. It's mostly all in a simple index.html that even I can mostly grok. cool.

  • whothatcodeguy 2 years ago

    that was the only way i could finish it in two days for the game jam, plus I love just coding in one file when the project's scope allows it

zengid 2 years ago

This is awesome! Can you please make spacebar fire as well?

  • jonlacework 2 years ago

    Definitely! Give it a try, just pushed.

    • nickthegreek 2 years ago

      Pretty fun. Could use a mute sound button as well.

      • whothatcodeguy 2 years ago

        There should be one above the game window. Is it not visible for you? I can always add into the actual game UI if thats easier to spot.

        • nickthegreek 2 years ago

          I have a mute music button, but the sfx still fire.

    • zengid 2 years ago

      HELL YES THANK YOU

swyx 2 years ago

this is great! audio is too loud when i first spin it up, perhaps lower it a bit or give obvious controls. some of us work in an office haha

  • whothatcodeguy 2 years ago

    oh! so sorry lol. maybe ill default to it muted, or just have the sound start a little softer to give players a chance to modify it

lonetools 2 years ago

Its a fun little game, I liked it.

Night_Thastus 2 years ago

Page doesn't seem to work for me, I get DNS address could not be found.

  • whothatcodeguy 2 years ago

    Does it still do that for you? i'm trying on a few devices and seems to be working

    • Night_Thastus 2 years ago

      Yes. Could just be on my end though.

      • whothatcodeguy 2 years ago

        If anyone out there on the internet sees the same, lemme know