basucaca

所属分类:游戏
开发工具:UNIX
文件大小:5056KB
下载次数:0
上传日期:2019-03-24 00:24:42
上 传 者tigu
说明:  We will collect personal information by lawful and fair means and, where appropriate, with the knowledge or consent of the individual concerned.

文件列表:
.babelrc (149, 2019-02-08)
.eslintrc.js (487, 2019-02-08)
LICENSE (35147, 2019-02-08)
assets (0, 2019-02-08)
assets\cities (0, 2019-02-08)
assets\cities\NEWCITY.SC2 (64990, 2019-02-08)
assets\cities\TESTCITY.SC2 (46357, 2019-02-08)
index.html (450, 2019-02-08)
lib (0, 2019-02-08)
lib\fomantic-ui-2.7.1 (0, 2019-02-08)
lib\fomantic-ui-2.7.1\LICENSE.md (1042, 2019-02-08)
lib\fomantic-ui-2.7.1\semantic.css (955373, 2019-02-08)
lib\fomantic-ui-2.7.1\semantic.js (891332, 2019-02-08)
lib\fomantic-ui-2.7.1\themes (0, 2019-02-08)
lib\fomantic-ui-2.7.1\themes\default (0, 2019-02-08)
lib\fomantic-ui-2.7.1\themes\default\assets (0, 2019-02-08)
lib\fomantic-ui-2.7.1\themes\default\assets\fonts (0, 2019-02-08)
lib\fomantic-ui-2.7.1\themes\default\assets\fonts\brand-icons.eot (123540, 2019-02-08)
lib\fomantic-ui-2.7.1\themes\default\assets\fonts\brand-icons.svg (688937, 2019-02-08)
lib\fomantic-ui-2.7.1\themes\default\assets\fonts\brand-icons.ttf (123304, 2019-02-08)
lib\fomantic-ui-2.7.1\themes\default\assets\fonts\brand-icons.woff (79752, 2019-02-08)
lib\fomantic-ui-2.7.1\themes\default\assets\fonts\brand-icons.woff2 (68240, 2019-02-08)
lib\fomantic-ui-2.7.1\themes\default\assets\fonts\icons.eot (191332, 2019-02-08)
lib\fomantic-ui-2.7.1\themes\default\assets\fonts\icons.svg (725405, 2019-02-08)
lib\fomantic-ui-2.7.1\themes\default\assets\fonts\icons.ttf (191112, 2019-02-08)
lib\fomantic-ui-2.7.1\themes\default\assets\fonts\icons.woff (92696, 2019-02-08)
lib\fomantic-ui-2.7.1\themes\default\assets\fonts\icons.woff2 (72000, 2019-02-08)
lib\fomantic-ui-2.7.1\themes\default\assets\fonts\outline-icons.eot (40576, 2019-02-08)
lib\fomantic-ui-2.7.1\themes\default\assets\fonts\outline-icons.svg (142267, 2019-02-08)
lib\fomantic-ui-2.7.1\themes\default\assets\fonts\outline-icons.ttf (40348, 2019-02-08)
lib\fomantic-ui-2.7.1\themes\default\assets\fonts\outline-icons.woff (18168, 2019-02-08)
lib\fomantic-ui-2.7.1\themes\default\assets\fonts\outline-icons.woff2 (14880, 2019-02-08)
lib\fomantic-ui-2.7.1\themes\default\assets\images (0, 2019-02-08)
lib\fomantic-ui-2.7.1\themes\default\assets\images\flags.png (28123, 2019-02-08)
package.json (1605, 2019-02-08)
screenshots (0, 2019-02-08)
screenshots\1.png (523200, 2019-02-08)
... ...

# OpenSC2K OpenSC2K - An Open Source remake of SimCity 2000 written in JavaScript, using WebGL Canvas and [Phaser 3](https://github.com/photonstorm/phaser/). ## Overview Currently a lot remains to be implemented but the basic framework is there for importing and viewing cities. Lots of stuff remains completely unimplemented such as the actual simulation, rendering of many special case tiles and buildings and anything else that exists outside of importing and viewing. Along with implementing the original functionality and features, I plan to add additional capabilities beyond the original such as larger city/map sizes, additional network types, adding buildings beyond the initial tileset limitations, action/history tracking along with replays and more. I've only tested using Chrome / Firefox on macOS, but it should run fairly well on any modern browser/platform that supports WebGL. Performance should be acceptable but there is still a LOT of room for optimizations and improvements. Due to copyrights, the original graphics and assets from SimCity 2000 cannot be provided here. I've developed and tested using the assets from SimCity 2000 Special Edition for Windows 95. Once I've got the basic engine stabilized I plan to add support for multiple versions of SimCity 2000 in the future. **Update:** I've been working on refactoring considerable portions of the code for clarity and performance. Due to the changes a lot of existing functionality is now completely broken and will be fixed in upcoming commits. ![Screenshot](/screenshots/1.png) ## Installation You can use yarn (recommended) or npm to install and run. Once installed and started, open a browser to http://localhost:3000 to start the game. ### OS X / Linux 1. `git clone https://github.com/rage8885/OpenSC2K` or download this repository 1. `cd OpenSC2K` 1. `yarn install` downloads and installs the dependancies 1. `yarn dev` to run ## Usage By default, a test city included in the /assets/cities/ folder will load. Currently you must modify the `/src/city/load.js` file to load different cities. Requires two files from the Windows 95 Special Edition version of SimCity 2000: `LARGE.DAT` and `PAL_MSTR.BMP`. These must be placed in the `/assets/import/` directory prior to starting the game. The files will be automatically parsed and used for all in game graphics. ### Controls - `WASD` to move the camera viewport - `Q` or `E` to adjust camera zoom ![Screenshot](/screenshots/2.png) ![Screenshot](/screenshots/3.png) ![Screenshot](/screenshots/4.png) ## Acknowledgements Based on the work of Dale Floer - SimCity 2000 specifications (*.sc2) - MIF / LARGE.DAT graphics extraction Based on the work of David Moews - SimCity 2000 for MS-DOS file format; unofficial partial information Portions of the SC2 import logic are based on sc2kparser created by Objelisks and distributed under the terms of the ISC license. Includes work adapted from the Graham Scan polygon union JavaScript implementation by Lovasoa and distributed under the terms of the MIT license ## License OpenSC2K - An Open Source SimCity 2000 remake Copyright (C) 2019 Nicholas Ochoa This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . SimCity 2000 is copyright Electronic Arts / Maxis. No assets, artwork or other media from the original game is included in this remake. The OpenSC2K engine is being rebuilt as a new implementation and does not use any code from the original game reproduced in any form.

近期下载者

相关文件


收藏者