<< Back to General Forum   Search

Posts 1 - 30 of 30   
UJS Map Preview (experimental, feedback wanted!): 5/6/2018 23:58:40

Fizzer 
Level 59

Warzone Creator
Report
Hello all!

I've been working on a new way to render Warzone maps in the browser, using a tool I call UJS. See this link to see it for yourself:

https://www.warzone.com/SinglePlayer?PreviewMap=72163&Mode=UJS

For comparison, here's that same page in Flash and in Unity:

https://www.warzone.com/SinglePlayer?PreviewMap=72163&Mode=Flash
https://www.warzone.com/SinglePlayer?PreviewMap=72163&Mode=Unity

The Unity version isn't desirable since it loads super slowly and uses lots of memory. The Flash version isn't desirable since it depends on Flash which is a dying platform and won't work in the future. The goal of the UJS version is to fix both of these problems.

I hinted at this feature a while back on the blog, but I've just released a new update to it that fixes some bugs so I'd love it if you guys could try it out and let me know how well it works for you. I am considering making all Map Preview links use UJS by default, so it would be great to get some additional testing on it.

Here are some other maps for testing:

https://www.warzone.com/SinglePlayer?PreviewMap=70306&Mode=UJS
https://www.warzone.com/SinglePlayer?PreviewMap=11704&Mode=UJS
https://www.warzone.com/SinglePlayer?PreviewMap=41941&Mode=UJS
https://www.warzone.com/SinglePlayer?PreviewMap=30362&Mode=UJS
https://www.warzone.com/SinglePlayer?PreviewMap=42171&Mode=UJS

You can test any map by opening the PreviewMap link and adding &Mode=UJS to the end of the URL. You can change Mode to "Flash" or "Unity" to compare the page to the other versions.

Feel free to post your experiences with it in this thread! Thanks!
UJS Map Preview (experimental, feedback wanted!): 5/7/2018 00:32:55


Deadman 
Level 64
Report
Two comments:
- The colors seem too bright on UJS/Unity in comparison to flash. Is there any way to reduce brightness?
- When you click a bonus on UJS, it brings up a window with all the individual territories in the bonus. Mouse scroll doesn't seem to work on this in the same way as Unity.


Edited 5/7/2018 00:33:35
UJS Map Preview (experimental, feedback wanted!): 5/7/2018 00:36:50


Thessalos54[TPBI]
Level 54
Report
is there a way to do UJS and recreate Flash UI
UJS Map Preview (experimental, feedback wanted!): 5/7/2018 00:44:35


Hostile 
Level 58
Report
Four comments :
-The pop up window sometimes covers the red arrows when you click on individual territories. The window should be optional like in the
flash version.

- I very much like the jumping animation when you select a bonus from the left selection bar. It is a good animation that also happens to be entertaining.

- I like how easy it is to get to the map page. I saw the "More info" link as soon as I opened the map preview. It was intuitive for me as for what it does.

- The zoom buttons are doing the job. They look okay.
UJS Map Preview (experimental, feedback wanted!): 5/7/2018 00:49:09

TBest 
Level 60
Report
For me, Unity is a bit 'out of focus' while UJS is crisp and sharp.

In UJS, the bonus links on the side are fast. But clicking one of the link on the map, it' lags half-a-sec.

For Unity/UJS, the More Info should be made blue or something so that you know you are leaving the page. Also, renaming to Map Page I think. Will Send Feedback be added to the page as well? Since Unity now has mail?

EDIT: Bug? If a bonus link in a map if it is a 1 territory it jump's when clicking the bonus link. Whereas bigger bonuses only get highlighted. (eg. Rome in Imp. Romanum map vs other bonuses )

Edited 5/7/2018 00:52:09
UJS Map Preview (experimental, feedback wanted!): 5/7/2018 00:54:20


