cybertron7's Forum Posts

  • UUughhh Im stupid. The code works fine. I had dragged and dropped it to some other random spot in the project.

  • One sprite per family. Say I'm doing a loop to create 50 of these family instances, it doesn't work!

    However, I did add a WAIT 0.25 then directly accessed the object, that seems to be working...

  • I'm pulling my hair out man.

    I was using this for a while, it was working, but now it seems that other objects are intereferring with this. I just want to create an object and set variables. What am I doing wrong here?!

    It's as though another object is being inserted BEFORE this one, which steals the values.

    Why can't I just assign DIRECTLY after it's created?

  • > construct.net/en/forum/construct-3/how-do-i-8/solvedhow-push-object-array-142574

    This was a good hint to the correct solution but... not very effective, clean, or re-useable :(

    This is indeed what I had to do. Pushed "" into the array, then set that last index to JSON.

    Great tip about the ""'s -- it's pretty wild JSON support is this jankey inside of C3...

  • construct.net/en/forum/construct-3/how-do-i-8/solvedhow-push-object-array-142574

    This was a good hint to the correct solution but... not very effective, clean, or re-useable :(

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Following -- same problem for a year in one of my apps.

  • Yuck I just realized I have to build a CRUD system for this. Create, Remove, Update, Delete or whatever... Ughhhhh

  • Well. That ate an entire day trying to figure out but you want to use JSON.parse();

    But if you're indexing, you need to first insert ANY value into the index, then you can overwrite that data with your parsed string.

    The end result is I have a complex game in C3 with my own load/save function using ONLY json. A bit clunky but the freedom to create is now before me -- I'm super frustrated with a few features in C3 man... Object selection and data manipulation aren't great. 4/10.

    Anyway here's the solution..

  • This is driving me insane. I've built this huge and complex program and now I need to insert some indexed values - it doesn't seem possible! The closest I've come is pushing this text in as JSON (which is how the entire database is loaded and works PERFECTLY by the way).

    Pushing works but the text is escaped! How can I fix this?

    Tagged:

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Anyone heard of this? If I reload a the it'll be higher up or lower down than when it starts clean?

    Why does the LAYOUT move?

  • I suppose this is the best way to do it :/

    I just had to add them one by one picking them out. Art is work... hehe

  • So, I have a laptop I'd like to use on C3. I have a BUNCH of addons to use and they don't work with the "Bundle" feature -- this is the C3 Master Collection.

    There are like 50 possible plugins but I only use 20 or so. Is there are more effective way to install them?

  • No -- I have 10 JSON objects.

    JSON_1

    JSON_2

    JSON_3

    JSON_4

    I want to loop through them:

    JSON_[loopindex].Get(".Value");