xach's Forum Posts

  • I was told that 9-patch never worked in XDK. They are looking into adding support, and I will know in a few days. Feel free to PM me for an update.

    Ok were you told that it does not work in the compiled application or the splashscreens? Because the article that is referenced only targets splashscreens with 9-patch. And if the case is that there is no 9-patch solution then why did we change the aspect ratio on the splashcreens in the first place?

  • So intel https://software.intel.com/en-us/html5/ ... ld-options recommends you use 9 patch.

    They suggest you use the http://developer.android.com/tools/help/draw9patch.html Android SDK Draw 9-patch.

    I just used that utility because it was quicker but there is still alot we could learn. I'm not saying its perfect but it did display my splashscreen on my device a whole lot better. And if we all want to keep using crosswalk intel just told us we have to understand 9-patch.

    IntelRobert

    How are things going on this 9-patch thing? I Think we would all like to know how we are supposed to be handling our splashscreens that were change with no explanation as to how we are to use them.

  • IntelRobert

    Thanks.

  • So I have been trying to pick a check box by instance variable that is text and it will not do the actions afterward.

    System pick by compare object checkbox

    checkbox.type

    =

    "someText"

    Actions

    do something

    It never does anything.

  • LittleStain

    Thanks. I think I will wait till its released.

  • Here is a way I did it in a project I did:

    https://dl.dropboxusercontent.com/u/542 ... _menu.capx

    I cant open it because it was made with 179. And I'm still on 178. Im sure Construct will tell me to update soon so ill save the file.

  • So intel https://software.intel.com/en-us/html5/ ... ld-options recommends you use 9 patch.

    They suggest you use the http://developer.android.com/tools/help/draw9patch.html Android SDK Draw 9-patch.

    I just used that utility because it was quicker but there is still alot we could learn. I'm not saying its perfect but it did display my splashscreen on my device a whole lot better. And if we all want to keep using crosswalk intel just told us we have to understand 9-patch.

  • Just wanted to see if anyone had a quick tutorial.

  • Mine stretches too just a little is yours completely distorted?

  • I finally managed to locate and fi it! And the error was so dumb, so incredibly stupid that I almost feel ashamde :p

    Turns out I had a second player instance on the layout. I dropped it ther accidentally, behind all layers so it was invisible, and that caused the error. I found and deleted it and now everything works as it should.

    Thanks for the help, ideas and al that. Thanks a lot

    If you only new how many sleepless nights I had because of the same kinds of errors. I was going to suggest the same thing because it happened to me once with my game.

  • You cannot not enable disabled code at run time. you Can however active deactive code in a group. Active/Deactive code are not the same as Disabled code.

    I'm 99% sure that disabled code will not be in the runtime.

    That's what I'm thinking too. But I just wanted a definitive answer. Reason being if you want to support multiple platforms it would be nice to know if disable code does not get exported you could have one capx file that you use for all the platforms.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • When you disable an event or action and export the code does the exported code contain the disabled code then just disable it or does the exported code not contain the disabled code?

  • Your imagination.....

    But in all seriousness I want to know this myself. Just thinking about it You could probably do this. Are all the users in the same room or are they online in different places? I would imagine playing videos on several tablets or computers would be possible. I'm not sure how in sync you could get them to play.

  • The only problem with not using a splash screen is you get an extended black screen to look at. I think my products should be better then looking at a black screen while crosswalk loads on your device. Thats the reason I went out of my was to try and solve this.

  • All you have to do is upload your splash screen image and it and it will spit out all the files. All 9 patch seems to be is a name.9.png file or something like that. I think your image has to be in the new xdk sizes.