GUI Redo...

Discussion in 'Art' started by ViroMan, Apr 18, 2014.

  1. ViroMan

    ViroMan Black Hole (*sniff*) Bully

    Messages:
    8,382
    Likes Received:
    4
    Trophy Points:
    0
    So... Hows it going?
    Any progress to report?
    Anything working enough to post pictures for us?
    Care to share how things will look/work?
     
  2. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    Fine.
    No.
    No.
    No.
     
  3. ViroMan

    ViroMan Black Hole (*sniff*) Bully

    Messages:
    8,382
    Likes Received:
    4
    Trophy Points:
    0
    good to read.
    none?
    Darn.
    dick.
     
  4. ImSpartacus

    ImSpartacus nerf spec plz

    Messages:
    8,598
    Likes Received:
    7
    Trophy Points:
    0
  5. Beerdude26

    Beerdude26 OnThink(){ IsDownYet(); }

    Messages:
    7,243
    Likes Received:
    13
    Trophy Points:
    0
    See the html folder in your Empires SVN for progress and how it will look.
     
  6. -Mayama-

    -Mayama- MANLY MAN BITCH

    Messages:
    6,487
    Likes Received:
    0
    Trophy Points:
    0
    If the minimap doesnt cover half of your screen its not empires
     
  7. Beerdude26

    Beerdude26 OnThink(){ IsDownYet(); }

    Messages:
    7,243
    Likes Received:
    13
    Trophy Points:
    0
    Minimap will not be ported to HTML, too slow. Might have a slow-updating tactical minimap, though.
     
  8. ImSpartacus

    ImSpartacus nerf spec plz

    Messages:
    8,598
    Likes Received:
    7
    Trophy Points:
    0
    Are you getting around it by glowing things that would've been in the minimap: vehicles, buildings, etc?

    EDIT Is "slow-updating" like every second or two?

    Oh lawdy. Not sharing it here, but it's hawt. It's gettin steamy up in hur.

    I was going to post sum hawt sexy compliments at you in chats, but you're not mah friend. This is to be corrected immediately.
     
    Last edited: Apr 22, 2014
  9. ViroMan

    ViroMan Black Hole (*sniff*) Bully

    Messages:
    8,382
    Likes Received:
    4
    Trophy Points:
    0
    so... are you using html just to square things up on how you want it to look or are you going to plug HTML into empires code besides as MOTD? I like the look so far though.
     
  10. ImSpartacus

    ImSpartacus nerf spec plz

    Messages:
    8,598
    Likes Received:
    7
    Trophy Points:
    0
    I think there's some magic in source 2013 that allows easily implemented html-based ui stuff.
     
  11. ViroMan

    ViroMan Black Hole (*sniff*) Bully

    Messages:
    8,382
    Likes Received:
    4
    Trophy Points:
    0
    No shit? Dyamn! We can get ourselves some pimped out GUI that is customizable with different "skins" we can create?
     
  12. Beerdude26

    Beerdude26 OnThink(){ IsDownYet(); }

    Messages:
    7,243
    Likes Received:
    13
    Trophy Points:
    0
    Yes. Data is fed to the HTML file via Javascript. Everything else is clientside.

    To Spartacus, we're not using Source 2013's native HTML system, as it uses a very outdated version of Chromium and has several issues. Marcin from HL2CTF discovered you can have partially updating HTML panels with Awesomium in the new SDK, which helps push rendering times to under 5ms.

    Oh and yeah a HTML5 Canvas-based minimap only updates every 1-2 seconds, so it's useless for the relatime overview. The glow stuff is not related to this issue, things like Enhanced Senses needed a buff, anyway.
     
  13. D.D.D. Destroyer

    D.D.D. Destroyer Member Staff Member Moderator

    Messages:
    9,509
    Likes Received:
    111
    Trophy Points:
    0
    For the record, enhanced senses have been updating enemy positions on the map dynamically and without delay or stuttering forever now - even before the port.
     
  14. ImSpartacus

    ImSpartacus nerf spec plz

    Messages:
    8,598
    Likes Received:
    7
    Trophy Points:
    0
    Yeah, but the minimap saps performance because of that. I believe that's one if the reasons the game is so CPU heavy.

    So while this might technically be a feature regression, it likely improves performance considerably.

    And besides - if it updates every second or two, that's good enough for navigating maps on vehicles.
     
  15. Beerdude26

    Beerdude26 OnThink(){ IsDownYet(); }

    Messages:
    7,243
    Likes Received:
    13
    Trophy Points:
    0
    It isn't. Also, it had an extremely high performance hit, up to 30ms (1000ms/30ms = max 33 FPS).
     
  16. ImSpartacus

    ImSpartacus nerf spec plz

    Messages:
    8,598
    Likes Received:
    7
    Trophy Points:
    0
    Really? Well that's a bummer. Sometimes you gotta cut features. Tis but life.
     
  17. f1r3w4rr10r

    f1r3w4rr10r Modeler

    Messages:
    2,475
    Likes Received:
    4
    Trophy Points:
    0
    So I just had a look at it. I like the functionality, but it doesn't really look that good. :S
    The current one has a more sophisticated look to it that this one.
     
  18. ImSpartacus

    ImSpartacus nerf spec plz

    Messages:
    8,598
    Likes Received:
    7
    Trophy Points:
    0
    I'm sure they wouldn't mind having someone redo it after the functionality is in place. I doubt it was meant to be the prettiest interface going.
     
  19. PreDominance

    PreDominance Member

    Messages:
    4,182
    Likes Received:
    0
    Trophy Points:
    0
    Here's an example of the HTML.

    [​IMG]

    In other words, typical Empiers.
     
  20. Beerdude26

    Beerdude26 OnThink(){ IsDownYet(); }

    Messages:
    7,243
    Likes Received:
    13
    Trophy Points:
    0
    That's actually the plan, just get the functionality working and clean it up later.

    Yeah, the Javascript functions that actually take the values from HTML back to C++ are defined in C++. I sure as hell do not trust the client with sending its own data directly to the server.
     

Share This Page