16
Scripting / Help me wrap my head around the Conveyor module!
« on: November 18, 2015, 01:11:19 PM »
Hi all,
I've looked through the code for the conveyor module and the SimpleArtStrip class, but I still can't wrap my brain around how to actually use it in a layout. For my purposes, a simple extension of the SimpleArtStrip and SimpleArtStripSlot classes should meet my needs, but I have no idea how to actually make a conveyor -- even the default -- show up on the screen. I don't know what else I'm doing, either, but I figure if I started there, that'd be a good place...
I just want a horizontal strip of snaps to move either left or right depending on whether the user moves up or down in the game list. I want it to take one second between transitions and stop on the next entry in the list (up or down).
Can anyone break down how to use the conveyor for a toddler? Thanks!
I've looked through the code for the conveyor module and the SimpleArtStrip class, but I still can't wrap my brain around how to actually use it in a layout. For my purposes, a simple extension of the SimpleArtStrip and SimpleArtStripSlot classes should meet my needs, but I have no idea how to actually make a conveyor -- even the default -- show up on the screen. I don't know what else I'm doing, either, but I figure if I started there, that'd be a good place...
I just want a horizontal strip of snaps to move either left or right depending on whether the user moves up or down in the game list. I want it to take one second between transitions and stop on the next entry in the list (up or down).
Can anyone break down how to use the conveyor for a toddler? Thanks!