Array Demo

user_icon Roberth shared it 1 year, 2 months ago
517 views, 5 people love it, 2 taggers, 96 downloads, in 1 gallery
Add to my favorites?
Flag as inappropriate?

Comments

You need to be logged in to post comments

Add a Comment

wii wii 1 year ago

? ?

(view all replies)
Comment Reply

samfent samfent 1 year ago

I don't really understand the Fetch button. I see from the code that it's supposed to set the array value, but can we see this on the screen? No matter what values have been stored, and what values are currently on the slider, "Fetch" does nothing more (visibly) than set the Array Value slider to zero.

(view all replies)
Comment Reply

_Dragon_MC_ _Dragon_MC_ 1 year ago

An array is a group of values. Each value has an x (horizontal) position, if the array is 2-dimensional a y position (vertical), and if the array is 3-dimensional a z position (I guess, how far away it is).

(view all replies)
Comment Reply

Greatdane Greatdane 1 year ago

What's an array?

(view all replies)
Comment Reply

rauscher rauscher 1 year, 1 month ago

This is very good but it doesn't get past the issue of not having an array data structure for sprites. There's a space invaders example that would work well with arrays but the person had to instantiate each "badguy" as an independant sprite.

(view all replies)
Comment Reply

mohlar mohlar 1 year, 1 month ago

Very useful demo. I'll be pointing to this URL in a forum thread about useful demo projects.

(view all replies)
Comment Reply