Game Design Tutorials
These are the tutorials for COMP 1501, Intro to Computer Game Design.
This page is for the fall 2009 tutorials. The comp1501 tutorials from fall 2008 can be found here. The comp1501 tutorials from fall 2007 can be found here.
In order to receive credit for each tutorial, you must show up, stay for the entire tutorial and do a sufficient amount of work during the tutorial time. You need to talk to one of the TAs before you leave in order to get your mark for that week.
- Tutorial 1: Torque
- Tutorial 2: (Terri was in Tucson, Arizona during this tutorial. ie I don't know what you did.)
- Tutorial 3: Continue on to start the "Space Warrior" tutorial. Notes from short lecture on Torque will be up in webct.
- Tutorial 4: Finish "Space Warrior" tutorial. Notes from short lecture on C# will be up in webct.
- Tutorial 5: Play Zendo, think about AI for solving Zendo, and then work on the "Blaster" tutorial from Garage Games.
Make sure you have saved your work to Z:\ or a USB drive before you log out of the machines in 5151HP, otherwise your work WILL be lost!
Frequently Asked Questions
- What is the link for the tutorials?
- http://docs.garagegames.com/torquex/official. BOOKMARK THIS. The tutorials can be found by clicking on "torque x" and then "tutorials"
- What do I do if my game runs really slow?
- Change
<SimulateFences>false</SimulateFences>to<SimulateFences>true</SimulateFences>in torqueSettings.xml. - I'm getting some error about T2D not existing...
- You have probably created your component in the wrong place. Make sure that your component is in Game and NOT in TorqueCore or Torque2D. If it is in the wrong place, you may move it (make sure to delete the old one!), or it may be easier to recreate it in the correct location.
- I'm getting an error about ShipControlsComponent not existing...
- It's not being found in your namespace. Make sure to add
using GargageGames.Torque;to the top of the affected file. - Why do my bullets disappear in the middle of the screen?
- Usually, the problem is that you have an "invisible" object there that is colliding with the bullets. (Often this is the bulllet that you dragged into the level so you could set properties.) Make sure to move this object outside of the bounds of the screen.
- What should I do about this giant error about the camera?
- To get rid of the huge error about the camera when you first run things, right click on TorqueCore and go to properties and change assembly name to GarageGames.TorqueX.Framework, and rightclick on the Torque2D part and change the assembly name to GarageGames.TorqueX.Framework2D (via http://garagegames.com/community/forums/viewthread/91675). NOTE: This will be fixed on the machines for new projects thanks to Ryan of the SCS system administration team. Woo!
- Why can't I see my new component in the dropdown? Or why doesn't my component have the new bits I just installed?
- You need to go to the menu and select Project->Reload Component Schema to reinitialize the lists and properties. If this doesn't work, recompile your code and try it again.
- How do I get a list of spawned objects?
- Getting a list of spawned objects in torque x