dop2000's Recent Forum Activity

  • I asked ChatGPT to decipher this post:

    Yeah, I get what they’re asking. They’re making a pack-opening simulator (like for a collectible card game) and want to add a deck builder. The issue they’re facing is displaying a list of cards in a searchable way without gaps, while also making sure cards with a quantity of zero don’t appear.

    Breaking Down the Problem:

    • Listing cards for a search → They need a way to display all the cards they own.
    • Hiding cards with zero quantity → If a card isn’t owned, it shouldn’t be listed.
    • No gaps → If a card is removed, the list should shift up to keep things tidy.

    Cameron9990 Is this what you are asking?

  • but u have to take in consideration all objects in screen are rendered by canvas... even if the system is saying is "invisible" once in screen they are actually transparent, and believe it or not... rendering "transparency" uses more memory then actual colored pixels.

    No, you’re wrong. Check out this demo — make the sprite invisible, and you’ll see that GPU utilization stays 0% even with tens of thousands sprites.

    Besides, this whole thing is moot because I’m not creating 100,000 invisible objects with 100,000 variables. It’s a single sprite with about 100 variables — zero impact on performance.

    but is easy to remove a sprite by mistake once outside the screen.

    That’s why my sprite has big text saying "DO NOT DELETE" on it. Plus, I have only one instance of it in the Loader layout, which I rarely even open in the editor.

    thats why i suggest better use json, arrays, dictionary anything that its purpose is to keep number values, text values by default.

    Oh, I do. I have about 30 different JSON objects. But for frequently used values, instance variables are much more convenient.

    but considering C3/C2 is mainly used for tablets and phones, i know from past experiences sprite objects, and many instance variables on them, will glitch, like the variables will fail to be read and written.

    No, that never happens. These so-called "glitches" are always due to user error.

    especially a sprite is easy to delete by mistake, or change its designated state by simply adding it in a familly by mistake, and then "woops" the familly gets destroyed when shot

    Just like you can accidentally delete an array, dictionary, or global variable?

    These things are easily avoidable if you just pay a little attention to what you’re doing.

  • I don't think families are supported. You can report it as a bug.

  • if u have a big project, problem with it is that it might glitch

    No, it won't glitch as long as you make sure that there is only one instance of this object.

    is transparent and everytime u fetch 1 variable the gpu trying to render that sprite which uses a little bit more resources in spikes... and if u fetch consequencely 10-20-50 variables from that sprite ur game will have a spike "load freeze" on read/write data.

    I don't think this is true.

    The sprite is invisible and off-screen, so it's not consuming any GPU or CPU resources.

  • When RedUnit collides with another RedUnit, both of them become isPaused. So event 16 processes two instances of them. And because the engine is so smart, it compares each Marker UnitID with a different RedUnit instance, alternating between them (I assume). As a result, some of the markers remain unpicked.

    Add "For each RedUnit" to event #16. You might need to do the same in some other similar events.

  • I don't know if this will help, but in #16 you might need to move "Set isPaused to false" to the top of the event. Otherwise the whole event will execute several times before it stops. Avoid using "wait" actions in events that run on every tick!

    If that doesn't help, could you share your project file? It's difficult to understand what's going on by screenshots.

  • Please make a small repro and report it:

    github.com/Scirra/Construct-bugs/issues

  • There is a link to an example project in the documentation, have you seen it?

  • I can't help you with the array, but there is an addon that does the same on a tilemap.

    construct.net/en/make-games/addons/252/tilemap-flood-fill

    Tilemaps are essentially 2D arrays. So you can copy array values on a tilemap, flood fill it, then copy back to the array. Since this is for a jam, it could be a quick and easy solution.

  • Could be this issue:

    github.com/Scirra/Construct-bugs/issues/3718

    You can try creating a folder in the Objects tab and moving either the sprite or Touch plugin into the folder.

  • Yes, you can do this with [icon] tag:

    construct.net/en/make-games/manuals/construct-3/plugin-reference/text

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Without the AI I wouldn't even have ATTEMPTED this feature.

    Yeah, ChatGPT is getting frighteningly good at programming tasks. Almost ROJOhound-level good :)

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