Game Development Community

Tic-Tac-Toe anyone?

by Gregory Walek · 09/20/2007 (1:44 pm) · 1 comments

okay, This week's lab is about the gui system.

One of the ways, I'm trying to teach is to show them resources to use but leave gaps between them. I'm hoping to foster a sense that there are resources and solutions for them to find on their own. Its tough medicine, but if I don't get this down early in the semester, I'll be hand feeding them, and they really won't understand how to use the engine beyond what I teach in class.

In our last class, we went over Part 1 of Michael Perry's New Torque Documentation Tutorial.
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=12721
The result of this, is of course a red pixel paint program.
(This is what it's supposed to do at this point because we haven't setup any GUI elements yet)

After class I told them to read chapter 12 in GPGT.

Today's lab starts with the Gui tutorial written by "Gonzo T. Clown"
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=6482
They key to this tutorial that I'm trying to show is the ability of the GUI to call functions, including those written into the GUI file.
(yea yea... Function\Method, Armor\Armour, same thing)

A combination of that tutorial, and some looking around, particularly in the fps.starter main.cs and mainmenu.gui should provide everything that the students need to make Tic-Tac-Toe. I've had to go back over the trail a few times to more breadcrumbs.

And that's what they're going to hand in to me. tic-tac-toe
btw, if you playing against [WOPR]Joshua in Defcon... that's me.