TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Not My Cows – Save your cows. Blast the meteors. Giddy up

88 点作者 whothatcodeguy将近 2 年前
I made this straight vanilla JS game for a game jam a few years ago. Considering coming back to it and fixing the bugs and gameplay.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;jonfranco224&#x2F;not-my-cows">https:&#x2F;&#x2F;github.com&#x2F;jonfranco224&#x2F;not-my-cows</a> if anyone wants to check the source.<p>Edit: y&#x27;all seem to be enjoying this! I spun up a quick Twitter&#x2F;X for game updates if anyone is interested - <a href="https:&#x2F;&#x2F;twitter.com&#x2F;notmycowsgame" rel="nofollow noreferrer">https:&#x2F;&#x2F;twitter.com&#x2F;notmycowsgame</a>

23 条评论

dumbfounder将近 2 年前
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&#x27;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.
评论 #37166572 未加载
评论 #37166310 未加载
评论 #37175808 未加载
user_7832将近 2 年前
Great game!<p>A few points: Firing while moving left and right cause a vertical line&#x2F;diagonal line. Something in the physics seems to be asymmetric. (This is also a nice &quot;trick&quot; to play on easy mode.)<p>A highscore would be nice. (Apologies if it&#x27;s there but hidden by my dark mode.)<p>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?
评论 #37165654 未加载
civilitty将近 2 年前
IMO a gun overheating mechanic and increasing difficulty would make it a full game.<p>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.
评论 #37165663 未加载
karaterobot将近 2 年前
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&#x27;t have to do anything to protect them in certain rounds, because the meteors just missed them.
zamadatix将近 2 年前
It might be cleaner to use event.code instead of event.key that way non-QWERTY users don&#x27;t have to play finger twister. Unfortunately, Safari+Firefox don&#x27;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 &quot;press this&quot; 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 年前
1) Love the JS-only angle, beautiful!<p>2) The combination of cows spreading out and your 3 axis of action (left&#x2F;right + angle of gun + timing of shots) is really cool.<p>3) Consider levelling. Every x asteroids, there&#x27;s a pause (the cows get into the barn to sleep), player rests a moment, and then sun rise and play resumes with faster &#x2F; more asteroids. Have the cows re-clump after each sunrise and spread out from there.<p>4) Kind of silly, but if the cows bred more cows infrequently that would be cool.
评论 #37166655 未加载
pvg将近 2 年前
If you haven&#x27;t come across it before check out SABOTAGE here<p><a href="https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;a2_cple_Game_02a" rel="nofollow noreferrer">https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;a2_cple_Game_02a</a><p>Similar setup but with some clever additional mechanics that might be worth stealing.
评论 #37165665 未加载
评论 #37165478 未加载
评论 #37165471 未加载
WesleyJohnson将近 2 年前
Pretty fun! There is a bug in the particle&#x2F;bullet handling code. If you move left to right while fire, they maintain the X coordinate at which they were fire as you&#x27;d expect.<p>But if you move from right to left while firing, their X coordinate moves with the player.
Nevermark将近 2 年前
Fun! Random thoughts:<p>I feel like it would be a little more challenging if cow&#x27;s died when you shot them.<p>I like how aiming is so easy (big meteor&#x27;s, big projectiles) and its all about speed and spraying. Very satisfying.<p>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.<p>But we have no reliable overclocking pills.<p>Think about how much of &quot;intelligence&quot; maps simply to speed, and how laughably disadvantaged that makes us, relative to other emerging forms of intelligence.
pstorm将近 2 年前
Here is a direct link to the github.io page: <a href="https:&#x2F;&#x2F;jonfranco224.github.io&#x2F;not-my-cows&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;jonfranco224.github.io&#x2F;not-my-cows&#x2F;</a>
recursive将近 2 年前
The arrow keys control the game but also scroll the page. This is really distracting and kind of hard to use. I&#x27;m on Firefox for Windows.
评论 #37166623 未加载
评论 #37168724 未加载
netsharc将近 2 年前
The meteors explode into tiny particles. The cows should explode into tiny burgers!<p>This sounds like a &quot;get rid of the duck&quot;[1] comment...<p>[1] <a href="https:&#x2F;&#x2F;www.simplethread.com&#x2F;looks-great-lose-the-duck&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.simplethread.com&#x2F;looks-great-lose-the-duck&#x2F;</a>
评论 #37166714 未加载
Brendinooo将近 2 年前
Nice work! Once I figured out I could hold in the spacebar without consequences it got pretty easy.
_adamb将近 2 年前
Fun! It&#x27;s very pretty. I&#x27;d love to see you keep developing around this (same game or similar games). You&#x27;ve got an eye for it for sure.
评论 #37165458 未加载
philipwhiuk将近 2 年前
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<p>Also, a score, a score would be nice.
评论 #37166618 未加载
quercusa将近 2 年前
<i>Missile Command - Bovine Edition</i> Very fun!
mNovak将近 2 年前
FYI, you can move the character infinitely far out of the game window. Doesn&#x27;t help you win, but confusing when I got &quot;lost&quot;
评论 #37168848 未加载
mbfg将近 2 年前
It&#x27;s amazing how such retro games are still humourously fun.<p>My only nit is i wish the ammo came out of the muzzle of the cannon.
评论 #37165452 未加载
Wonnk13将近 2 年前
holy cow (pun kinda intended) I don&#x27;t do frontend work and was expecting the source to be some giant React &#x2F; whatever project. It&#x27;s mostly all in a simple index.html that even I can mostly grok. cool.
评论 #37166143 未加载
zengid将近 2 年前
This is awesome! Can you please make spacebar fire as well?
评论 #37165344 未加载
swyx将近 2 年前
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
评论 #37166157 未加载
lonetools将近 2 年前
Its a fun little game, I liked it.
Night_Thastus将近 2 年前
Page doesn&#x27;t seem to work for me, I get DNS address could not be found.
评论 #37166235 未加载
评论 #37166068 未加载