matrixreal's Forum Posts

  • Up Bump :(

  • hello

    i did use style.css using the css import plugin

    here is my css

    #foo {

    background: #3498db;

    background-image: -webkit-linear-gradient(top, #3498db, #2980b9);

    background-image: -moz-linear-gradient(top, #3498db, #2980b9);

    background-image: -ms-linear-gradient(top, #3498db, #2980b9);

    background-image: -o-linear-gradient(top, #3498db, #2980b9);

    background-image: linear-gradient(to bottom, #3498db, #2980b9);

    -webkit-border-radius: 28;

    -moz-border-radius: 28;

    border-radius: 28px;

    font-family: Arial;

    color: #ffffff;

    font-size: 20px;

    padding: 10px 20px 10px 20px;

    text-decoration: none;

    }

    #foo:hover {

    background: #3cb0fd;

    background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);

    background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);

    background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);

    background-image: -o-linear-gradient(top, #3cb0fd, #3498db);

    background-image: linear-gradient(to bottom, #3cb0fd, #3498db);

    text-decoration: none;

    }

    it should something like http://css3buttongenerator.com/

    but i got this

    may Ashley can help us ? <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

  • dop2000

    hello

    thanks for reply

    i did try that tips in the post that you gives to me but it did not work on mobile (ios and android)

    it works on desktop but not on mobile

  • hello guys,

    i'm using the file chooser plugin on mobile (ios and android)

    i would like to customize the imagery of that plugin to an image or something different

    thanks

  • GPProd

    If you look at the photo the Noncentz705 posted, the FileChooser object is selected, and the property sheet on the left of the phot shows the properties for the FileChooser. At the bottom, Noncentz705 has given the FileChooser object 'Id' property the name 'foo'.

    In the same photo, the Event sheet shows the Condition and action. The action says:

    'Browser Execute Javascript "foo.click();"

    i.e. whatever the id of the FileChooser is, that is what needs to be before the ".click();".

    If Tom would fix the forum, it would make this much easier.

    If you still don'tget it, I'l upload to my dropbox.

    Edit

    Try the following: https://www.dropbox.com/s/yfjvsq1cbcioulr/FileChooserButton.capx?dl=1

    this is not working on mobile device

    any hint please ?

    thanks in advance

  • GPProd

    If you look at the photo the Noncentz705 posted, the FileChooser object is selected, and the property sheet on the left of the phot shows the properties for the FileChooser. At the bottom, Noncentz705 has given the FileChooser object 'Id' property the name 'foo'.

    In the same photo, the Event sheet shows the Condition and action. The action says:

    'Browser Execute Javascript "foo.click();"

    i.e. whatever the id of the FileChooser is, that is what needs to be before the ".click();".

    If Tom would fix the forum, it would make this much easier.

    If you still don'tget it, I'l upload to my dropbox.

    Edit

    Try the following: https://www.dropbox.com/s/yfjvsq1cbcioulr/FileChooserButton.capx?dl=1

    hello

    i see that you use "foo.click();"

    how can i done the js call for touch event on mobile ?

    thank you

  • bump up

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello guys,

    i have a game wich uses localstorage to save level, highsore etc ...

    it's hosted on a website and it working perfectly

    when i iframe it thru cordova app (on ios and android)

    it not saves that highscores, levels etc (do then localstorage is not working)

    any solution for that ?

    thanks

  • solved

    thanks zenox98 TELLES0808

  • hello guys

    how can i customize i mean change the icon of the file chooser plugin ?

    thanks

  • Hopefully this helps:

    https://www.dropbox.com/s/0meqzkt21ebbf ... .capx?dl=0

    What's going on in the original capx is that the y scroll occurs on the jump command, so the payer's y value is actually lower - or at least different - than the last y scroll value, which leads to a sizable jump in where the "camera" is looking. In my example, I use a value that only updates when the player's y value is less than itself for the scroll. I also could have probably done something like:

    If player.y is less than scroll.y -> set scroll y to player.y

    ...but this only just occurred to me haha.

    that work

    thanks dude

  • up bump

  • hello guys

    i would like to scroll to y of a player but only when it's jumping

    i use platform plugin and scroll to y when it is jumping

    but i have some glitch when player jump at the second time

    any trick ?

    thanks for help

    here is my capx https://ufile.io/kjs45

  • hello guys,

    is there a way / plugin to play a video without going to fullscreen on iOS ?

    thanks for help

  • Use "For each"

    > System For each Obstacles
        Circle Pick nearest to Obstacles.x, Obstacles.y -> Obstacles pin to Circle[/code:1pk80kxk]
    

    man that's magic it works

    you saved my day i was trying all the night without success

    thanks a lot this is the second time you help me