Announcement

Collapse
No announcement yet.

Game engine using Bridge.net

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

    Game engine using Bridge.net

    Hi!

    I used Bridge.net to port my game engine to the web. I've used it to participate in a game jam this weekend, and I'm pleased with how well it worked! My biggest concern was performance, but I'm very happy with how it performs at the moment. I'll be developing on the engine some more before eventually sharing it with the world.

    It uses WebGL for rendering, and is compatible with most modern browsers. I have ideas for improving rendering performance by 'batching' the sprites, instead of having them all have a draw call. It relies heavily on shaders, and a few tricks to make it render fast enough.

    Anyway, I Thought this was an interesting thing to share. :)

    Click image for larger version  Name:	chrome_2018-04-23_15-16-48.png Views:	1 Size:	19.3 KB ID:	5387
    For those intrested, here is a link to the game I created:
    https://ldjam.com/events/ludum-dare/41/cropper


    #2
    hey looks pretty cool, good work :)
    excited for when this is on github, definitely would want to get involved.

    Comment


      #3
      Hi Thom

      This looks super cool! Please let us know if we can be of any assistance.

      Here are a few suggestions to help speed of the initial load time of this file:
      1. Use the .min.js versions of all files
      2. Do not include the .meta.js files unless you're using Reflection in C#
      3. Turn off sourcemaps unless you require debugging
      Those changes will speed up the load time significantly. In general, configuring the above is basically the difference between Debug and Release modes. Currently, you're releasing in "Debug" mode, so the load time will be slower. Runtime performance (after initial load) will be the same.
      Last edited by geoffrey.mcgill; 2018-04-30 @ 12:26 AM.

      Comment


        #4
        Thanks for the suggestions geoffrey.mcgill! Is there a way to disable the generation of the .meta.js files if they are not being used?

        Comment


          #5
          Hi Thom,

          The reflection config of bridge.json should help here.

          https://github.com/bridgedotnet/Brid...ion#reflection

          {
            "reflection": {
              "disabled": true
            }
          }

          Comment

          Working...
          X