Author Topic: Intro to Squirrel Programming / Creating Attract Mode Layouts  (Read 4971 times)

liquid8d

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 442
    • View Profile
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!



« Last Edit: June 14, 2015, 08:23:34 PM by liquid8d »

Luke_Nukem

  • Sr. Member
  • ****
  • Posts: 135
    • View Profile
    • Blogging about Rust lang
Re: Intro to Squirrel Programming / Creating Attract Mode Layouts
« Reply #1 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

verion

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 861
    • View Profile
    • new projects
Re: Intro to Squirrel Programming / Creating Attract Mode Layouts
« Reply #2 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.

slydog43

  • Full Member
  • ***
  • Posts: 66
    • View Profile
Re: Intro to Squirrel Programming / Creating Attract Mode Layouts
« Reply #3 on: June 16, 2015, 07:35:08 PM »
Great job, thanks.

what layout is that green one?  (I like)

liquid8d

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 442
    • View Profile
Re: Intro to Squirrel Programming / Creating Attract Mode Layouts
« Reply #4 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