7Soul's Recent Forum Activity

  • ^ tested, and it worked

  • We need an edit button :P

    Just found out I wasn't using Array.CurrentZ

  • Nop, i'm writing the object only to Z = 2, and i'm loading it only when the Z is 2 too

  • Hey, just something I noticed, if my array has 3 Z layers, it creates everything 3 times. Is it better to have 3 arrays with 1 Z layer then?

  • I can't believe my eyes @, this "for each element" is impressive, it loads instantly! Thanks a lot!!!

  • It probably takes a little longer because I'm not using 2 loops anymore. The X "loop" I made using a global variable, and the Y loop is an actual loop. I did this because using only loops freeze the game during it, and by doing it this way, I can have a cool loading bar that works

    I made a level which is 65x45 and it takes 4 seconds to load, but takes 6 seconds once I export the game (can anybody explain this?).

    The game is in alpha stage, you can download it here and have a look: Download: direct link - 4mb

  • Just replaced the INI with an Array and it only takes 9 seconds to load now, thx for the help!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Its basicaly this:

    <img src="http://i.imgur.com/tKxlC.jpg" border="0" />

    At the start of the frame I start loop X, and it starts loop Y. Then I select a tile by comparing its X and Y to the current Loop Index. Then I compare the array value, if its 1 or greater, the tile is visible, if its 0 the tile is invisible

    • this takes roughly 12 seconds

    Then I have this:

    <img src="http://i.imgur.com/nEiC0.jpg" border="0" />

    If the value is 2,3,4 or higher, it means there's an object to be loaded

    • now it takes 36 seconds :/
  • I'm making a level editor that saves each block value to an .ini file. It takes roughly 25 seconds to load a level 100x100 blocks. I'm using 2 loops to read the ini, one for the X and one for the Y

    How can I speed it up? Would an array be faster?

  • Would be nice to have the command "Change collision mode" for tile object, since it can be set to solid, so I could change the collision mode from "bounding box" to "none" and vice versa

  • This doesnt work

  • How do I download this?

7Soul's avatar

7Soul

Member since 15 Dec, 2010

Twitter
7Soul has 2 followers

Connect with 7Soul

Trophy Case

  • 13-Year Club
  • Entrepreneur Sold something in the asset store
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

17/44
How to earn trophies