Results 1 to 10 of 34

Thread: Experimenting with WebGL...

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    So how do you guys use WebGL in SMS? Last time I looked I couldn't find any support for it. Are you basically just using a lot of javascript or have they added support for WebGL?
    Imagine I've written something clever here inspiring you to make something awesome. If that happens give me credits

  2. #2
    as far as I can tell sms has everything you need to work with webgl, a header file (an import unit is what they call it) that connects all the webgl calls, typed arrays, though a bit buggy right now but usable. they even have a demo which should cover most of the basics. and where sms just doesn't work for you, you can always make a patch with inline javascript.

  3. #3
    Thanks Dan.
    I downloaded the latest beta and found Eric's demo. It was missing two custom units, so I had to download the demo from Eric's site to get it working.
    Maybe I'm just not looking at the right places, but I sure miss some documentation when looking at SMS. Where can I for instance see all the units that follow with SMS? I would never have found the w3c.webgl unit if it wasn't used in the demo.
    Imagine I've written something clever here inspiring you to make something awesome. If that happens give me credits

  4. #4
    you can find all the units included with sms in the installation folder in rtl. but yes the documentation is one of the weakest points of sms. you can find a small documentation on their website and they also sell a book that may cover a few more aspects of the ide. btw, a new beta is out, hopefully it fixes that operator overloading bug.

  5. #5
    I have partially ported one of my older games to sms. there is still no sound and the profile saving/loading doesn’t work so the game progress will reset when you close the game. but otherwise it’s quite playable, even on opera which is generally slower than chrome and firefox.

    http://gen2gdk.com/g2mp/gemmaster/

    the game was made for the mobile devices so some of the buttons may seem huge in the browser.

  6. #6
    alright, now the sound and saving/loading the profile works.

  7. #7
    Dan, the game you posted is quite nice, but I didn't work on my iPhone, nor on Samsung Galaxy. I thought mobile Chrome browser would support WebGL?

    And what you guys mean by SMS?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •