Live data from Hacker News

Command and Conquer – Programming an RTS game in HTML5 and Javascript

adityaravishankar.com

1–10 of 65 posts

Re: Command and Conquer – Programming an RTS game in HTML5 and Javascript

#4

dupe - http://news.ycombinator.com/item?id=3473024

It doesn't matter if its a dupe of something everyone missed before and people up vote it this time. So much stuff gets submitted now that links are only on the first page of the new list for a few minutes and can easily be missed. This time its hit at the right time and there could be a good discussion about it.

Re: Command and Conquer – Programming an RTS game in HTML5 and Javascript

#7
post #5
post #3

C&C is not the "grandaddy" of RTS. Dune 2 is.

Still it is EPIC especially in HTML5. Quite impressed how far you can go with HTML5 and javascript :)

Oh, no doubt. I'm just being a pedant, like any good geek would be!

Re: Command and Conquer – Programming an RTS game in HTML5 and Javascript

#9
i'd suggest using Git properly instead of making a new copy of the main JS file with every version:

https://github.com/adityaravishankar/command-and-conquer/tre...

it would also be nice if you separated out the code into functional modules (as opposed to event functions) so that parts can be reused. I was interested in checking out your selection code since I implemented my own recently.

better modules and functional separation would also make it easier for others to understand and contribute to the code.

Not taking anything away from an awesome demo, just some suggestions.

Re: Command and Conquer – Programming an RTS game in HTML5 and Javascript

#10
post #3

C&C is not the "grandaddy" of RTS. Dune 2 is.

You beat me to it. :) Some background on Command & Conquer in relation to Dune 2:

http://www.computerandvideogames.com/183584/features/command...

  "The first time we showed that game internally it had wizards
  and castles," recalls a smiling Castle. "We were working with
  Virgin at the time, and they said that they had this great IP,
  Frank Herbert's Dune, and Brett loved the books. So we took
  the game we were working on and recreated it in the Dune
  universe.

  "It solved one of the fundamental problems we had with making
  an RTS, which was that we wanted to have a central resource
  that everybody was fighting over. Dune has spice, which made
  perfect sense - and it was also used when we came to the idea
  of tiberium. It became the anchor of the C&C universe...".
Post reply on HN