gameba's Forum Posts

  • Any thoughts on this are highly appreciated.

  • you can try with iframe z-index: -1 & transparent background

    ...but you lose iFrame functionality...

    zFrame.capx

    Wow, work like a charm. Thank you so much! People like you keep this comunity healthy!

  • Hi, guys

    I have a "Sheet Event 1" , I want to reuse the arrays from "Sheet Event 1" to other Sheet Event

    I read and follow a document here https://www.scirra.com/manual/121/event-sheets

    Include Sheet event will run all code in the "Sheet Event 1" once again, but I have the random shuffling of an array at "On start of layout" event in "Sheet Event 1" . this means it will run once again and change the value in my array

    I want to only reuse array, keep all values in array, not run all code in "Sheet Event1" once again

    Please excuse my poor English

  • No.

    Its always on top.

    Any hack or trick to do that?

  • Hi, guys

    I created a iframe on 'Layer 0' use Pode HTML Pack plugin here , and I created a menu object on 'Layer 2' but the Iframe always appear above menu object.

    Any way to show an object above iframe?

  • > ..I have a HTML file, I want to import it into my project, then I can get link to the html file and load it in a iframe on divice..

    >

    like this?

    https://app.box.com/s/kps0u0m86zhwve5sokwlz98nt05v3ulh drunkWeb.capx

    Yes, This is exactly what I need. Thank you!

  • Hi, guys

    I have a HTML file, I want to import it into my project, then I can get link to the html file and load it in a iframe on divice.

    In the java programming, I can copy and paste html file into folder project's assets and I can get link to html file (file:///android_asset/file.html)

    How to I do similar in C2?

    I read a documents about Browser plugin here https://www.scirra.com/manual/110/browser and try use Pode HTML Pack Plugin here https://www.scirra.com/forum/plugins-pode-html-pack_t69356. But I don't find suitable information for me

    Thank you!

    Please excuse my poor English

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The loop runs once, but the C2 engine runs all events 60 times a second, so you have to design your code with that in mind.

    wow, This is a information really useful for me. Thank you !

  • there is no conditions before your loop, therefore it will repeat each tick (aka each time the screen is drawn).

    On start of layout is an exemple of system condition that will make it so it returns _1_2 when the layout starts.

    I thought 'for-loop' is run without any conditions, its will run once only but I was wrong. Thank you!

  • Hi, guys

    I use for loop (from 1 to 2) to append a text same as:

    but I received Infinite loop.

    This is result :

    I think the result must return [quote:2kqcgp10]_1_2

    Something was wrong?

    sr, my english is not good

  • I read a document here scirra.com/tutorials/292/gu ... t-features

    but I don't find anything suitable for me.

    I want to combine 'Or ,And' event in a block same as :

    It is same as a code in java:

    if ( (a = 1 && b = 1)|| c = 1 ){
            //something
    }[/code:2feo3nbf]
    
    Thank you !