
Th.friction - coefficient of friction from 0.0 to 1.0 Th.isfixed - set to true to fix object in place permanently Th.shape - shape of thing (CIRCLE, BOX or. Th.zvel - angular velocity (degrees per second) Th.z - depth 100 is default, higher numbers appear above Th.isoverlay - set to true for a thing that floats above game Th.iscentered - set to false for x/y to refer to top-left corner Th.imagetext - text to be drawn instead of image or shape Th.isflipped - reverses image (set to true/false) Useful links: TSA Game JavaScript Reference - detailed documentation and examples for each feature TSA Game Resources - table of default graphics and sound resources Quick Reference var th = new Thing() Note that you may need to give the browser permission to open pop-up windows. The Chrome browser is strongly recommended due to its excellent code inspection tools. Use the “Run” button to run the project in a new browser tab. All projects are saved automatically as you work.

The programming environment is located here: Student game projects and sample game projects are available here:Īny TSA student or teacher can use the custom web-based programming environment by logging in with their e-mail address. It uses a combination of the HTML5 Canvas for graphics and Box2D for a physics simulation engine. The programming language used in the course is JavaScript, along with a custom game development library created specifically for this elective called tsagame.js. Students will learn programming by working on an independent game development project.

#DRAGTHING MOVE TAB DRAWER SOFTWARE#
This page and its subpages contain the documentation for the Software Development elective at TSA. The Sharon Academy > Software Development Software Development Elective Resources
