C&C HTML5 Clone

A JavaScript remake of this classic RTS game from Westwood Studios.

NOTE: I just recently started from scratch on this project again and all the previous code is deprecated.

For more information visit my GitHub page.

 

Links:

Source-code: https://github.com/andersevenrud/cnc

OLD Source-code: https://github.com/andersevenrud/cnc-old

 

Screenshots:

Screenshot Oct 04 2011



  1. Did you stop working on this? I can’t believe how many people have been trying this on the web.

    I have been independently working on the same game in Javascript using HTML5 Canvas and have made some more progress….

    I now have a playable level on my website. Still not perfect though.

    http://www.adityaravishankar.com/projects/games/command-and-conquer/

    Would love to hear your feedback….

    1. Still doing some work, but have a lot of other projects running now.

      Wow, dude! Serious nice work there 😀 Respect!

  2. Thanks.. Glad you like it…

    I just put up an improved pathfinding and steering demo over here… http://www.adityaravishankar.com/projects/games/pathfinding-javascript-rts-demo/ … I tried to use ideas from Starcraft 2…. Still a long way from perfect… But it’s getting better….

    1. Now that I like! It’s a bit qirky but, seem to work OK. Very cool stuff 🙂
      Any plans for releasing the sources? Would have been awesome to implement some of this stuff in my project.
      So far I’ve only got the time to look at a simple A+ implementation for pathfinding, but It ain’t near perfect.

      1. I finished coding it at 4:30 AM my time. Might have something to do with it… Am cleaning up the code… Will have a better implementation up by tomorrow… 😉

        I probably won’t release the full source, but I do plan on doing a series of tutorials on different components of the game. (Similar to my series on breakout…. http://www.adityaravishankar.com/2011/10/html5-game-development-tutorial-breakout-i-introduction-to-canvas/ )

        Will probably cover all the bits that I had a hard time with – Caching and Lazy loading images, Smooth panning, Unit and Building animation, Pathfinding and Collision detection, unit/building dependencies etc…. Maybe help people put together a generic framework for an RTS that they can they build upon….

  3. Tweaked the pathfinding. I think v2 is a little bit better.

    Check out the demo video I uploaded … http://www.youtube.com/watch?v=VMI2nLC7i5w …. Still not perfect though…. 🙂

    1. Very cool 🙂

  4. This is a demo of the new version I am working on, with more units, levels and multiplayer support…

    1. Epic! 😀 Great work, dude!

  5. C&C #HTML5 v0.5 has been released with new units (Engineers, Harvesters), and 2 new levels.

    http://www.adityaravishankar.com/projects/games/command-and-conquer/

    Multiplayer is still in private beta but works. You can sign up for the beta and check out feedback, screenshots and comments from all the other testers on the Facebook page. http://www.facebook.com/CommandConquerHtml5/

    🙂

  6. Hallo! Ich bin wirklich begeistert aufgrund von diesem Bericht.
    Recht herzlichen Dank dafür. Kann ich davon ausgehen, dass
    der Inhalt immer noch das Aktuelle aufzeigt?
    Oder ist dies mittlerweile veraltet? Wenn das der Fall sein sollte, dann möchte ich es sehr gerne wissen, wenn das möglich ist.
    Vielen Dank vorweg!

Leave a comment


Help out a fellow nerd

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 341 other subscribers