News for hackers. Stuff that matters.
Re:Js13kGames Winners – JavaScript games with a file size li... by SwellJoe on Saturday September 30, 2017 @10:34AM (#15373012)
Some of these are really impressive. There have been several surprises where the developer(s) went the extra mile in ways that are surprising. Like in Lossst, when finishing a level, it'll zoom the camera to the next door and back to the worm. It's amazing that someone working within such a tight limit can think, "I know, we'll do this nice zooming thing which has no real relation to game play but will feel nice!"

JS has gotten incredibly concise in recent years. I've noticed it on codefights.com, where a lot of the shortest entries are JavaScript (and very few are Perl, which surprised me, due to Perl's long golfing history). I'm constantly struck by how tightly all the pieces work together these days and how much you can do with so little.

Re:Js13kGames Winners – JavaScript games with a file size li... by xem on Monday October 02, 2017 @04:46AM (#15382489)
Thanks man! I made this game by (ab)using the power of CSS and CSS3D, and really focused on the player experience, so I'm glad you enjoyed it! If you continue playing, you'll see even more surprises :) Also, here's a making-of: http://xem.github.io/articles#js13k17
Re:Js13kGames Winners – JavaScript games with a file size li... by chirau on Saturday September 30, 2017 @11:13AM (#15373203)
Couldn't get past the first level. What am i supposed to do? What's the puzzle? Seemed like a dead end to me, all the doors had numbers greater than my length. How am I supposed to increase my length?
Re:Js13kGames Winners – JavaScript games with a file size li... by SwellJoe on Saturday September 30, 2017 @11:49AM (#15373411)
Eat an apple. There's at least one door that you can get through on the first level (at least, there was for me, I dunno if it's randomized).
Re:Js13kGames Winners – JavaScript games with a file size li... by xem on Monday October 02, 2017 @04:48AM (#15382494)
Yeah sorry, apple-eating is basically the only detail I didn't explain, thinking it was the most normal thing to do when you control a snake :)
Re:Js13kGames Winners – JavaScript games with a file size li... by olegkikin on Saturday September 30, 2017 @06:46AM (#15372231)
1st place Greeble by Ryan 'Rybar' Malm (http://js13kgames.com/games/greeble/index.html)

2nd place LOSSST by Maxime Euziere

3rd place Lost Beacons by Rémi Vansteelandt

4th place The Lost Packets by ElementalSystems

5th place Lost in a Space Odyssey by MarcGuinea

6th place A moment lost in time. by piesku.com

7th place Search of Sounds by Vitalii Liapin

8th place BUNNY LOST! by Eoinmcg

9th place Where is Winston by Gheja_

10th place You Are Lost by Rebecca

11th place A Day In The Life by Mattia Fortunati

12th place Blackbox: Lost Particles by Adam Jakubowski

13th place Trapped in the Hyperdimensional Maze by Benjamin Hanken

14th place LOST AND ANGRY by Jesús Olmos

15th place Mauja by Viktor & Pavlo

16th place Lost on Stranger Terra by Csaba Csecskedi

17th place Lost Marbles by Rene Hangstrup Møller

18th place EYESORE! by Alastair Pearce

19th place Just go straight by Pierre Gimond

20th place Neon Dungeon by Attila Horváth

Cached:

https://web.archive.org/web/20170930100010/http://2017.js13k...

http://webcache.googleusercontent.com/search?q=cache:http://...

Re:Js13kGames Winners – JavaScript games with a file size li... by limeblack on Saturday September 30, 2017 @04:42PM (#15374892)
Love how 2 - 6 all have lost in their title.
Re:Js13kGames Winners – JavaScript games with a file size li... by tgb on Saturday September 30, 2017 @06:13PM (#15375253)
The theme for the competition was "lost" - programmers are perhaps not the most creative at naming things.
Re:Js13kGames Winners – JavaScript games with a file size li... by indescions_2017 on Saturday September 30, 2017 @09:15AM (#15372712)
Congrats to Greeble for the first place finish. The hold and tap mechanic is awkward at first but once you get more body parts, its a real platformer. Which is qute impressive at 13kB!

Personally, I love seeing old school techniques translated to HTML5 Canvas2D: bitmap fonts, color palette shifting, scanline rasterization, etc.

Uses Sonant-X JS synth lib for sound generation:

https://github.com/nicolas-van/sonant-x

Re:Js13kGames Winners – JavaScript games with a file size li... by aw3c2 on Saturday September 30, 2017 @05:53AM (#15372077)
Updated as I play some:

Greeble: Having to press "z" makes me dread keyboard issues (I am on qwertz). Fell into a dead-end pit and quit.

Lossst: Uses ALT for a crucial move, ALT triggers my browser's menu. Got stuck. Quit.

Lost Beacons: Works nicely but the scrolling is jarring and confusing. Would have played more than 2 levels otherwise. Sound would help tremendously in keeping a track of what is happening.

The Lost Packets: My clicks often don't register? Gave up on the second level.

Lost in a Space Odyssey: Cute, fun and interesting. Had lots of fun!

A moment lost in time: Some confusion with cursor capture. Interesting but seems more like art than game. Confusing.

Re:Js13kGames Winners – JavaScript games with a file size li... by infinita740 on Saturday September 30, 2017 @08:59AM (#15372659)
If you liked Lost In a Space Odyssey check out "Lovers in a dangerous spacetime"[1] which it seems to draw inspiration from (similar artstyle and mechanics). It's a really fun and well made co-op game.

1. https://www.gog.com/game/lovers_in_a_dangerous_spacetime

Re:Js13kGames Winners – JavaScript games with a file size li... by stasm on Monday October 02, 2017 @06:52AM (#15382930)
I'm one of the creators of 'A moment lost in time.' Thanks for playing it and for the feedback. Are you on Linux by any chance? I've had some issues with the Pointer Lock API in Firefox on Linux.
Re:Js13kGames Winners – JavaScript games with a file size li... by madmax108 on Sunday October 01, 2017 @06:28AM (#15377189)
"The game broke my workflow"

https://xkcd.com/1172/

Re:Js13kGames Winners – JavaScript games with a file size li... by haburka on Saturday September 30, 2017 @01:05PM (#15373807)
They are demos, using experimental browser technology. Why does everyone on this website expect everything to work for them?
Re:Js13kGames Winners – JavaScript games with a file size li... by user5994461 on Saturday September 30, 2017 @05:42PM (#15375124)
It's also a demo of the most glaring game issue: game doesn't work on non USA keyboard.
Re:Js13kGames Winners – JavaScript games with a file size li... by failrate on Saturday September 30, 2017 @06:12PM (#15375247)
You are a hacker. Hack the controls to match your keyboard.
Re:Js13kGames Winners – JavaScript games with a file size li... by userbinator on Saturday September 30, 2017 @12:51PM (#15373722)
13KB --- that's a very odd number and according to the site, was chosen arbitrarily. 16 or 8 would be more usual in the demoscene, where they were traditionally enforced by the limits of the hardware.

There is a related competition with a limit of only 1024 bytes: http://js1k.com/

Re:Js13kGames Winners – JavaScript games with a file size li... by 7373737373 on Saturday September 30, 2017 @02:30PM (#15374282)
And here a 140-character competition: https://news.ycombinator.com/item?id=13700698
Re:Js13kGames Winners – JavaScript games with a file size li... by pagnol on Saturday September 30, 2017 @09:12AM (#15372703)
I just played Lossst and was sure it had been made with WebGL... I couldn't believe my eyes when I realized the author used divs and css transforms for everything. I really had no idea how much can be done with just css3.
Re:Js13kGames Winners – JavaScript games with a file size li... by xem on Monday October 02, 2017 @04:50AM (#15382501)
Hi! yup, only CSS and emoji. :) if you want to know a bit more, here's a making-of: http://xem.github.io/articles#js13k17
Re:Js13kGames Winners – JavaScript games with a file size li... by turtlebits on Sunday October 01, 2017 @12:09PM (#15378435)
It plays terribly on my 4k resolution laptop in a regular Chrome window (ie not full screen). Played a few of the others and they were fine.
Re:Js13kGames Winners – JavaScript games with a file size li... by craftsman on Saturday September 30, 2017 @02:24PM (#15374249)
Two friends and I built and submitted _At Journey's End_:

https://github.com/w0hrk/js13k

We used TypeScript along with rollup and uglifyjs and got the zipped artifact just under 13k. The contest was a lot of fun and we learned a bunch along the way. It's a great contest and I'd encourage you to participate next time. Get a friend or two and have fun building a game you enjoy.

Re:Js13kGames Winners – JavaScript games with a file size li... by Xoros on Saturday September 30, 2017 @06:07AM (#15372121)
Tried the winner in the mobile section on my iPhone. It crashed. Guess I'll have a look at it on my desktop computer so...
Re:Js13kGames Winners – JavaScript games with a file size li... by xem on Monday October 02, 2017 @04:52AM (#15382511)
yah, sorry, it works best on Chrome (Win10, Mac or Android)
Re:Js13kGames Winners – JavaScript games with a file size li... by drakonka on Saturday September 30, 2017 @04:18PM (#15374811)
I've been participating in this for a few years (except last year) and it's a lot of fun. It has also taught me that I am really bad at designing things that are fun. I come up with things that I find interesting, but that usually does not translate at all to something other people would find cool or enjoyable. To be honest I don't mind - the participation is fun enough and it encourages me to step away from my main long-term hobby project for a month.
Re:Js13kGames Winners – JavaScript games with a file size li... by hoosieree on Saturday September 30, 2017 @12:43PM (#15373681)
Just did a byte count on a project I'm working on (in JS) that I thought was lightweight...

It doesn't do the main thing it's supposed to do yet, but is already 3kB. The shame!

Re:Js13kGames Winners – JavaScript games with a file size li... by Entangled on Saturday September 30, 2017 @08:12AM (#15372503)
I loved 15. Mauja cuz I'm addicted to Tiny Wings kind of games.

Would like to see it ported to iPhone and Android for casual gaming.

Re:Js13kGames Winners – JavaScript games with a file size li... by zestyping on Saturday September 30, 2017 @03:57PM (#15374724)
13 kilobytes is 13,000 bytes, not 13,312 bytes.
Re:Js13kGames Winners – JavaScript games with a file size li... by maskedSlacker on Saturday September 30, 2017 @05:39PM (#15375110)
1 kB = 1024 bytes, not 1000.

13*1024 = 13,312.

Re:Js13kGames Winners – JavaScript games with a file size li... by shakna on Saturday September 30, 2017 @08:37PM (#15375784)
1 kB = 1000 bytes.

You're thinking of the "kibibyte": 1 KiB, 1024 bytes. [0]

[0] https://en.wikipedia.org/wiki/Kibibyte

Re:Js13kGames Winners – JavaScript games with a file size li... by Vendan on Sunday October 01, 2017 @05:30PM (#15379919)
> The interpretation of the older term "kilobyte" to denote 1024 bytes, conflicting with the SI definition of the prefix kilo (1000), is still common.

You can argue about how wrong it is all you want, but 1kb will always be 1024 bytes to me.

Re:Js13kGames Winners – JavaScript games with a file size li... by jedisct1 on Saturday September 30, 2017 @10:01AM (#15372879)
The Lost Packets is very addictive!
Re:Js13kGames Winners – JavaScript games with a file size li... by thriftwy on Saturday September 30, 2017 @05:32AM (#15372023)
How to play?
Re:Js13kGames Winners – JavaScript games with a file size li... by stevekemp on Saturday September 30, 2017 @05:34AM (#15372033)
Click on the game-name and then click "Play the game".

e.g The first result in the list is is Greeble:

* http://js13kgames.com/entries/greeble

Play it here:

* http://js13kgames.com/games/greeble/index.html

Re:Js13kGames Winners – JavaScript games with a file size li... by shashwat986 on Saturday September 30, 2017 @06:10AM (#15372137)
HN hug of death?
Re:Js13kGames Winners – JavaScript games with a file size li... by as1mov on Saturday September 30, 2017 @05:58AM (#15372095)
Site seems to be down right now. I am getting the generic Laravel "Whoops, looks like something went wrong." page.
Re:Js13kGames Winners – JavaScript games with a file size li... by fiokoden on Saturday September 30, 2017 @07:16AM (#15372304)
Dead link