Start of Civ Clone in browser

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.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #8842

    Pakz
    Participant

    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

    #8844

    AdamStrange
    Participant

    It 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 ;/

    #8846

    Pakz
    Participant

    I 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.

    #8858

    Pakz
    Participant

    I 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:
    #9015

    curtastic
    Participant

    Looks 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.

    #9029

    Pakz
    Participant

    I 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)

    #9041

    cocon
    Participant

    Emscripten works perfectly!

    #9044

    Pakz
    Participant

    Yeah, 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.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.