Live data from Hacker News

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

adityaravishankar.com

11–20 of 65 posts

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

#11
post #3

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

Or Herzog Zwei or perhaps earlier games (Ancient Art of War anyone?). (sadly I guess this discussion somehow has to come up every time someone mentions the word RTS.)

I have to say I really enjoyed Herzog Zwei on the Genesis - did anyone ever make a new version of it?

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

#12
post #3

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

Or Herzog Zwei or perhaps earlier games (Ancient Art of War anyone?). (sadly I guess this discussion somehow has to come up every time someone mentions the word RTS.)

Yes. http://carbongames.com/airmech/help.html Interesting blog where they write about their experience in porting it to NaCl.

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

#13
ea is making the same thing. http://www.ea.com/tiberium-alliances

Command and Conquer Tiberium Alliances brings the battle to your browser in this epic strategy MMO. Compete or ally with your friends in a worldwide war for precious resources. Based in the Command and Conquer Tiberium story world, C&C Tiberium Alliances allows players to experience C&C in a brand new way. Using HTML 5 technology, players are able to access their game from any web accessible browser making this one of the first truly portable mmo strategy titles to hit the market. Apply for the Closed Beta today at www.TiberiumAlliances.com and get into the closed beta.

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

#14
Great effort! Still a couple of comments: As already mentioned C&C is not the originator of this genre. Wikipedia has a decent article on this:

http://en.wikipedia.org/wiki/Real-time_strategy

Also please don't use a black background. The dark blue links are really hard to see clearly!

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

#16
I would advise you to stop working on this project immediately, and instead focus your efforts on creating a game with original game content. EA owns the trademarks and copyright to the material.

You'll be much better off by starting your own project, instead of cloning a commercial product. Yes, the source code of command and conquer might have been released by EA, but EA still owns the trademaks.

(speaking as someone who as tried recreating a popular turn based strategy game using HTML5..)

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

#18

I would advise you to stop working on this project immediately, and instead focus your efforts on creating a game with original game content. EA owns the trademarks and copyright to the material. You'll be much better off by starting your own project, instead of cloning a commercial product. Yes, the source code of command and conquer might have been released by EA, but EA still owns the trademaks. (speaking as someo…

I can see EA getting up in arms over a game like this since they are still selling Command & Conquer Games (Tiberian Dawn was part of Command & Conquer: The First Decade which came out a few years ago), but what about for other games that aren't being sold? The author here is giving proper attribution and isn't making any money off of it, as far as I understand. What about remaking games from companies that don't exist anymore?

/not an expert on copyright and honestly curious

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

#19
post #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…

All these are minified versions. I believe these were kept in place with different version number attached to be able to quickly switch between, not for version control reasons.

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

#20
I'm on Mac OS X Lion and Firefox. I lost my cursor after I loaded this page. So now, when Firefox (any firefox window) is active my cursor disappears. It returns when I make some other app active. This sometimes happens on Chrome and Flickr, so I wonder if there is some HTML5 thing that is buggy for FF and Chrome?

Any one else with this issue?

Post reply on HN