Game Development Community

Where to start?...

by MikeJ · in General Discussion · 05/24/2011 (12:21 pm) · 5 replies

I'm new to Torque, purchased the Torque2D and iTorque2D engine and I'm looking forward to developing my first 2D game.

Question 1: If I want to make a full featured game for PC, Mac, Android and iPhone which engine should I start with? Torque2D or iTorque2D? I'm assuming there is going to be some porting that I will have to do for the mobile devices so should I start with Torque2d?

Question 2: The best way I learn is by seeing live code and I know that some other engines out there (corona) offers open-source code to peek through to get an understanding of the engine. Is there anything out there for Torque2d and iTorque?

I just want to say ahead of time that I have already read through the documentation, the API references, etc. Just want to see the code in action.

I appreciate any responses.

Thanks!

#1
05/24/2011 (12:32 pm)
Question 1: If it were my project, I would develop in iTorque 2D completely. The editor is in better shape and you are guaranteed not to use too many features on the PC and Mac that are not supported for iOS. You will still need to perform some porting, but that will mainly be artwork if you plan properly.

It's worth noting you will not be able to port to Android

Question 2: You get the full source with both engines. Any demos we ship will provide sample script code and include any additional source files for that project.
#2
05/24/2011 (12:41 pm)
Thank you for your quick response and thank you fro clearing that up for me. I have gone through the tutorials, perhaps I'm looking for something a little too specific as the tutorials didn't answer my questions. I've also gone through the interactive tutorial as well as any tutorial out there that I could find.

If anyone out there knows of any other in depth tutorials I might be missing or know where I can get an open source game I will greatly appreciate it.

BTW Mr. Perry, I love the engine and for visual people such as me it beats the hell out of cocos2d and corona. Thank you!
#3
05/24/2011 (12:44 pm)
@MikeJ - Happy to help out. Glad you are enjoying it =)

What are you looking for specifically? I can probably point you in the right direction.

Quote:BTW Mr. Perry,
Mich is fine. No one has used "Mr. Perry" since I taught.
#4
05/24/2011 (4:52 pm)
Mainly what I'm not understanding is Torquescript. I understand the basics and can figure my way through it, however more complex things like levels and screens. Do I have a cs file for each level or scene and then separate cs files based on my various objects like goodguy, pickups, bad guys...

Hopefully that makes sense.
#5
05/25/2011 (7:40 am)
Quote:Do I have a cs file for each level or scene and then separate cs files based on my various objects like goodguy, pickups, bad guys...
You are correct. Each level is a .t2d file, which is actually TorqueScript. You want to have separate .cs files for major functionality blocks, like player, bullet, enemy, spawns, etc.

If you haven't already, definitely read through the following docs:

Introduction

Syntax

Quick Reference

They cover more than just the basics and can help you get going on more specific stuff.