Alternative Sovereignty UI - WIP |
Post Reply | Page <1234> |
Author | ||
ubluntu
Forum Warrior Joined: 24 Aug 2013 Status: Offline Points: 324 |
Post Options
Thanks(0)
|
|
Here is some code that I put together a while back to parse info from the sov page. Creating some ui to put that info into is still on my todo list. Hope this helps.
|
||
Albatross
Postmaster General Joined: 11 May 2011 Status: Offline Points: 1118 |
Post Options
Thanks(0)
|
|
Edited by Albatross - 19 May 2014 at 09:49 |
||
|
||
Albatross
Postmaster General Joined: 11 May 2011 Status: Offline Points: 1118 |
Post Options
Thanks(0)
|
|
Quick update: notable basic resources - a quick win.
Todo: (1) draw resource icons with the numbers (I've quickly put w/c/i/s/f here) (2) update this again to do production bonuses (which requires a lot of data look-ups based on terrain types) |
||
|
||
Albatross
Postmaster General Joined: 11 May 2011 Status: Offline Points: 1118 |
Post Options
Thanks(1)
|
|
Production Bonuses As the fastest proof-of-principle, I've (below) just presented it as text (messy but functional!)
Dropping the 'building text' (like "TraG" for "Training Ground") gives me two lines to play with. If I'm to use icons to show the special production bonuses for the square, then I need to somehow avoid their confusion with the resource produced by the actual sov building present. The current favourite plan is to use the top-left (2 lines) to present a ghosted icon for +1%, two icons for +2%, and 3 for +3%. Thinking now about how this bonus information is used.
Geeky stuff 1. I've found more accessible resources, and the proper CDN URL lookup. Hope to implement it soon. Previously I was scaling and clipping an icon montage - big faff. 2. I'm thinking of releasing this script to the wild! Soon™.
|
||
|
||
Rill
Postmaster General Player Council - Geographer Joined: 17 Jun 2011 Location: California Status: Offline Points: 7078 |
Post Options
Thanks(0)
|
|
Wow. Looking really cool.
I'm not sure showing the pics for the sov buildings is that useful since many of us don't have a visual representation of what those buildings look like. It's pretty but doesn't add that much information. Or maybe that's just me. When you mouse over each square does it "pop up" with things fully spelled out? Because that would be awesome.
|
||
Albatross
Postmaster General Joined: 11 May 2011 Status: Offline Points: 1118 |
Post Options
Thanks(0)
|
|
It's just me too. And it might just be everyone else also. Next revision will be a clutter cull. It might not look as pretty, but it will be informative, useful, cleaner code, and cleaner look. I might even change it all for Canvas drawing, rather than the current HTML table. Pop-ups are planned, mostly to provide detail and actions. As a design choice, I don't like activating anything exclusively on a hover, as it excludes the touch-screen users. Maybe pop-ups would work on a click/tap, like they do in Illy itself.
|
||
|
||
Rill
Postmaster General Player Council - Geographer Joined: 17 Jun 2011 Location: California Status: Offline Points: 7078 |
Post Options
Thanks(0)
|
|
Pop on click would be great, and thanks for thinking of the multiple touch-screen users. I'm not one of them right now, but I know an increasing number of Illyrians are.
|
||
Albatross
Postmaster General Joined: 11 May 2011 Status: Offline Points: 1118 |
Post Options
Thanks(0)
|
|
Building backgrounds culled. Gives me enough room to put squares' resource bonuses in the background. I haven't quite got the emphasis as I want it; there will be some tweaking.
Incidentally, this is a thief-making city, turned all the way up to 11. I've also constructed the graphics in a cleaner way (but you wouldn't notice that by looking - it's a code thing). Next: * icons for the squares' production bonuses, on top of those backgrounds, in the top-right. * indicate unsettleable squares. (I keep seeing good settle spots here, only to find they're water).
|
||
|
||
Albatross
Postmaster General Joined: 11 May 2011 Status: Offline Points: 1118 |
Post Options
Thanks(0)
|
|
Announcing the rough-and ready release of IllyPal, which includes the alternative Sovereignty map shown in this thread. There are still lots of to-dos.
To launch it, go to your browser's console, and paste this:
If you're worried about 'spying' or malicious software, then I'm happy for someone to audit the code to make sure it doesn't post any data. Here's what you get
Enjoy! Finally...
Edited by Albatross - 09 Jun 2014 at 19:17 |
||
|
||
Rill
Postmaster General Player Council - Geographer Joined: 17 Jun 2011 Location: California Status: Offline Points: 7078 |
Post Options
Thanks(0)
|
|
The moving diplo/military shows units in an area and the players to whom they belong? And this information would not be available for military if sent on Covert?
Just trying to make sure I understand how this works. Thanks!
|
||
Post Reply | Page <1234> |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |