Sunday, August 31, 2014

AA study materials

28 aug
I finished the Ruby Monk Primer last night.
https://rubymonk.com/
I found it to be mediocre.
The lessons were a bit abstract and included methods that were never explained.
The problems had very little to do with the content of the lessons.
It required a lot of googling.
The whole tone of the site seemed a bit self-satisfied rather than helpful.

31aug
I read the 10 Learn to Program chapters today.
Very basic stuff, but well presented and funny.

18Oct
After a massive digression (45 coding hours) of working on my Speedy Key program in Ruby, only to find that someone else had already created the same program, I'm going to hit the study materials again.  Time to boot up my mac and leave my PC behind. Goodbye Sublime 2, hello TextMate.

I've done some reading in "Beginning Ruby" and some in "The Well Grounded Rubyist".  Both are excellent.

Sunday, August 24, 2014

stock images - shutterstock.com

I've found a great way to make my experimental code more interesting is to use images from shutterstock.com.
They have millions of images that you can buy, or just use as is if you don't mindthe low resolution and watermarks.
I use Snagit to grab the images and then use a game engine (guso for ruby) to include graphics in my code.

Here are some drool-worthy buttons from one of my lightboxes.
I'm just dying to create a wet-gloss wood paneled GUI.


Bubblegum Steampunk breakout

I tried to build a breakout video game.
I've built this same game before in python and C#, so it was just a matter of translating the syntax into ruby.
It's all pretty similar to python.

I thought I would give it a little style this time so I grabbed some interesting graphics from shutterstock.com.
Okay, now that I've gotten that out of my system, I'm going to start the course prep work and learn how to do things the right way. 

Embedded YouTube video below.










Snagit - screen clipping tool

I just want to take a moment to plug Snagit, my favorite screen grabbing tool.
That's how I make my videos.

http://www.techsmith.com/snagit.html

Sadly, the Mac version is less fully featured that the PC version.

Wait, I can't paste an image directly into my blog, I have to save it and upload it?
Come on Google, it's 2014 already.



My first Ruby program

I wrote my first little Ruby program last night.
It's called Space Kats.

I downloaded this library called gosu.
It helps you do 2d graphics in ruby.
http://www.libgosu.org/

Basically, if you have ruby installed, you can type "gem install gosu" at your command prompt and it magically installs.  I'm a big fan of magic like that.
Then I downloaded someone else's sample game (which I don't fully understand) and hacked it until I had my bouncing cats.

It taught me how to create an array of objects (the cat) and traverse the array with a for loop to operate on it (movie cat).
Video below.



Thursday, July 31, 2014

Monkey Madness (I would like to build this at App Academy)

Project:       Monkey Madness
Year:          2013
Language:   Python
Github:       https://github.com/KletusVandamme/Python_tests/tree/master/monkey%20madness
Notes:         basic Python code

Summary:
Most people spend 40+ hours a week navigating their favorite apps with sub-optimal efficiency.  Monkey Madness is a game that engrains best practice navigation behavior into the player as they use keyboard shortcuts to propel their monkey around a mockup of their application and gobble up bananas.

If I am accepted at App Academy, I would like to build this concept into an open source web app that crowdsources new game designs and lets users uprate the best concepts and features.  It would leverage popular social networks to stimulate competition and map skills improvement to quantifiable productivity gains in order to promote enterprise level adoption.

In addition, it would collect and open source anonymous user data which researchers could mine to understand how variations in game mechanics help people learn.

                                                      Click here for YouTube Video

Eyeball Madness

Project:       Eyeball Madness
Year:          2013
Language:   Python
Github:       https://github.com/KletusVandamme/Python_tests/tree/master/eyeball%20madness
Notes:         basic Python code

Summary:
A furry purple alien glides serenely above a sea of fixated eyeballs.