vtrix's Recent Forum Activity

  • Yann

    i'm having trouble deleting an index of array

    delete root@"array","0" or 0 both just set the arrayvalue to null

    the path "key" however is gone, but the size is still counting the null as an entry

    edit: i think i gonna use strictly object from now on and use only c2 arrays for listing things

  • frozze , heh its pretty old demo, domain is gone, but still have it, ill see if i can get it up again

  • Yann , first impression, looks great, love the debugger and log info, and the new way of displaying with "@" feels a bit lighter,

    but just wanted to quickly say, that something as loopindex is missing, and could be usefull for not making a counter, or what i just did,

    for an array int(json.currentkey) , is that a design decision?

  • yes, indeed at runtime, one texture was what i had in mind, so it would combine about 30+ sprites in one texture

    still getting my head around, converting the same tiletechnique to one texture,would i need to redraw the full texture or only a part?

    thanks for the answer, i need to invest some time in the idea...

  • rojohound , something that i was meaning to ask about canvas use

    using sprites for tiles..

    and using the process of switch tileframe from arrayposition (create and show only tiles in view)

    could the same process be used/combined with canvas. actually making a looping texture from tilespasting

    for seamissues, is it possible to paste relative to canvasorigin, so the texture is composed of non floats

    (seams in floats are actually the main issue here)

    would this be is it a realistic aproach, performance, technical? any insights?

  • Yann , damn, just when i wanted to get some sleep, i see this.. great! who needs sleep! testing....

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • yes but in case of system(selection), to me it looks like its updating much more than the rest (inspecting an object for example) maybe its because its the root of list ? , there's really no other way it would bump up the processor usage that much just by changing my selection in the inspector, nothing else is changing in my project..

  • this is mostly because some triggers or eventcheck with 0.1 get bumped and then returns, while interesting to know its getting activated, its hard to keep track of, but the problem with static list, is if you don't have much space for the profiler, and your testing your project, you wont see where changes happens down the list

    if you are scrolling in the debugger you're not testing your functions/game, so less activity..

    if you do have space, a static list and maybe a slight color indicator would be more usefull

    so i think an option would be best in this case, static/dynamic order maybe?

    edit: wether or not you have space, it would be a good option if your interested in a certain group

  • Jase00 well just doing the the overlapping point test would do the trick here i think, from the moment its overlapping you call the next coordinate, a distance check could work as well

  • Ashley , i noticed that the debugger can give a wrong impression about the performance,

    to clarify,

    while inspect is active (starts at system) the most intensive actions the cpu is doing is updating the debugger itself

    if it has to update lets say 200object, = 200+ debugger fields, it drains nearly 40% of my cpu

    if i switch to profile its max 6%-7% (actually watch with not fields has the most accurate cpu usage 5%)

    if i switch to an specific object to inspect, the cpu go's to 8% (it updates only this fields)

    then inspect>system again, its + 34%

    i think that inspect (system) updates all fields of the objecttree, but it should only update the system screen.

    + a state save of what your doing would also be good> saving inspect/watch or profile

  • Copons , instead of making the root an object, make it an array, this supports indixes or you could index the objects itemnames in a seperate array

  • masalife

    Yes very interesting, i would want to know more about this program,

    i checked the website but i don't find sdk information / overview of functions/behaviors, +pricing

vtrix's avatar

vtrix

Member since 24 Jul, 2011

None one is following vtrix yet!

Connect with vtrix

Trophy Case

  • 13-Year Club
  • Entrepreneur Sold something in the asset store
  • Email Verified

Progress

15/44
How to earn trophies

Blogs