User Tag List

Results 1 to 3 of 3

Thread: [Request] Runtime object for HTML5

  1. #1
    Clicker The Games Factory 2
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    jobromedia's Avatar
    Join Date
    Feb 2013
    Location
    Stockholm, Sweden
    Posts
    224
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Request] Runtime object for HTML5

    So I'm working on my demo of my upcoming game Scrape Defense. It would really be helpful if I could detect what system the game is being tested on. Is this really possible to do inside the game, or do I need to do some extensive coding to do this outside?

  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,640
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)
    The HTML5 object contains functions to retrieve the browser name and version, as well as the OS name.

  3. #3
    Clicker The Games Factory 2
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    jobromedia's Avatar
    Join Date
    Feb 2013
    Location
    Stockholm, Sweden
    Posts
    224
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Um I can only find out what browser is being used. Neither the version. Nor the OS. In other words: My request still stands. I need to detect things like:

    * Is OS Android
    * Is OS IOS
    * Is OS Windows
    * Is OS OS-X
    * Runs on cellphone
    * Runs on a laptop
    * Runs on a desktop
    * OS version
    * Browser version

    With these additions I could really define what stuff to happen.

    Start of frame
    Is OS Android?
    Is OS Version < 2.3 > 6.0?
    Is browser Chrome?
    Hide this button.

    Start of frame
    Is OS IOS?
    Is browser Safari?
    Hide that button.

    Start of frame
    is OS Windows
    Runs on a laptop OR Runs on a desktop
    Go to main menu

    Start of frame
    is OS OS-X
    Runs on a laptop OR Runs on a desktop
    Go to main menu

    Without these features the best thing I can do is to provide a vague warning screen informing the gamers on what system it runs best. And trust me this looks clumsy at best.

    Remember Sonic and Knuckles? When you put in the Sonic 1 cartridge on top it showed a black and white screen saying "No way". If you put in the sonic 2 cartridge the screen was in color and saying no way. It is kinda this I'm after. Oh I could extract the texts from the HTML5 object, but it would be so much simpler if there would just be these suggestions above to improve the game design. If a game runs badly on a cellphone, then why let the gamer suffer?

Similar Threads

  1. Can i use HTML5 object in windows runtime
    By ramyhakam in forum Fusion 2.5
    Replies: 3
    Last Post: 30th November 2015, 11:15 AM
  2. Replies: 4
    Last Post: 4th December 2014, 07:03 AM
  3. Video Object like html5 video, but for win runtime
    By serrasoft in forum Fusion 2.5
    Replies: 5
    Last Post: 18th July 2014, 08:45 PM
  4. [Request] HTML5 Object
    By Zachster in forum Extension Development
    Replies: 2
    Last Post: 15th July 2011, 06:03 PM
  5. [Request] AMFPHP object for flash runtime
    By WMroczek in forum SWF/Flash Export Module Version 2.0
    Replies: 7
    Last Post: 27th September 2010, 09:41 AM

Posting Permissions

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