Welcome, Guest

Author Topic: Map War 3 (WIP)  (Read 40365 times)

blotz

  • Formerly 'bong'
  • *****
  • Posts: 813
  • op pls
Re: Map War 3 (WIP)
« Reply #60 on: July 03, 2016, 07:50:28 AM »
i has added a coordinate tracker, dont forget to git pull

Bla

  • Global Moderator
  • *****
  • Posts: 1013
  • The stars died so you can live.
Re: Map War 3 (WIP)
« Reply #61 on: July 03, 2016, 08:29:30 AM »
Nice jobes. Not sure if we need the coords displayed but good to see it works relative to the window and not entire display. I'm thinking we should see if we can get some buttons to work, coordinate detection probably wouldn't be needed for that though.

FiahOwl

  • *****
  • Posts: 1234
  • This is, to give a dog and in recompense desire my dog again.
Re: Map War 3 (WIP)
« Reply #62 on: July 03, 2016, 09:32:42 AM »

This message is only viewable with Universe Sandbox Galaxy Edition. Access it and much more with promo-code '172559'.

« Last Edit: March 22, 2021, 02:02:00 AM by FiahOwl »

Bla

  • Global Moderator
  • *****
  • Posts: 1013
  • The stars died so you can live.
Re: Map War 3 (WIP)
« Reply #63 on: July 03, 2016, 02:27:39 PM »
I added a button function, maybe the next goal could be to set up a second screen after clicking the start button, adding a quit button or whatever. I've been following some of these videos and it describes how the button could start e.g. the main game loops, with rounds and turns.


blotz

  • Formerly 'bong'
  • *****
  • Posts: 813
  • op pls
Re: Map War 3 (WIP)
« Reply #64 on: July 04, 2016, 08:25:28 AM »
something really weird was going on with the button, i think it was the fact that my mouse position displayer was wiping the screen black every loop, so that bugged it up a lot. so i fix'ed that part and commented it out, as long as a few other things, also the button you made it display the rectangle on the picture but i switched it so it would be on the screen so now it works and we have 1 button declaration in the whole thing instead of like 2 so it's nice and working

ok added a second screen that works
« Last Edit: July 04, 2016, 09:01:44 AM by blotz »

Bla

  • Global Moderator
  • *****
  • Posts: 1013
  • The stars died so you can live.
Re: Map War 3 (WIP)
« Reply #65 on: July 04, 2016, 10:04:13 AM »
Good jobes. I was working on it earlier today but let's just continue on your work. I added a quit button and got stuck at an image of Seb Castro for second screen.

I added the quit button now to both screens. On the second screen, there's a problem with it, seems to be related to mousePos not updating after going to the second screen.
I'm thinking of just letting the "startGame" variable for action be changed to a more general button action, because it would work for any button to make the button return 1 when clicked, and cause that to run some code that starts game, changes settings or quits or whatever.



I think maybe the next goal could be to find a way to make a map or something... This is the really hard part...

We'd probably need a screen to set up the game after the intro screen, so the second one could also divert the player to a third screen that actually has the game/map.

Maybe a zone could work slightly like a button. In a basic version of the game, each zone could just be a rectangle with similar functionality to a button.

I will try to work a bit on this just to see how it goes.
« Last Edit: July 04, 2016, 11:42:26 AM by Bla »

Bla

  • Global Moderator
  • *****
  • Posts: 1013
  • The stars died so you can live.
Re: Map War 3 (WIP)
« Reply #66 on: July 04, 2016, 03:08:10 PM »
Now the program has very basic gameplay.
No AIs currently, but you can win by claiming every zone to make Seb proud. Who wouldn't want that?


FiahOwl

  • *****
  • Posts: 1234
  • This is, to give a dog and in recompense desire my dog again.
Re: Map War 3 (WIP)
« Reply #67 on: July 04, 2016, 03:26:35 PM »

This message is only viewable with Universe Sandbox Galaxy Edition. Access it and much more with promo-code '172619'.

« Last Edit: March 22, 2021, 02:01:31 AM by FiahOwl »

atomic7732

  • Global Moderator
  • *****
  • Posts: 3846
  • caught in the river turning blue
    • Paladin of Storms
Re: Map War 3 (WIP)
« Reply #68 on: July 04, 2016, 03:34:38 PM »
Kol. I would have done the same.

Bla

  • Global Moderator
  • *****
  • Posts: 1013
  • The stars died so you can live.
Re: Map War 3 (WIP)
« Reply #69 on: July 04, 2016, 03:35:41 PM »
Lots of work to do:

- Add settings, e.g. national color, map size, number of players, to the settings screen
- Add a way to check if zones border each other, based on the coordinates of their edges. Ideally this can be extended to non-rectangular zones in the future.
- Add a way to develop and show infrastructure on the zones
- Add a way to set tech rate every 5 rounds and in the beginning (maybe the settings screen)
- Add nation and player names
- Add AIs and options to conquer zones
- Make the game show your production, zones, resources etc. on the screen with the map, for easy reference

atomic7732

  • Global Moderator
  • *****
  • Posts: 3846
  • caught in the river turning blue
    • Paladin of Storms
Re: Map War 3 (WIP)
« Reply #70 on: July 04, 2016, 08:07:50 PM »
this looks cute so far

Bla

  • Global Moderator
  • *****
  • Posts: 1013
  • The stars died so you can live.
Re: Map War 3 (WIP)
« Reply #71 on: July 05, 2016, 05:12:42 AM »
Progress

Also an idea: Right-mouse clicking zones should show info on them, e.g. conquest cost.



« Last Edit: July 05, 2016, 07:00:58 AM by Bla »

atomic7732

  • Global Moderator
  • *****
  • Posts: 3846
  • caught in the river turning blue
    • Paladin of Storms
Re: Map War 3 (WIP)
« Reply #72 on: July 05, 2016, 07:42:21 AM »
cute

the map looks suspiciously square though :P

Bla

  • Global Moderator
  • *****
  • Posts: 1013
  • The stars died so you can live.
Re: Map War 3 (WIP)
« Reply #73 on: July 05, 2016, 01:03:30 PM »
Just think of it as one giant city all the players get to upgrade different levels of simultaneously

blotz

  • Formerly 'bong'
  • *****
  • Posts: 813
  • op pls
Re: Map War 3 (WIP)
« Reply #74 on: July 05, 2016, 04:50:21 PM »
generating dynamic maps is hard, i've been thinking about it and we might need some fancy polygon work for it to happen

FiahOwl

  • *****
  • Posts: 1234
  • This is, to give a dog and in recompense desire my dog again.
Re: Map War 3 (WIP)
« Reply #75 on: July 05, 2016, 06:27:27 PM »

This message is only viewable with Universe Sandbox Galaxy Edition. Access it and much more with promo-code '172656'.

« Last Edit: March 22, 2021, 02:01:09 AM by FiahOwl »

blotz

  • Formerly 'bong'
  • *****
  • Posts: 813
  • op pls

atomic7732

  • Global Moderator
  • *****
  • Posts: 3846
  • caught in the river turning blue
    • Paladin of Storms
Re: Map War 3 (WIP)
« Reply #77 on: July 05, 2016, 09:39:42 PM »
Code: [Select]
import voronoimapgenerator as vmg

Darvince

  • *****
  • Posts: 1842
  • 差不多
Re: Map War 3 (WIP)
« Reply #78 on: July 05, 2016, 10:04:43 PM »
imapge

Bla

  • Global Moderator
  • *****
  • Posts: 1013
  • The stars died so you can live.
Re: Map War 3 (WIP)
« Reply #79 on: July 07, 2016, 05:19:18 PM »
Updated: Now checks for adjacent zones

https://github.com/MapWar3/MapWar3


Bla

  • Global Moderator
  • *****
  • Posts: 1013
  • The stars died so you can live.
Re: Map War 3 (WIP)
« Reply #80 on: July 08, 2016, 03:46:10 PM »
Today's update: Added nation names (can't be entered yet), statistics overview (in the future, the button can be clicked for a full view and nations will be sorted in the list, probably showing only the top 5 in some stat in the game view). Reduced how big the zones are and increased the max number of zones, increased max number of nations to 11 and made the map size and nation number buttons depend on each other (e.g. can't make the map hold fewer zones than there are nations, or set it to more nations than there are zones).








tuto99

  • *****
  • Posts: 533
  • Baba Booey
Re: Map War 3 (WIP)
« Reply #81 on: July 08, 2016, 03:50:29 PM »
>Blaland has to win of course

btw really cool game you are making.

Bla

  • Global Moderator
  • *****
  • Posts: 1013
  • The stars died so you can live.
Re: Map War 3 (WIP)
« Reply #82 on: July 08, 2016, 04:27:28 PM »
Thank yous

atomic7732

  • Global Moderator
  • *****
  • Posts: 3846
  • caught in the river turning blue
    • Paladin of Storms
Re: Map War 3 (WIP)
« Reply #83 on: July 08, 2016, 07:47:08 PM »
amazing

you're making progress really fast

Bla

  • Global Moderator
  • *****
  • Posts: 1013
  • The stars died so you can live.
Re: Map War 3 (WIP)
« Reply #84 on: July 09, 2016, 03:57:57 PM »
Thanks

Added spectator mode, picking national color, nation name, ruler. Increased max map size to 32x30, made it scale with different sizes and max players to 17. Made the statistics sort. Made it possible to go back to intro screen after finishing games. Introduced an autogo button to automatically advance rounds if you're defeated.



Here's a big game Darvincia won.






Darvince

  • *****
  • Posts: 1842
  • 差不多
Re: Map War 3 (WIP)
« Reply #85 on: July 09, 2016, 04:08:49 PM »
kaktoland, the greatest universalis nation

atomic7732

  • Global Moderator
  • *****
  • Posts: 3846
  • caught in the river turning blue
    • Paladin of Storms
Re: Map War 3 (WIP)
« Reply #86 on: July 10, 2016, 12:55:44 AM »
some dead people have one province


Bla

  • Global Moderator
  • *****
  • Posts: 1013
  • The stars died so you can live.
Re: Map War 3 (WIP)
« Reply #87 on: July 10, 2016, 07:15:45 AM »
That looks strange. Haven't seen that happen.

It should be prevented in the next update, even though it's a bit strange and may give some other minor problems.
« Last Edit: July 10, 2016, 07:48:40 AM by Bla »

Bla

  • Global Moderator
  • *****
  • Posts: 1013
  • The stars died so you can live.
Re: Map War 3 (WIP)
« Reply #88 on: July 10, 2016, 01:04:05 PM »
Today's update adds statistics with several different graphs you can view in-game (haven't put numbers/info on the axes yet) and stealing tech + resources when you fully conquer a country.




tuto99

  • *****
  • Posts: 533
  • Baba Booey
Re: Map War 3 (WIP)
« Reply #89 on: July 10, 2016, 01:07:01 PM »
who is pink? who is green? who is blue? you should still make dead nations colored so we know which nations are which (imo)