dop2000's Forum Posts

  • Is there a question?

  • When exporting the game, there is an option "deduplicate images". I believe then objects with identical images will share the same image in memory.

  • Yes, duplicate objects will use more memory. This at least is true for Construct 2, in Construct 3 you can choose to "deduplicate images".

  • So how do you want it to work? You touch the sprite, swipe right and the sprite should fly to the right?

    You need to tell more about your game, because there are many ways to do this.

  • Don't set these objects global.

    This should not happen. Try running the game in debug mode, see maybe the objects are still there but invisible or off-screen.

    If nothing helps, please post your capx

  • You do not have permission to view this post

  • Define "classify"?

    With 2-3 variables you can simply compare their values. With more variables it will be easier to put them all into an array and do "Array Sort".

  • Why do you need to export with C2 runtime? It's not a great idea since C2 runtime will also soon be deprecated.

    If you are certain you need to do this, it's possible to add old function object, I did it myself recently. I believe apart of modifying the c3proj file, you also need to copy Function.json and add at least one "on-function" block to one of the event sheets. It may be easier to create a blank event sheet for this purpose in your project.

  • So you only show one monster at a time? When one monster is destroyed, then the next monster appears?

    You can put all these monsters on the layout and set them invisible, disable behaviors etc. Then simply enable them one by one.

    Or place spawn points on the layout (invisible sprites). When you need to spawn a new monster, pick first spawnpoint, spawn a monster, destroy spawnpoint. It will still be easier than creating and maintaining that array.

    The array only makes sense if you generate all these thousands of coordinates automatically, for example in Excel with some formula, or using some level builder.

  • if click on it, it destroys...

    Click on what?

    On my txt file I wrote 1,3516,4059

    You can do it, but it's a very ineffective solution. (again)

    Filling this array with numbers will take you more time than placing monsters manually on the layout. Besides, what if you want to make some changes to the map in the future? You will need to change all numbers in the array.

  • Grab here with mouse and drag down.

  • I got a feeling Ashley is not too keen to support development of anything other than games in Construct. Check out this comment.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do you have an object 'TradyIntro1'? You can try removing all mentions of it from all json files in the c3p. Or, if you have a previous working version of the project, see where this file is located there.

    If nothing works, you can contact supportqkz@construct.net

  • What happens is you mark the level as unlocked on start of the layout, and then the array data is loaded from LocalStorage and overwrites it.

    You need to move "Levels Set value at CurrentLevel to 1" into the LoadStars function.

    Also, you shouldn't load the array from LocalStorage every time players return to the menu screen. Ideally you load it only once, for example in Loader layout.

  • Interesting.. I'm sure I got the idea that interstitial ads need to be re-created from someone else's demo. Have you tried with rewarded ads?

    I agree, the documentation for MobileAdvert lacks this information and we need a good tutorial/template.