enxomachina's Recent Forum Activity

  • I found this answer on a similar post 4 years ago by the user oosyrag:

    "Tile sizes can't be changed with actions, although the width and height of the entire tilemap can change.

    If you want different "resolutions" of tilemaps, one way is to have multiple tilemaps with different tile sizes layered on top of each other and only display the relevant one at any given time."

    I hope this helps or that another option exists ;-;

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The idea is that there is currently 100 different numbers in the JSON under key "data" and I want to compare each value in "data" and if it's greater than 0, I want to add a new value at the end

  • I'm trying to mimic this:

    I want data.(loopindex("x")*loopindex("y"))

  • This looks somewhat closer to what I'm looking for maybe? I'm still missing something vital ;-;

  • I struggle myself with posting photos as I am new and for some reason this icon seems a bit chaotic if it will post or not:

  • If you want the ships to be created at a random position on the layout it could look like this:

    Notice that the 0 and LayoutWidth are separated by a comma and not a dash as it is often handwritten. Without photo's or more explanation it's very hard to tell what may be the problem ;-;

  • I am very new, but I think maybe if you add a Wait 0 Seconds action after the Spawn action and before the Call Function action, it may be fixed.

  • I let it run for a bit and the dictionary had 3000+ keys with 30,000 elements each and there still wasn't any noticeable slowing down.

  • I want to check each of the first 100 values of the json (Chunk_Width and Chunk_Height are both equal to 10,

    If that value is greater than zero (all 100 values are, but this is for testing) then it should activate the action. I just can't get the number after the dot to equal the loopindexs ;-; I want it to be like

    "data."&str(loopindex("x")*loopindex("y")) or something T-T

    Tagged:

  • You can store them in localstorage

    I played your game Strawberry Punch! Very epic ^-^

  • Creating lots of arrays started to show noticeable slowing after 400 arrays. I changed it so now the array information is stored in a dictionary key, then destroyed, and then I use a JSON to parse through the keys when needed. This keeps the object count to a minimum but I'm unsure when that will still not be enough. 3 million keys is still a lot so I'll likely have to consider localstorage. O:

  • Also, running this chunk generator every tick isn't causing problems, but I've noticed only about 10% of my CPU is being used, thems rookie numbers how can i utilize more cpu? O:

enxomachina's avatar

enxomachina

Member since 23 Jan, 2020

None one is following enxomachina yet!

Trophy Case

  • 4-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

6/44
How to earn trophies