dop2000's Recent Forum Activity

  • What do you mean by "classify"? Display on the screen?

    If you have a list of similar values (rankings), you should not use variables for storing them. Instead, store them in an array or dictionary. You can easily sort the array.

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 279 followers

Connect with dop2000

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x14
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

30/44
How to earn trophies