User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 21

Thread: Get Object in HTML5

  1. #1
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    warlords's Avatar
    Join Date
    Oct 2011
    Location
    Dk
    Posts
    613
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Get Object in HTML5

    Get Object work with HTML5 ??

    I can't read a txt file.

  2. #2
    Forum Moderator Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    NaitorStudios's Avatar
    Join Date
    May 2010
    Location
    Brazil
    Posts
    1,128
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    I'm pretty sure it works in all platforms, I remember using it on HTML5 to read a txt file as well.
    Since GET is already a function of web apps, you can also try adding the function to the files and call it through Fusion, but Get object itself should work.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    warlords's Avatar
    Join Date
    Oct 2011
    Location
    Dk
    Posts
    613
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    okay now I got it work.

    make sure you have it without save mode:
    http://megajava.dk/getobject/index.html

    if you have https:// with save mode on it will not work!

    http://megajava.dk/getobject/index.html
    https://megajava.dk/getobject/index.html

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    warlords's Avatar
    Join Date
    Oct 2011
    Location
    Dk
    Posts
    613
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hmm I don't get it, first it worked fine but now I can't get it to work?

    https://megajava.dk/shaders/Shader_html5_version6.mfa

    It works fine in exe but not in html5? anymore ...

  5. #5
    Clicker Fusion 2.5
    Gigatron's Avatar
    Join Date
    Jun 2020
    Location
    France
    Posts
    234
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by warlords View Post
    Hmm I don't get it, first it worked fine but now I can't get it to work?

    https://megajava.dk/shaders/Shader_html5_version6.mfa

    It works fine in exe but not in html5? anymore ...
    Hi, the problem is : you can not use Get Object in HTML5 in local mode due the Cross-Origin Request. You need test in servermode or create local https server with python or myphp. Or install Corse disable extension for Firefox;

    The second problem, you used glslcanvas shader this extension hide MMFcanvas and copy to the Webgl Canvas created with Glslshader, button or wiew object are not working, only sprites object text counter are working.

    The minimum code to run the shader is like so if you get the shader file with get object;

    Code:
    void mainImage( out vec4 fragColor, in vec2 fragCoord )
    {
        vec2 p = 15.*(-iResolution.xy+2.0*fragCoord.xy)/iResolution.y;
        float f = stars(p);
        p+=.8*iTime;    
        vec3 tx = texture2D(iChannel0,p).xyz;
      
    
        fragColor = vec4(tx,1.0);
    }
    finally the get object is working well , the problem is not this object;

  6. #6
    Clicker Fusion 2.5
    Gigatron's Avatar
    Join Date
    Jun 2020
    Location
    France
    Posts
    234
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Here is the screenshot of you test mfa if you display all the two canvas. Get object load the external file from web with no problem;

    wl.jpg

  7. #7
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    warlords's Avatar
    Join Date
    Oct 2011
    Location
    Dk
    Posts
    613
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    yes now i understand more as you explain it all to me, thank you gigatron

  8. #8
    Clicker Fusion 2.5
    Gigatron's Avatar
    Join Date
    Jun 2020
    Location
    France
    Posts
    234
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by warlords View Post
    yes now i understand more as you explain it all to me, thank you gigatron
    But I do not forget you. I have another extension for your work, inside the zip file an example with your .mfa;
    Please test this extension ; Target sprite is not working yet;

    Regards
    Attached files Attached files

  9. #9
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    warlords's Avatar
    Join Date
    Oct 2011
    Location
    Dk
    Posts
    613
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Wow it works now

    if you try "lime green round" then fade from the previous code. It must be the code that does it! Or as if it is not clear right?

    Here is the final code:
    http://megajava.dk/shaders/warlords/index.html

  10. #10
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleFirefly 3D ModuleInstall Creator Pro

    Join Date
    Aug 2006
    Posts
    567
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Hello, I checked the online app : beautiful

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. HTML5 and the Inventory Object
    By Dillhole in forum HTML5 Export Module 2.5
    Replies: 2
    Last Post: 28th July 2021, 09:32 PM
  2. Help with HTML5 FGL object and HTML5 object
    By DEKE15 in forum HTML5 Export Module 2.5
    Replies: 2
    Last Post: 30th July 2014, 10:33 PM
  3. How to HTML5 / Get object / localhost
    By Allrounder in forum HTML5 Export Module 2.5
    Replies: 5
    Last Post: 5th May 2014, 03:37 PM
  4. Html5 video Object
    By pit73 in forum HTML5 Export Module 2.5
    Replies: 4
    Last Post: 26th February 2013, 03:14 PM
  5. HTML5 Object.
    By DJFuego in forum HTML5 Export Module 2.5
    Replies: 1
    Last Post: 25th October 2012, 06:30 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
  •