Toby R's Forum Posts

  • It's Intel's problem not C2. Workaround is to put it into Sound folder but (if you don't have too many sounds) I suggest to disable global sounds preloading, and do it manualy on first layout start, excluding music. Then you won't waste initial loading time.

    EDIT: At the moment in my game I hear no music and even no sounds. So I really hope they gonna fix it soon.

  • Toddler, what exactly would you like to do in constructor and update functions?

    It is true that in every OOP language you have a very useful constructor (and desctructor) function which is triggered when instance is being created, but in C2 you also have "Sprite -> On create" which is exactly the same.

    I don't know what do you mean by "update" function, because there is no such thing in programming like a predefined "update" function. So I believe you need some custom actions here. This also can be easily done with Construct 2 functions. You can build your own function with parameters and set return value. You can also call it "update" . It is also worth to mention that you can call them with callbacks as well.

    Regarding entities. You can set instance variables for your object, and their values might differ in each instance of your object so it is exactly like Class/Object in OOP.

  • I meant that it's not related to the fact that "Cordova CLI 3.3 and 3.5 build options to be disabled". Intel XDK had similar issues in the past. There was a time it was not working at all for several days. So I am sure that they are already aware of this bug and they will fix it soon.

  • I am not really sure if I understand your concern, but if it's mainly about the lag at the start of the layout then you should read my tutorial which i've mentioned earlier. If you implement what I've described there, noone will notice any lag at the start of the layout.

  • Haha. Yes everything is ok.

  • I asked few questions on GMS forum regarding Android exports. I think you might be interested.

    What I've found out:

    1. GMS Android exports are fully native.

    2. IAP, AdMob, Push Notifications are built in.

    3. Performance is not perfect. You still have to be carefull with sprites etc. and do some optimizations.

    on a reasonably modern device - should be fine

    Well, C2 Crosswalk export is actually perfectly fine on modern devices <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">. So things are a bit cleared out, but still question is what "fine" means comparing to C2 export. We'll see after they sort out things with server overload.

    Here is the topic: http://gmc.yoyogames.com/index.php?showtopic=676728

  • Haha! It is! I must say that it is one of the funniest posts I have seen so far ;P

  • That's a big resolution as for C2 Crosswalk export .

    Regarding the problem. You have to implement something like:

    IF

    Browser -> Is not fullscreen AND TextBox -> On clicked

    THEN

    Browser -> Request fullscreen - Stretch (scale outer)

    (adjust screen position)

    For some reason even if you set fullscreen in C2 and Intel XDK it still treats it as not - hmm - fully fullscreened? It is strange, I had the same problem and manipulating fullscreen setting helped me.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't think you can do this directly in C2. If I remember well Gif algorythm is not free to use anyway, but there are always some workarounds.

    C2 can export to HTML5 obviously. If you google "HTML5 to gif converter" you will find a lot of tools to do that. Just a first thing I found http://www.ilovefreesoftware.com/12/win ... nsion.html

    Good Luck <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

  • Thanks

    So for all interested here's the short quote from Intel which clears the doubts:

    [quote:3m4yezwm]Paul F. (Intel) Tue, 09/15/2015 - 16:02

    For Android-Cordova you should use Crosswalk 14, until we make Crosswalk 15 available, at which point you should consider moving to 15. The Crosswalk 10-14 builds we support all use Cordova-Android 3.6.3. The new Crosswalk 15 will support Cordova-Android 4.1.0. Regardless, the Crosswalk builds are not impacted by the removal of CLI 3.3 and CLI 3.5.

  • Recently I see on the forum that many people have problems with Intel XDK exports.

    Essa Ali also wrote ():

    Today intel xdk will stop supporting cordova, that's why some of you guys faced problem with music files

    can some1 plz tell us another way to to export project to APK without using intel xdk.

    I can't find any official information confirming that. Does anyone have heared something regarding this topic?

  • Level 2 is bugged. I've collected 15/14 coins and can't open the doors. It says that I have to collect all the coins first. I believe your condition checks if the current amount of collected coins is equal to (instead of equal or higher) the needed amount of coins. I really like the shooting style, where you can pick up the arrow again - that's kinda oryginal .

  • It works really great lukezero, and the graphics are really nice too . Have you wrapped it with Intel XDK or something else?

  • In your example every 1,2s every Sprite 3 spawns another Sprite 3. So if there are 5 of them already on the screen, each of those 5 will spawn another one. You should use "System -> create object" instead of Sprite -> spawn object, or use different sprite (some which is only one on the layout).

  • WOW I didn't know preload sounds made the game start slower. Maybe that's why my game levels always are laggy in the beggining!

    I believe preloading sounds happens only at the start of the game - not layout. In your case it's a problem with rendering objects. You might want to check my tutorial to get rid of the switching layout lag: How to smoothly switch between layouts.