DaveSX's Forum Posts

  • 13 posts
  • Hi,

    I wanted to create object and pin them to the scroll while i'm scrolling. But the spacing in between each object is different due to the speed of the scrolling.

    Is there any way to keep a constant spacing?

    Capx:

    ScrollSpawnPin

  • This also happen to me. However, my construct 2 didn't crash. Instead, the action just did not undo back correctly.

    My OS is Windows 8 64-Bit Home Premium

  • Hi,

    Is there any way for me to change a layer blend mode via event sheet?

    Such as setting Layer1 to Source Atop when needed and set back to Normal when it's not needed

  • Hi,

    i encounter a problem when saving/loading persist objects.

    Session 1:

    I created persist objects on Layout 2 (Game Screen), then i return back to layout 1 (Menu) to save the game.

    Then, i close the browser.

    Session 2:

    I re-open the browser and I load the game from layout 1, But when i go to layout 2, my objects isn't there at all.

    When i go back to layout 1 and re-enter layout 2 again, my objects reappear.

    Is there anyway to make the objects appeared on my 1st entry into layout 2?

    CAPX:

    LoadPersist.Capx

  • Hi,

    Is there a way/expression i could use to remove spaces from a string?

    Eg, "Hello My Name Is John" --> "HelloMyNameIsJohn"

  • I tried all the loading options. But the game still caches in the background.

    Is there a way to only start the game after everything is cached???

    Please help. Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I did the custom loader with the condition "On loading finished", but it doesn't seems to help. Cause even after the loading is completed, the caching is ongoing in the background.

    Is there a way to only start the game after all the caching has been done?

  • After the initial constuct 2 loading, the programming is still caching all the resources. And if i were to create a sprite that contains a resource that hasn't been cache, it gives an error.

    Is there a way to check if it had finish caching all the resources, so i can only start the game after everything has been cache.

  • Ahh... Got it to work. Thanks a lot.

  • here is the link to the sample capx.

    It works fine in preview mode, but once exported it gave the error.

    docs.google.com/file/d/0B7VK2vJr4XSKNXJxN2lTdlZlUTQ/edit

  • Hi, i used your plugin for the saving of my sprites into webstorage and load it when i reopen the game.

    It runs perfectly on preview mode, but when i try to run it after being exported, i get this error.

    Uncaught TypeError: Cannot call method 'getCurrentSol' of undefined c2runtime.js:11294

    InstBankKlassProto.CreateInstance c2runtime.js:11294

    InstBankKlassProto._load_all_instances_handler c2runtime.js:11324

    InstBankKlassProto.LoadAllInstances c2runtime.js:11330

    Acts.LoadInstances c2runtime.js:11055

    Action.run_object c2runtime.js:5968

    EventBlock.run_actions_and_subevents c2runtime.js:5570

    EventBlock.run c2runtime.js:5548

    EventSheet.run c2runtime.js:5208

    EventInclude.run c2runtime.js:6270

    EventSheet.run c2runtime.js:5208

    Runtime.logic c2runtime.js:2892

    Runtime.tick c2runtime.js:2750

    extra

    I have tried clearing cache, re-exporting in various options. Nothing works.

    ----------------------------------------------------------------------------------

    This is what i did, i created some instances of the sprites(Bricks) and (Connector). Then, i saved all the instances of the 2 sprite into the Instance Bank. Once saved, i use BankToString to store everything into WebStorage.

    When I open the browser again, i used

    Load Bank from JSON string WebStorage.LocalValue("InitialBricks")

    Once all that is done, I used

    Load all saved instances

    -----------------------------------------------------------------------------------

    I used this in preview mode, it works.

    But after i exported it, it gave me an error and stop working. Please help. Thanks

  • Hey,

    I wonder is there a way to add tint effect to the spritefont so the color of the text can be changed via events?

  • hi guys,

    I was wondering, is there a behavior/plugin i can use to change the color of my spritefont?

    For now, other than re-coloring them manually in the image editor, i cant seems to find a way to change the color of the spritefont via events.

    Thanks

  • 13 posts