Announcement

Collapse
No announcement yet.

4.8 HTML5 is looking pretty good!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    4.8 HTML5 is looking pretty good!

    Just noting my... notes... testing a 4.8 HTML5 project vs my last 4.7 HTML5 tests.

    For the lols, I packaged my blueprint multiplayer project for HTML5 under 4.8 to see what what happen. I packaged it for 4.7 early on and it ran fine, but since then I've added a ton of features and multiplayer things, so I wanted to see if it'd even run now.

    http://michaelallar.com/pow/html5/GenericShooter.html

    Click image for larger version

Name:	Screenshot 2015-05-25 05.36.32.png
Views:	1
Size:	220.4 KB
ID:	1150600

    First thing I tried was loading it in Chrome, because it wouldn't load in Chrome on 4.7. Chrome greets you with an alert box with some random garbage in it (probably not random but I've spent zero time investigating), and after that I thought it just gave up. After lots of random freezing pauses and some waiting... it actually loaded. Was very excited.

    I then loaded it on Firefox, which was the only way I could get it to run in the past. Was prompted with a blank alert box, and it loaded much much faster, but now although I hear my menu UI noises all I get is a black screen, so that was disappointing. I like Chrome better though, so, meh, xD.

    Once I got it loaded on Chrome, I noticed that Chrome doesn't capture the mouse as easily as Firefox (at least for this version of my game). My 3D UMG Widget menu took input and registered the mouse, keyboard, and gamepad perfectly. The 3D widgets were not in the project last time I tried it on HTML5, so this was a pleasant surprise. Once I loaded up my test map using Host Game, I immediately felt that this version in HTML5 was far far smoother than my last HTML5 test in Firefox. There are a lot of graphical disparities, but that is to be expected as I haven't done any 'mobile material pass' yet. For the materials that did work as intended, was surprised how clean, and again, how smooth everything was being rendered. Switching to full screen my mouse was finally able to be captured... and man it is soo smooth.

    I haven't tried any extensive tests to get my multiplayer working again in 4.8 HTML5, as 4.7 HTML5 required an experimental network driver and a pc server with some tweaking to get it working and I didn't want to go through that hassle again.

    So yeah, just wanted to say I'm pretty impressed with how much better HTML5 is running now, even if its black screening on Firefox. (I expect to be related to my post process blendables?)

    I don't really ever expect to target HTML5 with this project officially, but its nice to know that perhaps some day I actually can.


    Keyboard Controls for demo above (gamepad works too):
    C - Change to first person / third person
    E - Pick up things
    G- Drop your weapon
    Left click - Fire
    Right click - Aim down sight
    1,2,3 - Switch weapons
    Tab - Scoreboard (useless without multiplayer)

    Edit: Holy ****, works on Safari too.

    Click image for larger version

Name:	Screen Shot 2015-05-25 at 6.45.16 AM.png
Views:	1
Size:	647.9 KB
ID:	1150602
    Last edited by Allar; 05-25-2015, 09:53 AM.

    #2
    Great HTML5 stuff going on there; You've done a great job.

    Loading took a while, (About 4 minutes), FPS went freshly loaded was variable between 0 - 10 but after two minutes it jumped to a smooth normal frame-rate; Shame there was nobody playing :P

    Here's the specs of the PC I used to test: http://kitatus.co.uk/Uploads/KITATUSpecs.txt

    And the Internet used to test: http://www.speedtest.net/my-result/4384819385

    For those testing this out, You might get an "Invalid Array Buffer" while it's loading. To fix this, close the tab and open a new one and try again. Dunno why this happens but it seems to be a bug with the HTML5 compiler or something. (Source: Allar's Twitter)
    KITATUS
    "Information shouldn't be behind a paywall, It should be free for all!"

    Comment


      #3
      Hey Allar,

      Your game is a great work in progress thus far. I wasn't able to load it up on Google Chrome however, Nightly worked just fine. I had a little trouble controlling the character movement. One thing I really liked about your game is how you switch from one menu to the next in the beginning.

      Great job, keep it up!!
      Twitter @UnrealSamantha
      Mobile Development Troubleshooting Guide | Package and Deployment Troubleshooting | How do I report a bug?
      Call me to a thread by posting this: [MENTION]Samantha Sutton[/MENTION]

      Comment


        #4
        Worked nicely! Smooth 60FPS(capped). Had to wait for about 30 seconds(dont know how important the internet speed is, but mine is 220 Mbit/s) and it was ready to go!
        Lets Measure It
        Blueprints to measure distances, area's, circumferences and routes/paths. Check out the marketplace: https://www.unrealengine.com/marketp...ets-measure-it

        Comment


          #5
          Originally posted by Samantha Sutton View Post
          Hey Allar,

          Your game is a great work in progress thus far. I wasn't able to load it up on Google Chrome however, Nightly worked just fine. I had a little trouble controlling the character movement. One thing I really liked about your game is how you switch from one menu to the next in the beginning.

          Great job, keep it up!!
          Thanks, xD.

          And aye, if the browser/game (I'm not sure which is at fault here) isn't able to capture the mouse, then the game immediately becomes uncontrollable.

          Originally posted by Martin Bean View Post
          Worked nicely! Smooth 60FPS(capped). Had to wait for about 30 seconds(dont know how important the internet speed is, but mine is 220 Mbit/s) and it was ready to go!
          Sweet, good to know. Internet speed is only good for the initial download, which I believe is around ~120MB.

          Comment


            #6
            just a black screen for me
            when its downloaded i get a blank warning pop up then nothing.

            does it connect ok multiplayer?
            tegleg.co.uk - indie electronic music label
            Android + HTML5 WIP Physics Game
            PC Games - Android Apps

            Comment


              #7
              Is a 64-bit browser still required?

              And what about the file size?
              --

              Comment


                #8
                Allar, what version of Emscripten and Python have you used to compile it? Could you, please, share your HTML5 settings?

                Comment

                Working...
                X