Git Product home page Git Product logo

sc_js's Introduction

SC-Js

Classic RTS game at html5 canvas and javascript, only js codes, copyright materials removed

Getting started

  • Download the latest version from github: https://github.com/gloomyson/SC_Js/archive/master.zip
  • Unzip the folder
  • Extract original resources from starcraft and add into bgm & img folder
  • Double click index.html in the folder (this should open the game with your browser)
  • You can play without image/audio materials by input available CDN location instead, for example 'www.nvhae.com/starcraft'
  • Press the radio button (circle next to the level name) to select a level and play

Former 2015 version features:

  • All units/buildings/bullets/maps/magics and animations completed
  • Support war fog, zerg creep
  • Control panel, different buttons and icons
  • Support cheat code
  • Mouse and key control complete
  • Seven basic levels to test units and buildings
  • Three additional levels for playing: Champain, HUNTERXHUNTER and ProtectAthena

Newly added features in latest version

  • One additional level added: Tower Defense
  • Support replay your game playing
  • Experimental: Basic network play support in level 2, players can chat with each other in multiplayer mode
  • Experimental: Android install package for play on mobile devices
  • Check svn.log for other detailed changes

Notice

  1. Need extract resource from orginal starcraft game, and add them into bgm/img folder before play
    • List serveral useful extract tools: MpqWorkshop, GRPEdit and RetroGRP
  2. Need setup server before play in multiplayer mode, follow below steps:
    • Install NodeJs on your machine
    • Install websocket module: input 'npm install websocket' in cmd
    • Start SC_server: input 'node GameRule\SC_server.js' in cmd
  3. To play it on mobile device, install Android install package on your device: SC.apk
    • Tap once equals mouse click to select/unselect units
    • Tap twice equals mouse double click to select all same typed units
    • Hold pressing on screen equals mouse right click to set moving destination
    • Two fingers press on screen equals mouse dragging to select multiple units inside rectangle
    • Slide finger on screen to pan left/right/up/down

Try it online at:

SC Html5 Online

sc_js's People

Contributors

gloomyson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sc_js's Issues

Never loads....

Used your hyperlink and no luck. Blank window and nothing came up on the developer console. Downloaded the zip and opened index.htm in FireFox. What is required to get his to run?

Where do original files belong

The Readme only mentions very briefly Extract original resources from starcraft and add into bgm&img folder, however at least for me this is not clear what should go into the bgm and what should go into the img folder.

Thanks for any help :-)

GUI damaged

If I start from my local index.html, the GUI is damaged (see at bottom left and right):
image

if I start with same browser at location http://www.nvhae.com/starcraft/ everything is working.
Any Idea where is problem?

Resource

Hi, there's something intended to mine vespene gas or minerals?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.