vtrix's Recent Forum Activity

  • i think he means that the particle graphics dont rotate with the angle and that is true, the particle-flow rotates with angle not the graphic,

    arrows are a good example, when spawning, they will always be in the same direction, there is no rotationcontrol on the particles

  • well you see what it does? it saves every pose to an objectselector (bad name) its better poseholder , and loads the pose when hover, its a more a direct feedback thing, instead of typing the pose

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • yeah cant see it, dont have the data :)

    new version, its fun :)

    index

    capx

  • hehe great! :) you could also make that the poses are saved to a button that has the json string as var, so when you go over the button it loads its pose (maybe i try it), i also thought about making a simple animation system with spritebank, if you save for example every 10 milliseconds to an array, you could have a frame by frame animation system, but i think its better to wait on Spriter plugin for the real deal :)

    dont know what exactly didnt work, but its posible to do an action or function on each instance right after its loaded, you could for example

    save usephysics=1 var to the instance and activate the physics on that object right when it loads

    about the json difficult to read.., its harder because its a json from the hashtable with all poses, you can also save and write the json from 1 pose to a textfield(so you can copy the string) wich should be easyer to read

    i've been meaning to ask rexrainbow if it would be better to shorten the description names of spritebank to a minimum as it get big very fast with lots of objects..

    ------ example normal 1 object

    {"head":[{"x":452,"y":103,"width":62,"height":72,"angle":0,"opacity":1,"visible":true,"cur_frame":0,"cur_anim_speed":5,"inst_vars":[],"layer":0,"z_order":8,"cur_anim_name":"Default"}]}

    -----------shorten version

    {"head":[{"X":452,"Y":103,"W":62,"H":72,"A":0,"O":1,"V":true,"C_F":0,"C_A_S":5,"VAR":[],"L":0,"Z":8,"C_A_N":"Default"}]}

  • aaroncrunch

    by using system wallclocktime

    it gives the realtime seconds the app has been running

    by saving this time when button is clicked you can compare how much time has been passed, and will work in "sleep" modus

    i made a quick example

    example

  • yes it works,

    example

    so now when added a couple of "states" when pressing savetowebstorage

    it will safe the hashtable with all states to webstorage

    when page refresh it reloads the hashtable from webstorage

  • you can only download the jsonstring, and the import gives me troubles,

    much better would be like dictionarytostring and save this in var or webstorage

    edit: maybe use rexrainbow hashtable, its almost the same

  • hmm im thinking maybe with the latest addition from dictionary > export to json and save this json in a webstorage key, then when reload the page, you load the webstorage key > the json string.. and import back into dictionary,

    but i havent used this function yet, i see if i can make something

  • chrisbrobs

    this is example spritebank + dictionary, you can save and load the sprites by "key" entered into textbox

    example spritebank

  • spritebank could be used, and combining the json data from spritebank with an array or hash, you can load multiple poses

    very cool application you got there, nice!

  • aha great F4 it is, thanx for that

  • can we please have an option that forces to use only the layout that is set as first layout, i lost count on how many times i ran the wrong layout

    the only reason i have a second layout open is because i use it for putting instances on, but i dont want it to run

    nobody else has this issue?

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