Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: liquid8d on June 14, 2015, 08:20:29 PM

Title: Intro to Squirrel Programming / Creating Attract Mode Layouts
Post by: liquid8d on June 14, 2015, 08:20:29 PM
Was doing a bunch of stuff in AM this weekend, and I realized there isn't much in the way of explaining how to create layouts.

So I started an article on the wiki:

https://github.com/mickelson/attract/wiki/Introduction-to-Squirrel-Programming

This is meant for beginners and (hopefully) non-programmers, so let me know if it sounds too complicated. I'll probably break this down into different articles once it's closer to being finished.

Right now it explains the basics of Squirrel, and walks you through creating a simple layout. Here is the final layout it helps you create:

Feedback is appreciated!


(https://raw.githubusercontent.com/liquid8d/attract-extra/master/extras/intro-layout.png)
Title: Re: Intro to Squirrel Programming / Creating Attract Mode Layouts
Post by: Luke_Nukem on June 14, 2015, 09:05:07 PM
Very well done!

I'm sure a beginner would find that incredibly helpful. And thanks for writing it for us  ;D
Title: Re: Intro to Squirrel Programming / Creating Attract Mode Layouts
Post by: verion on June 15, 2015, 12:26:24 AM
OMG this is great.

I'm your average-non-programer-joe so I'll gladly dig into this and let you know if something is too complicated or unclear.
Title: Re: Intro to Squirrel Programming / Creating Attract Mode Layouts
Post by: slydog43 on June 16, 2015, 07:35:08 PM
Great job, thanks.

what layout is that green one?  (I like)
Title: Re: Intro to Squirrel Programming / Creating Attract Mode Layouts
Post by: liquid8d on June 16, 2015, 08:53:36 PM
That's what the tutorial has you create. It also talks about adding a config option for different colors too..

The green one is here, I haven't updated it to include the config stuff yet:
https://github.com/liquid8d/attract-extra/tree/master/layouts/intro