MrTrolldemort 
Level 56
Report
Coming from someone who only uses flash, this version look amazing. It seems to take the best of both unity and flash and is much faster to load. I also enjoy the additional brightness and it looks much clearer than either version. I also like the bonus expanding when you click on a bonus. However, the scroll bar does not seem to work while using the mouse scroll and has to be moved manually. Is there a way to fix that? Besides that though I think it looks great so far
UJS Map Preview (experimental, feedback wanted!): 5/7/2018 00:56:18


DanWL 
Level 62
Report
UJS is much faster than Flash and Unity. The functionality of UJS Map preview works (at least on https://www.warzone.com/SinglePlayer?PreviewMap=72163) :) however, there are things that could be improved, including:

  • army number text looking a little small
  • when a territory or bonus is clicked:

    • overflow of territory/bonus name is hidden (full territory/bonus name not visible)
    • scrollbars can only be controlled click clicking on the down arrow (can't drag or scroll up/down)
    • view more on wikipedia button could do with more bottom padding



Yellow outline for bonus links aren't displayed (is this a bug or feature?) looks strange how it's not there.
UJS Map Preview (experimental, feedback wanted!): 5/7/2018 02:40:07


MOTHERLAND
Level 54
Report
I like the arrows that extend outward when clicking on individual territories, but I don't like that popup window that provides redundant information often while covering half of the arrows, (this is frustrating on mobile since the window covers so much of the screen aswell) makes the feature uncomfortable to use since you can't stop the window from appearing. Since the only unique information provided by the popup is the names of the adjacent territories, a much nicer feature would be that the popup did not appear at all, but instead alongside the arrows the names of the territories appeared.

I don't like the glow highlight, on yellow territories it's difficult to see and would've been impossible to see at all if not for the "jumping", which begs the question what's the point of the glowing at all if it needs a jumping animation to make it noticeable?
the blue is simple, the blue is better.

I like that the territories are not in a drop down menu, what I don't like is that it's organized by alphabetical order instead of by armies per turn which would be more helpful.

the "example army numbers" feature is interesting, but I don't understand what's the point of it is.

love your site, keep up the good work.
UJS Map Preview (experimental, feedback wanted!): 5/7/2018 08:29:11


89thlap
Level 58
Report
Looks really good, I like it a lot!

- Arrowheads are still hiding the army number of a territory though. This is something that bugs me in flash and unity as well - especially when you click "View Teammate's Orders" because arrows will have high opacity then and you can't see the numbers below. It kinda improved here though. Arrows have lower opacity which helps. But it'd be even better if you could "shorten" them, so that they are pointing at the outline of the army numbers and not in the middle. Just like you did with the starting points of the arrows.

- When I zoom in and click a random bonus in the left toolbar the map should bring me directly to it, but it doesn't so I need to look for it manually.

- The yellow highlight when selecting a bonus is hard to see and the jump animation is very short so you need to click multiple times to see which bonus is highlighted. On bigger maps it'd probably be pretty much impossible to find the selected bonus. I like how it is in flash, where the selected bonus or territory is filled blue when you click it.

Edit:

- The popup when clicking a territory should indeed be optional. It doesn't provide any extra information does it?

- When clicking a bonus on the map there seems to be a short delay before it is highlighted (less than a second). When clicking a bonus from the left toolbar territories are highlighted immediately.

Edited 5/7/2018 08:44:13
UJS Map Preview (experimental, feedback wanted!): 5/7/2018 08:50:59


Min34 
Level 60
Report
As MotD pointed out, the colours on unity are very bright. IMO it's at a point that they aren't a proper representation of how the map will look anymore.

As Dan pointed out, scrolling always zooms in/out on the map. Even when you're in the little list on the left or scrolling through territories that are part of a bonus.

Not very important, but when you click territories in a very rapid succession it will start lagging pretty quickly (it works fine once you stop clicking again though).

Going through distribution modes on https://www.warzone.com/SinglePlayer?PreviewMap=41941&Mode=UJS# (as an example) and clicking "Lodges", gives a pretty ugly result IMO. The territories jump out way too much. Not certain why that happens but it seems to have to do with the fact that the territories are spread out across the entire map. Smaller bonuses or super bonuses/distributions where all territories are clustered don't have this problem. Once again a minor thing though.

-Staying in Ursa Luna, it takes notably longer for ujs to load the little info box when you click on a bonus link for a super bonus compared to a normal one.


UJS definitely runs smoother. It looks very nice as well :) Luckily an annoying part of Unity (giving you the "this map has been processed for Unity yet" message) seems to be solved with this. Happy to see the map making part of WZ is finally getting some love in the unity version.
UJS Map Preview (experimental, feedback wanted!): 5/8/2018 03:09:35

Fizzer 
Level 59

Warzone Creator
Report
Thanks everyone for the feedback! A new version is live now with some fixes. It's also been made the default mode for map preview links.


The colors seem too bright on UJS/Unity in comparison to flash. Is there any way to reduce brightness?

Fixed - I have reduced the brightness, to be closer to Flash's color.

When you click a bonus on UJS, it brings up a window with all the individual territories in the bonus. Mouse scroll doesn't seem to work on this in the same way as Unity.

Fixed.

is there a way to do UJS and recreate Flash UI

Nope! But if there's something you want in the Flash UI that isn't present, bring it up and we can talk about it.

The pop up window sometimes covers the red arrows when you click on individual territories.

You are right, but I'm not sure how to fix this yet. This is a common component that's used in the main game, too, so I need to figure out a solution that works everywhere.

In UJS, the bonus links on the side are fast. But clicking one of the link on the map, it' lags half-a-sec.

The extra lag comes from making the little thumbnails to show in the inspector dialog. The solution to this issue may depend on the solution to the previous one.

the More Info should be made blue or something so that you know you are leaving the page

The hope is that UJS loads quickly enough that it shouldn't matter you're leaving the page.

Will Send Feedback be added to the page as well?

The Send Feedback feature was added back in the day before we had a mail system. Today it's easy to send feedback as a mail thread, I don't think the button is necessary anymore.

Whereas bigger bonuses only get highlighted.

The issue is that the bigger bonuses cause a bit of lag, so by the time your browser is responsive again the bounce effect has already passed. I need to figure out a way to solve this still.

the scroll bar does not seem to work while using the mouse scroll and has to be moved manually

Fixed!

army number text looking a little small

They should be the same size as in Flash. The Unity client has a feature that enlarges army numbers when zoomed out. That feature was primarilly added for mobile devices since they're on smaller screens than PCs generally, so UJS doesn't have that feature. I may eventually add that feature to UJS too but it's a low priority.

Yellow outline for bonus links aren't displayed

Fixed!

I don't like the glow highlight, on yellow territories it's difficult to see

It should be easier to see now that the territories aren't bright white.

what's the point of the glowing at all if it needs a jumping animation to make it noticeable?

The jumping animation finishes playing in half a second, whereas the glow pulsates continually forever.

When I zoom in and click a random bonus in the left toolbar the map should bring me directly to it, but it doesn't so I need to look for it manually.

Good idea -- done!

scrolling always zooms in/out on the map. Even when you're in the little list on the left or scrolling through territories that are part of a bonus.

Fixed!

Going through distribution modes...gives a pretty ugly result

I agree the bounce animation isn't that great when they're spread over the map. I need to find a better solution for this.
UJS Map Preview (experimental, feedback wanted!): 5/8/2018 03:54:38


almosttricky 
Level 61
Report
This is pretty cool!
UJS Map Preview (experimental, feedback wanted!): 5/8/2018 04:39:41


Deadman 
Level 64
Report
These colors are really nice! Cool update.

If a territory contains big words, it is partially clipped (ex. Impenetrable). However if the name contains many small words in it, it renders fine(ex - Hidden Entrance). Is there some way to dynamically determine font size and ensure it is always visible? (Like you do with Way of Skulls in the ex below). Alternatively, is horizontal scroll an option in this window?

UJS


Unity handles it like this (splitting the big word into multiple lines), which isn't ideal either.


nitpick: The x to close this window(on UJS) looks like a weird overlay on the vertical scroll. Would moving it to the left of this window look better? Another option is to move it above the entire text + vertical scroll.
UJS Map Preview (experimental, feedback wanted!): 5/8/2018 05:01:59

TBest 
Level 60
Report
What if when clicking something on the map once, you don't show the dialog? But x2 click would generate the thumbnails? Seems like the dialog is creating more problems then it being useful tbh.

Also, if I am fully zoomed out, I want to stay zoomed out when liking on of the side bonus links. I would suggest making this a x2 click feature too? So just x2 click and the window will pan to the bonus.

Oh, and the colors looks amazing!

EDIT: The yellow pop-up box giving bonus names when hovering over can go outside the window instead of keeping itself inside the borders.

Edited 5/8/2018 05:03:51
UJS Map Preview (experimental, feedback wanted!): 5/8/2018 07:29:36


89thlap
Level 58
Report
- Mouse scroll doesn't work for zooming.

- What about the arrows hiding the army numbers Fizzer? I believe that is something that should be fixed.
UJS Map Preview (experimental, feedback wanted!): 5/8/2018 08:37:26


DanWL 
Level 62
Report
^could fix that by making arrows a little transparent.
UJS Map Preview (experimental, feedback wanted!): 5/8/2018 12:42:20


DanWL 
Level 62
Report
Names of distribution modes don't fit in the buttons, as seen in https://www.warzone.com/SinglePlayer?PreviewMap=41588.

Edited 5/8/2018 12:53:22
UJS Map Preview (experimental, feedback wanted!): 5/8/2018 18:17:47

Derfellios 
Level 59
Report
Looks great!
Small suggestions
- The wikipedia page does not fit in its box for territories/bonuses with long names.
- Would it be possible to have the wikipedia page open in a new tab? Now the complete map needs to load again.

Edited 5/8/2018 18:19:07
UJS Map Preview (experimental, feedback wanted!): 5/10/2018 07:31:48


Thessalos54[TPBI]
Level 54
Report
In my honest opinion, i kinda like the darker "grittier" look of the flash ui rather than a brighter look because its like war or whatever and it kinda fits the theme and makes it more tense for me but others might like the brighter ui
UJS Map Preview (experimental, feedback wanted!): 5/11/2018 07:14:05

Hasdrubal
Level 59
Report
I think that one thing is missing - when clicking on bonus one should see how much territories are in bonus, or to see that on thumbnail on the bonus menu. On flash version, one can see now bonuses just by hovering over bonus value (which was part of Unity so far).

Don't know if hovering over bonus will be implemented to flash game itself, but that would be nice advancement.
UJS Map Preview (experimental, feedback wanted!): 5/11/2018 12:29:05


Mudderducker 
Level 58
Report
For flash. It looks good but I don't think you should change it.

It is slow with the pop up and arrows, I don't think this is really needed at all. I don't think people would want to look at bonus/territory layout. The blue/yellow highlighted territories was simple but very easy to use, and its all that's needed really. I prefer the background colour for the names on the old version to the highlighted yellow also.

For us mapmakers:
- I think you should make a review/rate option more obvious + put the mapmakers name perhaps on the side.
UJS Map Preview (experimental, feedback wanted!): 5/11/2018 13:36:31


DanWL 
Level 62
Report
^I find the popups and arrows really useful. Makes it clear exactly what's connected to where.

The text zoom in and out buttons aren't vertically centered.
UJS Map Preview (experimental, feedback wanted!): 5/11/2018 14:36:15


knyte 
Level 58
Report
Unwieldy to the point of uselessness for this map (had to just open on Flash mode): https://www.warzone.com/SinglePlayer?PreviewMap=59538

Issues I'm having:

1. To an untrained user, it's unclear where you'd even go about finding the distribution modes. There's so many bonuses on this map (listed by name, which I don't think means much to most players) that are listed above the distribution mode. It'd be nicer if the distribution modes were on top, at least for this map. Most people probably identify the bonuses visually anyway, by clicking on their links on the map.

