About Monkey 2 › Forums › Monkey 2 Projects › Start of Civ Clone in browser
This topic contains 7 replies, has 4 voices, and was last updated by
Pakz 1 year, 9 months ago.
-
AuthorPosts
-
June 21, 2017 at 5:20 am #8842

I am working on creating a civilization 1 style game. I spend a day on it so far
You can move units around and build cities and roads. For instructions press 1.
https://cromdesi.home.xs4all.nl/emscripten/civclone01/Main.html
If I do not get distracted then I will add features to the city screen and more types of units and barbarians. I more or less felt like coded this after playing a short game of civilization 1.
There might be a bug where a unit can dissapear. Not to sure if I fixed that already.
Edit : Here is the page of the project on socoder. : (currently at version 0.70)
http://socoder.net/?showcase=59851
Edit2:Added screenshot of version 0.70
Attachments:
June 21, 2017 at 5:26 am #8844It look interesting, but the controls are (IMHO) absolutely horrible! the use of the left mouse is a very bad choice as mobile users don’t have that along with MacOs, etc. it would be better to think about having either some for on onscreen controls or think of another way to do things ;/
June 21, 2017 at 5:36 am #8846I had not thought of the controls yet. I think I will need to add some sort of gui.
It is only tested on windows at the moment.
June 21, 2017 at 11:23 pm #8858I added several new things. One is a interface with which you can move units and give them commands. Works with the left mouse button. I could not get the touch controls working yet. Still some difficulties there.
The interface can be docked. Also I added fog of war.
Here the new web version (v0.2)
https://cromdesi.home.xs4all.nl/emscripten/civclone02/Main.html
Attachments:
June 28, 2017 at 10:49 pm #9015Looks cool, I’d play it. I’d like it if you make it show the city’s radiuses on the map.
If you click B twice it makes a city in the top left of the screen.
June 29, 2017 at 1:59 am #9029I wil add the city radius. I hope I fixed that city build at 0.70 . Some code was placed wrong I think. Version 0.70 wil probably be uploaded in a few hours that should have this fixed.
I also added a new screenshot on the top of this thread here.
btw there is no selection for mapsizes yet. I usually put it at 20×20. The last screenshot was 32*32. Some tiles I noticed are wrong(the yellow ones)
June 29, 2017 at 12:40 pm #9041Emscripten works perfectly!
June 29, 2017 at 5:38 pm #9044Yeah, emscripten is really neat. I tested the game yesterday on the ipad mini 1’s browser and it worked. (Only no touch yet) Earlier this year emscripten did not work on on the device.
-
AuthorPosts
You must be logged in to reply to this topic.

