Laurent's Forum Posts

  • Hey Edgar,

    No, no answers came to my request so I'm still were I was.

    BTW, I found an interesting tutorial here :

    scirra.com/tutorials/415/dragging-the-screen-with-mouse-and-touch

    But this resolves none of the 3 points listed on the top of this topic.

    Kind regards

  • Oh ! So Nice ! Son it word on mobile s�vices ?

  • Any ideas about making a dialer o?

    Well, my point is to make a needle that can be rotated around its axis using touch command. Like you would do to set the right time on a vintage clock.

    The dial thing is about giving the needle a rotating constraint (let's say between 45 and 180 degrees) and giving it the ability to come bak at its initial point when it is released from touch.

  • Ashley : Thanks Ashley, It's working perfectly well :)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi there,

    I have a C2 html5 canvas that I want to embed into a html page. I have made the bottom layer of my C2 project transparent because I wanted the two documents to share the same background image. Unfortunately, the moving objects in the C2 canvas leave a trail as they move. How can I avoid that ?

    For better understanding, here's the efect I want to acheive.

    The main HTML page created with a web editor represents the page of a book. The C2 animation I want to put on top is a fly moving randomly on the page.

  • Pode : done

  • Pode : well, something is appearing on the screen now but it looks more like a window within a window within a window with two levels of scroll bar.

    Would you accept to have a look at my files ? I can send you the hype doc and the html generated by C2

  • Here's a pic of my folders. What should go where ?

    In my "HypeProject_Resources, the file "htmlwidget.html" contains the div info and the script info of the file "index.html" of the C2 project

    http://27mai.free.fr/Ecran.png

  • Ashley : thanks Ashley. But could you be a little more pr?cise about "tweaking" the game's html ?

  • Pode : I forgot to tell that, in Hype, I pasted the div in a html widget

  • Pode : Can I call you my saviour ? Well, not yet :) I tried to follow your instructions as much as possible but when I try the final page on Firefox, nothing happens in the box dedicated to the Construct2 module. Should it be only working once the final app is generated or did I forgot a special instruction in my C2 project (like a canvas, or something) ?

    My directory contains every files of the C2 project and the files of my html page.

  • Hi there,

    I try to embed a CS2 project in a html page that will be compile into a native ios app.

    • I've exported my project into html5. When I open it in my browser, it says that it won't work perfectly until it's uploaded online.

    But this project is meant to be played offline.

    • I have to embed the project into a bigger html page. Which code should I enter to link to the C2 generated index.html ? What structure do I have to give to the folder that will include every parts of the complete project (html page+embeded C2 index.html) ?

    thanks for your help

  • thanks !

  • I'm planning to embed an html5 generated animation in an html page.

    I'd like the background of the animation to be transparent, so the background of my main page will be the one of the construct 2 animation.

    Thanks for your help

    L

  • Pode : indeed it was ! Thanks again