2. Clicking "Major Cities" (distribution mode) triggers an animation that looks like some sort of weird glitch at first (my first thought was "what's wrong with my screen? why are there these random yellow and blue blobs on it?") and the persistent highlighting isn't obvious (I only noticed it when I went to record). For a map like this, I'm having a hard time deciphering the distribution mode territories in UJS when it's a relatively easy (and instant- no animations, thank god) task in Flash.

3. Clicking on the bonus link for a large bonus takes forever on my machine in UJS when it's instant in Flash. The light yellow highlighting also isn't very helpful for me to figure out exactly what's in the bonus, since it makes it easy to miss exclaves. It'd be nice if we had something closer to the bold blue infill from the Flash map previewer- it scales better for large maps.

Here's a 30-sec clip of what I saw on my machine previewing this map in UJS (the 30-second timer ran out before the big bonus link worked): https://youtu.be/befLeV-1CcQ

Doing the same thing in Flash: https://youtu.be/JdPVlZz3E4s

Took way less than 30 seconds to do in Flash what I'd wanted to do in the UJS version; had time to check out a good number of big bonuses and still stay well below the 30s cutoff. The only issue with the blue infill vs. the yellow highlighting seems to be that it makes it easy to get confused with the ocean + inland sea/lakes in the middle of territories.

