TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: I've been making one HTML5 game per week. Here's my 10th game

362 pointsby lessmilkabout 11 years ago

56 comments

sillysaurus3about 11 years ago
Not sure if you&#x27;re looking for critique, and giving critique has sometimes been discouraged on HN, but:<p>It&#x27;s pretty good for a week of work. Though there&#x27;s a difference between being challenging and being annoying. Many of the level design elements could be classified as a &quot;dick move.&quot; An example would be not making it clear the goal is to collect <i>all</i> the coins until after the player has bypassed some of them and reached the end.<p>In general the controls are too sluggish. It&#x27;s as if triple buffering is enabled, or maybe quad buffering. If you&#x27;re at a university, you should try to borrow a high speed camera and measure the time difference between when someone presses the spacebar vs when the character starts to jump. I don&#x27;t know if it&#x27;s a Chrome thing or what, but I fell off cliffs several times due to the input delay.<p>The gravity could be better. I&#x27;d recommend spending some time with Cave Story to get a feel for how to make gravity really work in the player&#x27;s favor, rather than against them. In general it&#x27;s a bad idea to make velocity strictly linear. Some acceleration adds to the experience and precision.<p>A checkpointing system would be good. I can see how most players will give up after getting mostly to the end and then dying. I think you should just restart players from the last point that they were on the ground without dying, that is, the most recent ledge that they were standing on.<p>It shows promise. If you&#x27;re looking for feedback about how to advance as a game developer, one step would be to make sure you&#x27;re not rewriting your entire game engine from scratch for each game. It&#x27;s excellent that you&#x27;re writing your own engines rather than trying to use other people&#x27;s, so be sure to keep doing that. It&#x27;s important for gamedevs to have an idea of the underlying principles and limitations, and the best way to do that is to write your own engines. I got the feeling that most of the week was spent on the engine rather than iterating on the gameplay or level design though. Teaming up with an artist or a level designer might be a good match.
评论 #7387341 未加载
评论 #7387335 未加载
评论 #7388271 未加载
评论 #7388095 未加载
评论 #7389289 未加载
评论 #7387301 未加载
评论 #7387275 未加载
评论 #7387132 未加载
fiblyeabout 11 years ago
I&#x27;m a hobby&#x2F;hopefully someday profitable game developer who recently jumped on the &quot;develop a short game in X days&quot; bandwagon. My most recently made game was developed in 2 days [ <a href="https://play.google.com/store/apps/details?id=com.ektomarch.PanicCircle" rel="nofollow">https:&#x2F;&#x2F;play.google.com&#x2F;store&#x2F;apps&#x2F;details?id=com.ektomarch....</a> ], and damn did it feel good to get something done that fast!<p>My current plan is to make a bite-sized game comparable to this at least once a month (it&#x27;d be a little stressful to force myself to come up with something fresh every single week) and maybe just experiment with small projects with no plans for completion in between. I also have a long-term project that I&#x27;m expecting will take ~2 years, and honestly, sometimes I feel like I&#x27;ve run out of ideas. Taking time away from my main project to work on these little &quot;distractions&quot; actually ends up helping with my main work. I spend less time idly waiting around for a good idea or solution to a persisting problem, and more time solving new, smaller problems that can later be applied somewhere else. Hell, I actually find myself actively switching between tasks every 10 minutes and ending up even more productive than I would be focusing on just one project. Also, I had no real experience with Unity before this game, and just taking a couple of days to force myself to learn it opened some doors for future big projects.<p>In short, work on tiny projects whenever you find yourself doing nothing. You might end up more productive or just happier knowing what you&#x27;re capable of.
评论 #7387975 未加载
评论 #7389918 未加载
评论 #7388477 未加载
WesleyJohnsonabout 11 years ago
I&#x27;ve been following your progress with these games and there are several I really like, most of which is I think #5 with the cube jumping. I can&#x27;t sing you enough praise on posting these as inspiration to others and sticking with the one game per week timeline. The motivation alone is inspiring.<p>That said, this one is frustrating. I feel the keys are off. I like to run before I jump and in some areas, it&#x27;s not possible because the responsiveness of the keys just isn&#x27;t there. It takes too long for my guy to jump after I press up. Also, it seems like you&#x27;re possibly doing your left&#x2F;right code in a way that gives left priority. If I press both left and right, my guy goes left. I feel like he should stay stationary in that situation.<p>Other than that, I like the gameplay, tutorial text that&#x27;s part of the scene, the sounds and music. I really like the cube slanting to show motion, too. Clever.<p>Keep it up!
michael_nielsenabout 11 years ago
Here&#x27;s an article with lots of interesting background info from the same author (lessmilk), &quot;What I learned while doing my &#x27;one game per week&#x27; challenge&quot;:<p><a href="http://gamasutra.com/blogs/ThomasPalef/20140225/211663/What_I_learned_while_doing_my_quotone_game_per_weekquot_challenge.php" rel="nofollow">http:&#x2F;&#x2F;gamasutra.com&#x2F;blogs&#x2F;ThomasPalef&#x2F;20140225&#x2F;211663&#x2F;What_...</a><p>Worth it especially for the following superb link:<p><a href="http://www.gamasutra.com/view/feature/130848/how_to_prototype_a_game_in_under_7_.php?print=1" rel="nofollow">http:&#x2F;&#x2F;www.gamasutra.com&#x2F;view&#x2F;feature&#x2F;130848&#x2F;how_to_prototyp...</a>
评论 #7386968 未加载
Brashmanabout 11 years ago
I&#x27;m slightly afraid of clicking on game links on HN after 2048.
评论 #7388965 未加载
评论 #7388570 未加载
lessmilkabout 11 years ago
OP here. Let me know if you have any questions about my project.
评论 #7388137 未加载
评论 #7390390 未加载
评论 #7388638 未加载
评论 #7386931 未加载
评论 #7388252 未加载
评论 #7386748 未加载
评论 #7386810 未加载
tantalorabout 11 years ago
A significant number of devices on the web <i>don&#x27;t have keyboards</i>. They use touch as their primary interface. Please support touch devices.
评论 #7387067 未加载
评论 #7387286 未加载
MichaelTiesoabout 11 years ago
How experienced were you before you started? Have you coded before? Any reason you&#x27;re not open sourcing your code? Seems like it&#x27;d be a great idea considering you&#x27;re still learning and could use some feedback from others. Great job btw. Never heard of Phaser but now looking into it.
评论 #7386976 未加载
keerthikoabout 11 years ago
I&#x27;m impressed with the general quality:time-spent ratio.<p>I think the basic level design and polish steps are fairly well done. Even the sluggish controls (as a number of people have pointed out) feel more limited by lack of engineering time than your understanding of what feels good, and I would guess that through some rigorous testing and closer scrutiny of your code that could easily be fixed.<p>However, I think you exhibit some game design anti-patterns. I am referencing Zileas&#x27; List of Game Design Anti-Patterns[1], that I think game designers should reference more often until it&#x27;s a quick checklist whenever they design any game.<p>Most notably I think Dark Blue succumbs to &quot;False Choice&quot; and &quot;Or We Could <i></i><i></i> the Player.&quot;<p>[1] <a href="http://forums.na.leagueoflegends.com/board/showthread.php?t=293417" rel="nofollow">http:&#x2F;&#x2F;forums.na.leagueoflegends.com&#x2F;board&#x2F;showthread.php?t=...</a>
eric_habout 11 years ago
I think these are the best set of flappy bird clones that have come out yet (except perhaps the flappy bird orbital game).<p>Admittedly, only a couple of them truly qualify for that title (annoyingly difficult gravity games with stupid simple controls), but I think they all adhere to the same theme - extremely simple game ideas that are nevertheless compelling.<p>In the Atari-NES era, technical constraints forced this style of game design upon developers, and they (well, some of them) still produced compelling games by focusing on the details of these simple interactions. There are admittedly somewhat similar constraints on this particular canvas (ahem) but I believe the tools have evolved so much that you can spend a lot more time on the mechanics, rather than fitting it into RAM (hence, 10 rather polished 8-bit style games in 10 weeks).<p>I think it&#x27;s good to get back to basics. I played all 10 games, and I enjoyed it (though the typing game was downright cruel; it&#x27;s amazing how difficult it is to read and understand a misspelled word, then type it misspelled, let alone the gibberish). Well done.
tripzilchabout 11 years ago
Well done! A few bits of constructive criticism, based on my own experiences with making platformers in GameMaker:<p>- you need to fix the gravity so it doesn&#x27;t feel like it&#x27;s on the moon. I used to get the gravity wrong as well, but it makes for so much more fun and snappy gameplay when you get it right (or actually, a bit <i>more</i> right, cause nobody really jumps that high anyway).<p>- assuming your game logic goes a little something like, if the player is standing on something solid, they can jump: instead doing that, give the player a few frames (3-5) of leeway while they still can jump even though they just walked off a platform ledge. it&#x27;s a very subtle thing, and if you don&#x27;t pay attention you won&#x27;t see that most platformers do this, but it makes all the difference in gameplay (if the player feels like they would have totally made that jump, but drop off the ledge instead, it feels like their character just stumbled or something).<p>the last one is also based on one of the golden rules of gameplay: try to make the game behave as the player wants, which is <i>not</i> always necessarily exactly how the controls are input.<p>(the following stuff is not really critique of your game but some things to keep in mind as you continue)<p>similar tricks involve making the hitboxes of &quot;good&quot; objects larger than they actually are, and the hitboxes of &quot;bad&quot; objects smaller (player thinks: &quot;phew! cool! I <i>barely</i> missed that enemy!!&quot;). btw Flappy Bird subverts this rule, which makes part of its interesting frustratingness, but as always you gotta know the rules before you break the rules.<p>and remember, you can always make your <i>levels</i> harder, if you think such tricks make it too easy on the player. you&#x27;ll find that in such cases &quot;harder&quot; translates to &quot;challenging&quot; instead of &quot;frustrating&quot;.<p>good luck!
zhemaoabout 11 years ago
Nice. Reminds me of the game Thomas was Alone.
joezoabout 11 years ago
I love the way the tutorial is part of the background, seamless!<p>A colleague of mine made a similar type of game a while ago, this reminded me of that.<p><a href="http://www.tyasdev.com/MrBandana/" rel="nofollow">http:&#x2F;&#x2F;www.tyasdev.com&#x2F;MrBandana&#x2F;</a>
评论 #7387940 未加载
davbrynabout 11 years ago
It seems pretty stuttery on Safari running on my Mac, but was fun for a while - good job!<p>I didn&#x27;t actually like the explanations throughout the first few levels: sometimes it would be nice to figure things out on your own; feels like you rob the player of the reward for completing the level when you explain it to them before letting them figure it out? Especially since they can restart pretty quickly: case in point, let them fall into the red and die early on rather than explain it?
collywabout 11 years ago
As a mainly backend developer, I just signed up for the book, realised it didn&#x27;t contain too much, but links to the tutorials. I had a quick read. and I would say it would be more accurate to call the title &quot;One Javascript game per week&quot;. I got a bit excited thinking you could produce that sort of game using just HTML5.<p>Hope I don&#x27;t sound overly critical, as its a cool game and I appreciate you posting it.
评论 #7388945 未加载
Ruskyabout 11 years ago
Pretty good game for a week. Most quick and&#x2F;or beginner platformers I see have a lot of glitches with collision detection and response. You pretty much nailed it.<p>Critique-wise, the low end of the variable jump height is a little high, and if the game lags it messes up the physics (e.g. in the first tunnel of the last level the player stayed up against the ceiling longer than usual, missing the platform).
aravind_babout 11 years ago
A Hack to jump farther and higher in Game#10!!<p>Try this,<p>1. open Game#10 in chrome<p>2. Open the web inspector<p>3. Go to profiles, choose Record Heap Allocations, and start<p>4. Now try playing the game. You should be able to jump farther and higher. In some levels, even overcome multiple climbs in a single shot than otherwise<p>Also notice kind of slowdown overall. But not necessarily a drag since all the key events are still taken in seemingly the same speed<p>So why is this? Or is it another Chrome one-off?
atom-morganabout 11 years ago
Thanks a lot for posting this as well as one of your posts I saw a few weeks ago.<p>Because of your website I tried making my own simple game with Phaser and found it to be very fun. For someone who&#x27;d never programmed a game before, it was interesting to see how everything comes together. Just a simple game was very fulfilling to me.
sauravtabout 11 years ago
@lessmilk, I love all your games. Great Job.
评论 #7386825 未加载
jakobeabout 11 years ago
This is great! It&#x27;s incredibly awesome how much you can take away from Mario and still have a fun game. I love how the rectangle slants to show that you are moving. The game feels really responsive! (Macbook Air, Safari 7.0.2)<p>The progression in difficulty seems just right. This is exactly what casual gaming should be like.
deletesabout 11 years ago
You hit detection is off. It you make a game with pure rectangles the detection should be completely precise.
评论 #7388052 未加载
canadevabout 11 years ago
That was awesome. I finished it. I died 92 times.<p>The jumping mechanics reminded me of &quot;air control&quot; in strafe jumping in Quake 2. Can you tell I haven&#x27;t played games much lately?<p>Love the music. I have had the tab opened for a few minutes now that I&#x27;m done playing just listening to it loop through.
yangcanvasabout 11 years ago
I&#x27;ve seen&#x2F;played a couple of your earlier games as well as this one. They all have a good look and feel and are pretty legit mini-games.<p>I&#x27;ll also take the opportunity to plug my HTML5 game collection:<p><a href="http://yangcanvas.com/arcade" rel="nofollow">http:&#x2F;&#x2F;yangcanvas.com&#x2F;arcade</a>
gschierabout 11 years ago
That&#x27;s so good for a day. I made a similar game a while ago that took a few weeks! <a href="http://platformpixels.com/" rel="nofollow">http:&#x2F;&#x2F;platformpixels.com&#x2F;</a><p>I would be interested to know what you used for collision detection (If anything).
jonalmeidaabout 11 years ago
After a little self-psychoanalysis I&#x27;ve realized that when I see &quot;this is a hard level, you can&#x27;t beat it&quot;, it makes me want to try even harder which is a neat idea to use in more games to get more people playing.
Ellipsis753about 11 years ago
It&#x27;s a great game. Just my sort of thing really and I really like the music. It only took a couple of minutes to beat though so it&#x27;s a little short. Then again for a weeks work it&#x27;s fine. Keep up the good work.
OWazabout 11 years ago
Have you been writing anywhere about the things you&#x27;ve learnt so far? The challenges with the framework you&#x27;ve used or anything you started to do to speed up development?
beingProgrammerabout 11 years ago
I have been trying to write a small game. But after having seen this. Holy Cow! It&#x27;s so minimally(don&#x27;t know if that counts as an adjective) Awesome. Thanks for sharing.
Dogamondoabout 11 years ago
I may have bagged this game for being way too simple a few weeks ago. But after Flappy Bird, the genre seems to live on. It&#x27;s annoyingly great. Keep up the good work!
knackersabout 11 years ago
Loved the &#x27;artwork&#x27;. Simple but immediately familiar. Like some other commenters, I felt that sometimes my jumps weren&#x27;t being registered.
atulagarwalabout 11 years ago
I loved the games. They aren&#x27;t simply demo projects, but real, interesting &amp; challenging games! Good game play, actually enjoyed them! :)
stefan_kendall3about 11 years ago
Responsiveness of the controls needs work, but the game was just frustrating enough. I died 19 times. Not nearly as brutal as super meat boy :P
meylingtaingabout 11 years ago
Don&#x27;t know if it&#x27;s just me, but opening up the webpage crashes my browser. I&#x27;m using Firefox on an Ubuntu virtual machine.
blinkymach12about 11 years ago
These are excellent, well done! Thanks for both documenting your progress and taking the time to inject character into your games.
listicabout 11 years ago
1. What do I need to learn to start making games like this? 2. Is it hard to make games that fill the browser screen?
TrainedMonkeyabout 11 years ago
Beat it. Last level is pretty hard. In order to make important jumps register press jump first, then start moving.
soapdogabout 11 years ago
This series of games is an inspiration. I decide to take another look into phaser after seeing your stuff!
Havocabout 11 years ago
Clever thread title. I bet &quot;one HTML5 game per week&quot; made quite a few people click on it. :)
cyphunkabout 11 years ago
americans love to be positive but ill just be honest: the game play sucks. a great project for hitting out code and learning but pretty brutal for actually game play and enjoyment. but keep banging away at it, im sure a hit will come out eventually.
mehulkarabout 11 years ago
May favorite part is the sound byte when you finish a level. &quot;Yeaaah&quot;
xwowsersxabout 11 years ago
This game is awesome. I love the &quot;yeeah&quot; at the end of a section.
jordan0dayabout 11 years ago
I literally LOL&#x27;d at the &quot;yeeeeaahhh&quot; upon level completion.
trevoragilbertabout 11 years ago
Fun game, hooked me for longer than I&#x27;d have liked. :)<p>Curious why you chose HTML5?
zakqwyabout 11 years ago
Easy to learn, difficult to master. Great game, needs more levels.
ultimatedelmanabout 11 years ago
can&#x27;t beat it my ass!<p><a href="http://i.imgur.com/xKTvH81.png" rel="nofollow">http:&#x2F;&#x2F;i.imgur.com&#x2F;xKTvH81.png</a><p>:) great game. i enjoyed it! very similar to super meat boy
pla3rhat3rabout 11 years ago
Love the spirit of this. Good stuff. Keep building! :)
razorseseabout 11 years ago
Do you make any revenue from it?Or just pure hobby?
评论 #7386854 未加载
joshfergabout 11 years ago
reminds me of this game <a href="http://www.avalanchegame.org/" rel="nofollow">http:&#x2F;&#x2F;www.avalanchegame.org&#x2F;</a>
elyrlyabout 11 years ago
Check out MelonJS to beef up the themes
juleskaabout 11 years ago
i loved the second one xD ... it sends me back in the atari&#x27;s days hehehehe, nice job man.
jtcainabout 11 years ago
Awesome work! Keep it up!
watermarkcameraabout 11 years ago
that&#x27;s very good ,if can run mobile,it&#x27;s a good idea!
P4u1about 11 years ago
kudos man, your creativity is impressive, good work.
BostXabout 11 years ago
GREAT!!!
cognivoreabout 11 years ago
It takes longer to load than Skyrim.
评论 #7387300 未加载
Fasebookabout 11 years ago
Glad to see the technology HTML5 is capable of has come so far.