LuckyRawat's Forum Posts

  • found it. I have used spriter in this project.

    its Spriter bug, if we place more than one spriter animation in c3 and then restart layout. it paused the layout

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • hi lucid

    a new bug found. if we place more than one spriter animation in c3 and then try to restart layout then it pause the layout

    steps to reproduce

    1. import spriter animation in C3
    2. make 2 copies in layout
    3. add bullet behavior.
    4. add mouse plugin
    5. On any mouse click > restart layout

    another bug is Pause Animation on start of the Layout doesn't seems to work.

  • no i didn't use persist behavior. This is a single layout project with width 20000px. object is moving from left to right.

    but i think problem is C2 to c3 conversion.

    Original project was made in C2 and now i have switched that project to c3 i think this is the reason problem. I have tried by deleting all objects and events from the project except one and give that object bullet behavior and then tried on mouse click do restart layout. but still not restarting.

    So now i am recreating project by re importing all objects from folder and then i will do copy paste events.

    I hope it will work.

  • i tried to check Restart layout by simply

    on any click > restart layout

    it does nothing but everything paused and same thing was happening before

  • I don't like using triggers in sub-events.

    i do this because i have multiple triggers in sub events.

  • same thing is happening.

    these events are working in construct 2 but in construct 3 it not working.

  • Another Question

    What is wrong in this event?

    layout does not restart but global variables resets to default.

  • two years later...

    is there any news about this question ?

  • my idea is to copy one by one each game's object, layouts, eventsheets, etc into one project and rename then according to game name to make sure any object with similar name doesn't ignore original object. I think by doing this merging 40 games is possible.

    each game will be on different layout and those are kids games and avg project size is 4 to 5mb each game.

  • web page! you means webpage url in iframe ?

    i want games to be played offline but if i use web pages then users has to be always online.

  • So i have only way to do this is

    copy all data including layouts, eventsheets, objects, plugins, etc from other games to single game. but still there is a problem. there are many things which cannot be copied to other project and i have to recreate them like families, containers etc. So is another way of copy paste content from one project to another project, like if possible to do copy paste of eventsheet, layout, family folder from project folder explorer.

  • first i did test by simply import my exported html project into new project's file folder and in iframe i used url index.html but it doesn't showing preview.

  • WackyToaster

    if i load games from website then user cannot play games offline. they have to be online always. I don't want this. is their any way so i can download games from website So users can play it offline?

  • another question

    How to i set gradient to sprite?

    i did follow steps

    create color gradient called "myColor"

    add stop point at 0 with value rgbEX(255,0,0)

    add stop point at 1 with value rgbEX(0,255,0)

    Now how to apply this gradient in Sprite

    i tried with expression AdvancedRandom.Gradient()

    but it only requires numbers in the ()

    if i gave it 0 it gave color rgbEX(255,0,0) and if i gave it 1 then rgbEX(0,255,0)

    how do i give sprite gradient?

  • Can you explain it little more?