News for hackers. Stuff that matters.
Re:Classic arcade game TRON on a cloth modelling grid by Lagged2Death on Friday December 12, 2014 @02:47PM (#8742286)
I didn't know quite what the headline meant - there was at least one TRON arcade game - as in, a coin-operated game - that had a totally different concept and which is now mostly deservedly forgotten:

http://www.mobygames.com/game/arcade/discs-of-tron

There was also a TRON arcade game that was a mismash of mini-games, one of which was the light-cycles:

http://www.arcade-museum.com/game_detail.php?game_id=10204

I see from Google that indeed many, many people refer to this "use moving wall to make the other guy crash" style of game as "TRON" now, but TRON actually just put a brand name on a game genre that had been around:

http://en.wikipedia.org/wiki/Snake_%28video_game%29

A home game circa 1977, years before TRON:

http://www.mobygames.com/game/atari-2600/surround

"Snake" to TRON could actually be one of the earliest, if not the earliest, example of a big-budget studio movie adapting a video game concept. Doing so surprisingly directly.

Now, of course, half the movies that come out of Hollywood seem to have action bits that are vaguely video-game inspired.

Re:Classic arcade game TRON on a cloth modelling grid by kreldjarn on Friday December 12, 2014 @03:05PM (#8742384)
Thanks for the historical input!

I actually thought Snake and TRON were two distinct games with Snake being a 'player against environment'-game and TRON being 'player against an NPC'-game.

Re:Classic arcade game TRON on a cloth modelling grid by sunspeck on Friday December 12, 2014 @03:11PM (#8742421)
The TRON/Lightcycle genre is at its very best as a PvP(xN) game. Haven't logged in for years, but there used to be dozens of very active servers running Armagetron Advanced, and it looks like it's still going:

http://armagetronad.org/index.php

A very fun, fast paced, social, arcade-like gaming environment for someone not invested enough in gaming to delve into the likes of WoW or similar.

Re:Classic arcade game TRON on a cloth modelling grid by endgame on Saturday December 13, 2014 @02:45AM (#8744549)
They had a tournament of this at PAX AUS this year. It's not dead.
Re:Classic arcade game TRON on a cloth modelling grid by joezydeco on Friday December 12, 2014 @04:51PM (#8742930)
Discs of TRON was originally intended to be a fifth mode in the original Bally/Midway TRON, but was left out because of a couple of reasons. Some say there wasn't time to finish the mode, some thought the mode was fun enough to break out into it's own title.

And it does not deserve to be forgotten. Playing Discs of TRON in the "environmental" cabinet with stereo sound is a nice experience.

Anyway, here's some fun background on the TRON game, including some original design documents:

http://arcarc.xmission.com/Pictures/Tron%20Lost%20Documents/...

Re:Classic arcade game TRON on a cloth modelling grid by goatforce5 on Friday December 12, 2014 @04:57PM (#8742967)
An arcade nearish to me had the environmental cabinet, complete with it's customer controller hardware.

This particular machine would give you small electric shocks from the controller which I thought was part of the game, but I now realize that was probably an electrical fault with that particular machine.

Re:Classic arcade game TRON on a cloth modelling grid by paulrademacher on Friday December 12, 2014 @04:07PM (#8742691)
> there was at least one TRON arcade game... that had a totally different concept and which is now mostly deservedly forgotten

I can barely express how amazing and influential Discs of Tron was to me as a kid. The concept, the animation, the black light... totally captured my imagination right when I was first learning BASIC on TRS-Model III and C64.

Re:Classic arcade game TRON on a cloth modelling grid by codingdave on Friday December 12, 2014 @07:12PM (#8743470)
Why are you dissing Discs of Tron? In the environmental cabinet, it was one of my favorite games of all time. The locations that still have one running are cherished to me and the other fans.
Re:Classic arcade game TRON on a cloth modelling grid by doodpants on Friday December 12, 2014 @11:45AM (#8741077)
I wish it supported arrow keys. WASD is really awkward on a Dvorak keyboard.
Re:Classic arcade game TRON on a cloth modelling grid by pokstad on Friday December 12, 2014 @02:34PM (#8742211)
People with Dvorak keyboards aren't allowed to play this game.
Re:Classic arcade game TRON on a cloth modelling grid by kreldjarn on Friday December 12, 2014 @02:42PM (#8742255)
Not true. If you want to challenge yourself you can play with increasingly obscure keyboard layouts. It's a feature!
Re:Classic arcade game TRON on a cloth modelling grid by sillysaurus3 on Friday December 12, 2014 @05:47PM (#8743174)
Final boss: left ctrl, numpad 3, backslash, and ]. Better use your nose!
Re:Classic arcade game TRON on a cloth modelling grid by kreldjarn on Friday December 12, 2014 @11:48AM (#8741112)
Ha! Sorry about that. I wanted to avoid hard-coding keycodes for the sake of legibility so I used 'W'.getCharcodeAt(0) — which unfortunately doesn't work for the arrow keys.
Re:Classic arcade game TRON on a cloth modelling grid by Recoil42 on Friday December 12, 2014 @12:58PM (#8741625)
Why not just use constants?
[deleted]
Re:Classic arcade game TRON on a cloth modelling grid by ImJasonH on Friday December 12, 2014 @01:23PM (#8741790)
Rather than berate him for this "unforgivable" practice, why not send him a pull request fixing it? https://github.com/kreldjarn/TRON/blob/gh-pages/scripts/Play...
Re:Classic arcade game TRON on a cloth modelling grid by kreldjarn on Friday December 12, 2014 @01:04PM (#8741663)
Point taken. I honestly did not perceive it as a necessary feature, but I'll fix this when I open up the code again.
Re:Classic arcade game TRON on a cloth modelling grid by louhike on Friday December 12, 2014 @12:21PM (#8741347)
On keyboards for other languages than english too.
Re:Classic arcade game TRON on a cloth modelling grid by artursapek on Friday December 12, 2014 @02:00PM (#8742003)
"only on HN"
Re:Classic arcade game TRON on a cloth modelling grid by stronglikedan on Friday December 12, 2014 @03:23PM (#8742476)
Dvorak users love a challenge; That's why they're Dvorak users.
Re:Classic arcade game TRON on a cloth modelling grid by tzakrajs on Friday December 12, 2014 @12:37PM (#8741475)
Same problem on Colemak. (although less so thank Dvorak)
Re:Classic arcade game TRON on a cloth modelling grid by nightpool on Friday December 12, 2014 @03:50PM (#8742614)
PR'd https://github.com/kreldjarn/TRON/pull/13

EDIT: and pulled! Wow that was fast

Re:Classic arcade game TRON on a cloth modelling grid by kreldjarn on Friday December 12, 2014 @03:56PM (#8742638)
Thanks for the PR!
Re:Classic arcade game TRON on a cloth modelling grid by to3m on Friday December 12, 2014 @01:38PM (#8741879)
Or if you're right-handed.
Re:Classic arcade game TRON on a cloth modelling grid by Raphmedia on Friday December 12, 2014 @03:00PM (#8742362)
The arrows are generally used with the left hand anyway since the right hand is on the mouse. There is

I

JKL

that is used the the left handed people I believe.

Re:Classic arcade game TRON on a cloth modelling grid by kiiski on Saturday December 13, 2014 @07:39AM (#8745058)
Don't left handed people usually keep the mouse on the left side of the keyboard? I've seen some people do that at least.
Re:Classic arcade game TRON on a cloth modelling grid by Raphmedia on Monday December 15, 2014 @07:47AM (#8751686)
Some do, but not all. Most mouse ergonomics are made to be right handed, and since learning the mouse & keyboard is a new an alien concept for both left and right handed people, they can simply learn it with their dominant hand on the keyboard.

I wonder if that would make them better at micromanaging RTS games with keyboard shortcuts vs. shooting with the mouse in FPS.

Re:Classic arcade game TRON on a cloth modelling grid by Cyphus on Friday December 12, 2014 @01:45PM (#8741912)
What do you mean? WASD on a Dvorak keyboard is awkward no matter which hand you use.
Re:Classic arcade game TRON on a cloth modelling grid by Pwntastic on Friday December 12, 2014 @11:29AM (#8740958)
What's the music in this? I see boats.m4a but it doesn't have any metadata.
Re:Classic arcade game TRON on a cloth modelling grid by kreldjarn on Friday December 12, 2014 @11:35AM (#8741000)
I made it! I didn't figure anyone was going to take a look at it so I skimped on the metadata.
Re:Classic arcade game TRON on a cloth modelling grid by Pwntastic on Friday December 12, 2014 @11:58AM (#8741179)
Oh, well damn. It's awesome! I would totally listen to this on a regular basis
Re:Classic arcade game TRON on a cloth modelling grid by kreldjarn on Friday December 12, 2014 @12:05PM (#8741230)
Thanks! My band just released a new single: http://youtu.be/cDeRQ7rNP4Y (free download in description) — but that's quite a bit different from the music in the game.
Re:Classic arcade game TRON on a cloth modelling grid by kachnuv_ocasek on Friday December 12, 2014 @06:06PM (#8743265)
You're from THE Sykur? That's awesome, you're one of my favourite Icelandic hipster bands.
Re:Classic arcade game TRON on a cloth modelling grid by kreldjarn on Friday December 12, 2014 @06:13PM (#8743287)
Awesome! Thanks for picking us from the plethora of Icelandic hipster bands!
Re:Classic arcade game TRON on a cloth modelling grid by Pwntastic on Friday December 12, 2014 @12:31PM (#8741430)
I'm not going to lie, both the game music and the music in the youtube link are right up my alley. If you make an album of either, I'll buy them :)
Re:Classic arcade game TRON on a cloth modelling grid by bryans on Friday December 12, 2014 @03:23PM (#8742478)
I perused the rest of your videos, and couldn't really get into them. But Strange Loop really hit a sweet spot for me. The lyrics and melodies are phenomenal.
Re:Classic arcade game TRON on a cloth modelling grid by kreldjarn on Friday December 12, 2014 @03:42PM (#8742575)
I agree. The other stuff is a few years old, and I like to think the new single is more mature.
Re:Classic arcade game TRON on a cloth modelling grid by daveidixon on Friday December 12, 2014 @01:06PM (#8741677)
The music is great and fits perfectly. Really good job with the whole thing!
Re:Classic arcade game TRON on a cloth modelling grid by ahris on Saturday December 13, 2014 @02:40AM (#8744540)
I have this on repeat to study to now. Love your song!
Re:Classic arcade game TRON on a cloth modelling grid by libraryatnight on Friday December 12, 2014 @10:25PM (#8743999)
I like this. Good stuff.
Re:Classic arcade game TRON on a cloth modelling grid by Kiro on Friday December 12, 2014 @12:31PM (#8741435)
Really good! I will definitely check out more Sykur stuff.
Re:Classic arcade game TRON on a cloth modelling grid by cvburgess on Friday December 12, 2014 @01:41PM (#8741889)
Yeah, definitely opened the game in a tab and just listened to the music. Great job!
Re:Classic arcade game TRON on a cloth modelling grid by noyesno on Friday December 12, 2014 @12:44PM (#8741523)
I like it too, it reminds me of Mass Effect 2's music, galaxy map in particular (https://www.youtube.com/watch?v=j1fJoBDP6Fo)
Re:Classic arcade game TRON on a cloth modelling grid by dirkk0 on Friday December 19, 2014 @10:58AM (#8772737)
true! I tried to find that, thanks for the link.

Is the OPs music (i.e. the game music) up on Soundcloud or Youtube or may I take it from the sources like 'wget https://notendur.hi.is/~keh4/TRON/assets/boats.m4a'?

Re:Classic arcade game TRON on a cloth modelling grid by andars on Friday December 12, 2014 @02:29PM (#8742181)
Sorry if the answer is obvious to someone more experienced, but what software/tools do you use?
Re:Classic arcade game TRON on a cloth modelling grid by kreldjarn on Friday December 12, 2014 @02:56PM (#8742339)
This is Korg MS-10, Korg's Polysix softsynth and a few samples, all cooked together in Ableton Live and drowned in Waves plugins, mostly H-Delay and the SSL channel.
Re:Classic arcade game TRON on a cloth modelling grid by TD-Linux on Friday December 12, 2014 @12:08PM (#8741254)
Speaking of, you should consider adding a Opus or Vorbis for wider browser support.
Re:Classic arcade game TRON on a cloth modelling grid by kreldjarn on Friday December 12, 2014 @12:11PM (#8741272)
Thanks for the heads up, I hadn't even thought that far ahead — the music was a bit of an afterthought.
Re:Classic arcade game TRON on a cloth modelling grid by roeme on Saturday December 13, 2014 @10:28AM (#8745343)
Honestly, the first thing I did after playing for a half a minute was downloading the track, and trying to find out who made it.

Hope there will be more tracks in this style (skyur wasn't really for me).

Re:Classic arcade game TRON on a cloth modelling grid by whouweling on Saturday December 13, 2014 @04:18AM (#8744695)
It is really fascinating how much the music adds to the experience; it creates an instant atmosphere.
Re:Classic arcade game TRON on a cloth modelling grid by jmtame on Friday December 12, 2014 @11:45PM (#8744186)
wow, your music's good man. keep it up!
Re:Classic arcade game TRON on a cloth modelling grid by beebs93 on Friday December 12, 2014 @12:09PM (#8741261)
Ha, very slick - nice work!

The fabric makes timing a bit harder, but it's still a lot of fun.

Re:Classic arcade game TRON on a cloth modelling grid by shill on Friday December 12, 2014 @01:08PM (#8741689)
Pressing N for debug mode freezes the fabric. :)

var TOGGLE_CLEAR = 'C'.charCodeAt(0); var TOGGLE_BOX = 'B'.charCodeAt(0); var TOGGLE_UNDO_BOX = 'U'.charCodeAt(0); var TOGGLE_FLIPFLOP = 'F'.charCodeAt(0); var TOGGLE_RENDER = 'R'.charCodeAt(0); var TOGGLE_DEBUG = 'N'.charCodeAt(0);

Re:Classic arcade game TRON on a cloth modelling grid by kreldjarn on Friday December 12, 2014 @12:11PM (#8741277)
Thanks!
Re:Classic arcade game TRON on a cloth modelling grid by darkmighty on Friday December 12, 2014 @01:21PM (#8741776)
Have you considered trying to make the fabric alter the gameplay (e.g. make things travel faster on warped fabric)?

Great work btw.

Re:Classic arcade game TRON on a cloth modelling grid by kreldjarn on Friday December 12, 2014 @01:24PM (#8741800)
Thanks!

There's definitely room for experimentation! At some point I want to incorporate the cloth more in the actual gameplay itself, whether it's in this demo or something else.

It's a bit limited though, the forces exerted on the grid need to be within a relatively narrow range if the simulation is to obey the laws of sanity.

Re:Classic arcade game TRON on a cloth modelling grid by bobbylox on Friday December 12, 2014 @11:25AM (#8740924)
Cool demo. Turns out it kind of ruins the game because it makes the task of timing turns so much harder, but there was no way of knowing that until you tried it :) Great experiment, though!
Re:Classic arcade game TRON on a cloth modelling grid by kreldjarn on Friday December 12, 2014 @11:27AM (#8740942)
Shush, it's a gameplay feature! I agree it's not very fun to play — looks pretty though!
Re:Classic arcade game TRON on a cloth modelling grid by laumars on Friday December 12, 2014 @11:47AM (#8741105)
I actually really enjoyed the weird spin on gameplay and didn't have the timings issue you raised. However I did have problems forgetting which lightcycle I was after I died (that one lap around the board seemed to throw me every time!)

I do like this game a lot though - if just for the novelty factor

Re:Classic arcade game TRON on a cloth modelling grid by tzs on Friday December 12, 2014 @12:27PM (#8741402)
Too bad the keyboard layout diagram at the upper left doesn't do anything when clicked on. If clicking on the diagram keys had the same result as pressing the corresponding keyboard key, it could be playable on touch devices that lack keyboards ifyou added a way to start with a click.
Re:Classic arcade game TRON on a cloth modelling grid by kreldjarn on Friday December 12, 2014 @12:34PM (#8741451)
That's a very good idea. I'll implement that once uni exams are over in a few days.
Re:Classic arcade game TRON on a cloth modelling grid by jastanton on Friday December 12, 2014 @11:19AM (#8740885)
Wow that's really fun! Good work :)
Re:Classic arcade game TRON on a cloth modelling grid by kreldjarn on Friday December 12, 2014 @11:27AM (#8740944)
Thanks!
Re:Classic arcade game TRON on a cloth modelling grid by kolev on Friday December 12, 2014 @03:49PM (#8742605)
Kills Firefox Developer Edition on MacBook Air. I still can see the demo, but the entire browser becomes unresponsive and the only option is to force-close it.
Re:Classic arcade game TRON on a cloth modelling grid by Gracana on Friday December 12, 2014 @10:52PM (#8744061)
Uses all the CPU my single firefox thread can take, on both my home computer and work computer. I couldn't figure out what was wrong at first because it rendered beautifully and would respond enough to eventually start a(n unplayable) game after I mashed 'x' a bunch. It was only once I tried to close the tab that I realized it was being incredibly unresponsive.
Re:Classic arcade game TRON on a cloth modelling grid by kreldjarn on Saturday December 13, 2014 @03:54AM (#8744650)
To be fair, it's incredibly CPU-heavy. It uses an iterative approach to calculate the forces exerted on the grid, so for each frame it calculates the force exerted on each node a set number of times. (See http://en.wikipedia.org/wiki/Verlet_integration)

However, this shouldn't be so heavy that the Firefox JS engine struggles with it...

Re:Classic arcade game TRON on a cloth modelling grid by Gracana on Saturday December 13, 2014 @10:10AM (#8745322)
Yeah the weird thing is that aside from being unresponsive it seems to run fine. The lines move around and the fabric stretches and waves smoothly. That's on an older i3, and a newer 3.GHz i5. I bet it works properly in chrome. I like Firefox but I always seem to have performance issues with it.
Re:Classic arcade game TRON on a cloth modelling grid by smrtinsert on Friday December 12, 2014 @05:07PM (#8743001)
This is some of the cleanest code I've ever seen. What ide/editor do you use and plugins etc?
Re:Classic arcade game TRON on a cloth modelling grid by kreldjarn on Friday December 12, 2014 @05:15PM (#8743044)
Wow, thanks! I just used Sublime Text 2 (which I admittedly haven't bought so the prompt to buy it pops up every now and then when I save, gulp!). I have a ruler set at 80 chars and try not to surpass it.

Also, I have a JSHint plugin installed on Sublime which scans the document every time I save it and checks for missing semicolons, implicitly declared variables, etc.

Re:Classic arcade game TRON on a cloth modelling grid by pimlottc on Saturday December 13, 2014 @03:27AM (#8744606)
Very neat! One minor nit - I didn't know which one of the line was me and died on my very first move...
Re:Classic arcade game TRON on a cloth modelling grid by danepowell on Friday December 12, 2014 @12:39PM (#8741490)
Did the screen keep waving for anyone else after stopping the game? I'm feeling a bit woozy...
Re:Classic arcade game TRON on a cloth modelling grid by Filthy_casual on Friday December 12, 2014 @01:05PM (#8741675)
I felt a headache/migraine coming up within a minute and immediately closed it. I can't afford to play Hotline Miami for the screen shaking effect that adds, either.

I know one more guy who complained about Hotline Miami's screen shake: Totalbiscuit. Maybe I should try and link it to him on Twitter in hopes that he'll give me feedback.

Re:Classic arcade game TRON on a cloth modelling grid by glaugh on Friday December 12, 2014 @02:46PM (#8742277)
Wow, I'm surprised how powerful that effect is. I only played for a couple minutes (very cool), and I think it's been about a minute of my vision waving.
Re:Classic arcade game TRON on a cloth modelling grid by amolgupta on Friday December 12, 2014 @12:40PM (#8741502)
I like the simple gameplay and music.sharing the highscore on twitter would be a fun feature.
Re:Classic arcade game TRON on a cloth modelling grid by GrinningFool on Friday December 12, 2014 @03:56PM (#8742637)
Couldn't you just... make a post to twitter?

I know it's become popular to integrate that kind of thing into apps and sites, but personally I'd rather not have twitter (and FB) widgets that track all of my activity across sites.

Easy enough to copy the URL and make a twitter post.

Re:Classic arcade game TRON on a cloth modelling grid by shardo on Friday December 12, 2014 @01:42PM (#8741895)
Maybe you could include the rules? I can't seem to figure out what they are..
Re:Classic arcade game TRON on a cloth modelling grid by kreldjarn on Friday December 12, 2014 @01:45PM (#8741913)
You play the white light-cycle.

i. Use WASD to steer — you can't turn on the spot.

ii. Don't hit anything.

iii. Try to make the other light-cycle hit something.

Re:Classic arcade game TRON on a cloth modelling grid by delinka on Friday December 12, 2014 @02:07PM (#8742039)
Nice work!

Hate to be a buzzkill, but you might consider renaming it before Disney C&Ds you.

Re:Classic arcade game TRON on a cloth modelling grid by mindcrime on Friday December 12, 2014 @03:44PM (#8742585)
The funny thing is, Disney probably would do that, despite it being almost criminally stupid. Given that they (supposedly anyway) intend to continue the Tron franchise with more movies, anything that helps create / sustain interest in Tron is a Good Thing for Disney. The smarter thing for them to do would be to contact the author of this, and say "Hey can we hire you?" or something of that nature, instead of sending threats.
Re:Classic arcade game TRON on a cloth modelling grid by nightpool on Friday December 12, 2014 @04:04PM (#8742678)
I could see "We love it, but make sure to stick something on it saying its unofficial", just from a trademark dilution perspective.

but yeah a C&D/Github DMCA would be incredibly stupid.

Re:Classic arcade game TRON on a cloth modelling grid by chrisbennet on Tuesday December 16, 2014 @09:35AM (#8757268)
Impressive! Is there some way I download/buy the music?
Re:Classic arcade game TRON on a cloth modelling grid by spain on Friday December 12, 2014 @02:00PM (#8742002)
Looks cool but it froze my browser...
Re:Classic arcade game TRON on a cloth modelling grid by jesse_m on Friday December 12, 2014 @01:04PM (#8741667)
This was really fun! Good job!
Re:Classic arcade game TRON on a cloth modelling grid by thomasfl on Saturday December 13, 2014 @06:30AM (#8744930)
Hold it! This is to fast.
Re:Classic arcade game TRON on a cloth modelling grid by connie_lingus on Friday December 12, 2014 @02:52PM (#8742315)
an impressive technical achievement, and kudos for the music.
Re:Classic arcade game TRON on a cloth modelling grid by djrconcepts on Friday December 12, 2014 @02:28PM (#8742176)
Fun game, and clean code.

Good job!

Re:Classic arcade game TRON on a cloth modelling grid by maninalift on Friday December 12, 2014 @08:37PM (#8743742)
yaaaaaaaaaaaaaaaaaarg awesome!
Re:Classic arcade game TRON on a cloth modelling grid by lfottaviano on Friday December 12, 2014 @12:30PM (#8741421)
good work! Cute game!
Re:Classic arcade game TRON on a cloth modelling grid by smrtinsert on Friday December 12, 2014 @05:05PM (#8742996)
spectacular.