View-able Lists

brantsmith

  • Posts: 151
Hey guys, Is there any way to, in real time, view the contents of a list (list variable) as you are testing a game? Any help would be greatly apreicated
Coding is Awesome.
Stencyl is Better.

irock

  • *
  • Posts: 2891
You can simply put a list getter block in a draw block, and that will draw the list in one line, comma separated.

You can also draw each item on its own line:
Code: [Select]
set y modifier to 0

for each item in [list]
{
draw [item] at x:[0] y:[y modifier]
increment y modifier by 20
}
And then you'd just tweak the numbers to suit your game.

brantsmith

  • Posts: 151
Thanks man. That's a great idea.
Coding is Awesome.
Stencyl is Better.