Edited 5/13/2018 00:10:31
UJS Map Preview (experimental, feedback wanted!): 5/11/2018 16:38:54


Timinator • apex 
Level 64
Report
for me ujs is super laggy (gotta wait like 3-5 sec until the pop-up opens), zooming with the mouse wheel doesn't work and the big fat bonusbuttons look way to massive

Edited 5/11/2018 16:39:27
UJS Map Preview (experimental, feedback wanted!): 5/12/2018 00:59:58


psykkoman
Level 58
Report
I checked knytes example and from that time all maps open in UJS and I have no way to revert it (I use Flash normally).
It is very laggy for me, too. When opening the map, and when closing even more. It looks there is no consideration what this thing will do on older and slower computers. And while checking distribution modes on bigger maps, lag is really huge and screen just go crazy.
That yellow bonus hightight glow looks weird and offer absolutely no help when viewing big maps. You need to scroll very close and even afterwards, you often have no idea how the bonus looks. Old way of showing them was way better and understandable.
List of territories offers zero help on bigger maps, as if you have superbonus with say 80 territories, some of them will have similar shape inevitably. And on this map (and I assume on almost all space themed maps) https://www.warzone.com/SinglePlayer?PreviewMap=72850# all you get is complete chaos ...
Also, I am all for distribute modes placed on top of list.

Edited 5/12/2018 01:20:42
UJS Map Preview (experimental, feedback wanted!): 5/12/2018 06:23:02


DanWL 
Level 62
Report
.^to revert it, add &Mode=Flash at the end of the map preview link.
UJS Map Preview (experimental, feedback wanted!): 5/15/2018 00:50:29


psykkoman
Level 58
Report
It worked, thanks!
UJS Map Preview (experimental, feedback wanted!): 5/30/2018 01:51:34


psykkoman
Level 58
Report
But unfortunately, UJS became my default viewing option, which was not my aim at all. Looks like bug.
At least it looks better now, without animations. But for big maps, the lag is horrific.

Edited 5/30/2018 01:58:34
UJS Map Preview (experimental, feedback wanted!): 5/30/2018 10:36:09


DanWL 
Level 62
Report
UJS being the default viewing opinion is a feature, not a bug. Does adding &mode= still do a difference?
UJS Map Preview (experimental, feedback wanted!): 5/30/2018 19:51:35


Viper77
Level 55
Report
Yep.
Posts 1 - 30 of 30