Game Development Community

1/24/2011 Status Update

by Michael Perry · in iTorque 2D · 01/24/2011 (10:01 am) · 44 replies

Welcome!

Hey everyone. First, let me welcome all of our new iTorque 2D users. The number of you who have joined our ranks is astounding. To those who have stuck with us through thick and thin, welcome back =)

This status update is to let you know we are getting back into full swing. It took some time to get things going, but I think we may have broken a record for getting a company off the ground. iTorque 2D work has been occurring silently during the transition, but most of our long time users already knew about this. I have written a quick summary of what is going into v1.4.1. I wanted to post this to get feedback from you all and gather anything critical that is missing from the list. Let's start with fixes and useful additions:

Tracked tasks (logged in Jira)

- ITGB-95 Add new music demo
- ITGB-94 Import Aquarium Project
- ITGB-93 Fix stopiPhoneAudioStream usage string
- ITGB-92 Setting status bar bugs
- ITGB-91 Cleanup full screen variables
- ITGB-90 MainWindow.xib targeted for iPhone OS 2.0
- ITGB-89 Reading XML - error notify has filename hardcoded
- ITGB-88 iPhoneOGLVideo::rotateToAngle() gives unpredictable results
- ITGB-87 Returning very long strings from a function causes crash EXC_BAD_ACCESS in audio driver
- ITGB-86 Cannot create polygon objects in editor
- ITGB-85 Spatial information initially incorrect
- ITGB-84 Gameplay Template Build And Run broken
- ITGB-83 Use of custom OSX folder icons
- ITGB-82 Using GUI causes all objects to disappear in OSX iTGB editor
- ITGB-81 Windows 7 "Unable to Open Project"
- ITGB-80 Apps referencing wrong directories
- ITGB-79 isFile() and OpenForRead() broken
- ITGB-78 iDevice Resolution will always default to SMALLW/H
- ITGB-77 Sounds come out static on Mac version
- ITGB-76 Black screen on playiPhoneMovie

Untracked and regression tasks:

- Verify loading of external files for tilemaps, particle effects, and audio
- Add new shooter demo
- Update docs
- Multi-touch enhancement integration
- File I/O Issue

Overview of 1.4.1 goals based on Conor O'Kane thread


Fixed or not an issue in 1.4.1:
- Delete the /scripts folder from the new project as old torque projects use /gamescripts instead
- Set the correct level file to load in game.cs as loading "%level" doesn't work
- Replace all the instances of clone() in your game with cloneWithBehaviors() since clone() is bugged
- Add a %this.setUsesPhysics(true) for every moving object in the scene in its onLevelLoaded callback (do not use the editor checkbox - this doesn't work)
- Edit the engine source so that particle effects continue to play after leaving the camera
- Edit the engine source so that particle systems load correctly
- Ignore the fact that the audio doesn't work on the Mac
- Change all of your onMouseDown scripts to oniPhoneTouchDown
- Do the same for mouseDragged and mouseUp
- Manually edit the .t2d file replacing every particle effect's load path, since saving a level wipes these
- Make sure you're building for current OS
- Make sure you're compiling with GCC 4.2

Most likely fixed by the above:
- Discover that many of your objects aren't showing up or moving properly
- Updated documentation and the need for a clean demo

Note - The above list was generated based on Conor's feedback, which is extremely valuable. The goal is to solve the most glaring and basic usability problems via the bug fixes, update docs, and demos.

Looking forward to your feedback.
#21
02/05/2011 (12:10 am)
Great to hear the progress on iT2D 1.4.1 - looking forward to getting my hands on the release for this.

By the way since my Global Game Jam game was Creative Commons licensed with source code, I will be cleaning it up and making an iOS build, and releasing the source here on the forums for registered iT2D users to download.
#22
02/05/2011 (8:04 am)
Here's an issue which seems to have slipped through the cracks because people have marked the threads [solved] after implementing their own source fixes.

iT2D can't run an iPad game in portrait orientation. See these threads for suggested fixes:

www.garagegames.com/community/forums/viewthread/116961
www.garagegames.com/community/forums/viewthread/123263

I can't confirm either of these fixes myself. It would be good if an iPad portrait orientation demo was included in the next release to confirm that it's actually possible without major source modification.
#23
02/05/2011 (8:54 am)
@Connor I found something really weird with that portrait issue, I had implemented Edward F. Maurina III's multitouch enhancement. www.garagegames.com/community/resources/view/19809 what made this odd was touch one would not register however touch two etc would. This drove me up a wall, and I abandoned the project for a while.

#24
02/05/2011 (6:22 pm)
Henry - that's intesting because I've been using Edward's multitouch code in a landscape iPad game with no problems at all. In fact I'd say it's essential for proper multitouch handling. I only began my first iPad portrait app yesterday but quickly found it's not a simple matter.
#25
02/06/2011 (10:55 am)
@rennie - I've never really had problems with the accuracy of the standard touch inputs. You might have to provide real debug numbers for me to track that down. Might be worth creating a new thread, as this one is not meant for debugging.

Quote:Also, what about onMouseDragged? Any fixes there.
There are no plans to reintroduce onMouseDragged to the iOS runtime. The good news is that the new demos and docs have examples on how to replace that functionality. Should be very useful
#26
02/06/2011 (10:59 am)
@Conor - Unfortunately, issues related to iPad did not get caught or logged for some reason. They were not included in this iTorque 2D dev sprint, but I will spend some time tomorrow investigating to see if it is something I can get into the release candidate.
#27
02/06/2011 (8:26 pm)
@Michael,
Great! (re onMouseDragged)
Re: the accuracy of taps is odd. It occurs when taping an object, in this case is about 30x30, so would that size be too small? Not sure how to give "real debug numbers". ANyhow, regardless. thanks. Good news with the onMouseDragged to say the least!

#28
02/08/2011 (7:34 am)
We are working on the last few bugs this morning and hope to put it into QA's hands before noon. A couple of issues were introduced during development thanks to your communications:

- ITGB-97: Shooter demo documentation
- ITGB-99: iPad portrait orientation bugged

While the build goes through QA I will be working on the new documentation and wrapping up the demos.
#29
02/08/2011 (8:36 am)
Good work Michael.


#30
02/08/2011 (9:10 am)
Thanks Michael, this is great news!
#31
02/08/2011 (9:20 pm)
@Connor I agree I think that Edward's multitouch code is essential as well. It should be part of the engine. Perhaps I made a mistake or created some other type of bug. I will definitely be revisiting this as soon as 1.4.1 is in my downloads.
#32
02/09/2011 (7:13 am)
@Michael: Is there a fix in the works for playing MP3s through the iPhone causing a crash in 4.2.1 (http://www.garagegames.com/community/forums/viewthread/123185), or did that turn out to just be a problem for me?
#33
02/09/2011 (7:18 am)
@Joe - I was not able to reproduce it on my end.
#34
02/09/2011 (8:46 am)
Ah, okay. I guess that warrants more investigating for me, then. Thanks!
#35
02/09/2011 (5:51 pm)
First full day of of QA just went by. Yesterday was borked by installers not working at all. I was up until the wee hours of the night working on installers and bugs, so today was much more productive. Here is where we stand.

New Bugs Reported:
ITGB-99 iPad Portrait orientation bugged
ITGB-102 Movie Player Uses Wrong Orientation and Resolution
ITGB-103 Windows installer points to the incorrect product page
ITGB-104 Windows build has the wrong example projects included
ITGB-105 Editor restarts after loading an updated project for the first time
ITGB-107 MP3\'s do not play on iDevices
ITGB-108 EULAs included in the install need to be updated to the current Master EULA

Of those bug reports, we resolved 103, 104, 105, 107 and 108 today. That leaves two major bugs related to iPad and Movie Player.

Remaining Tasks (not bugs):
ITGB-91 Cleanup full screen variables
ITGB-94 Finish Aquarium project import
ITGB-96 Shooter demo
ITGB-97 Shooter demo tutorial
ITGB-100 Rainy Day tutorial
ITGB-101 General iTorque 2D doc cleanup

The original plan was to let the build go through QA for 48 hours before we put a download up for preview. That\'s still the plan. I have another 24 hours to fix the iPad and movie player bugs, which are actually related (go figure). With those fixed, I will put up the build minus the new demos and finished docs. You will get to preview some of the demos and docs, depending on how fast I can finish the bug fixes.

All in all, we are feeling pretty good about the build. Still more work to be done though. Part of that work will be to gather your feedback during QA based on what you get in your hands.
#36
02/10/2011 (1:28 pm)
Awesome new Michael. thanks for the update :)
#37
02/11/2011 (8:12 am)
@All - The private testers have provided some fantastic feedback. They reported a few new bugs worth investigating, but should not delay a public release. Ronny has provided some excellent non-bug tips that will help improve general compiling and bundle sizes. Basically improving compliance.

There is one orange flag in the air, though. I just received a tip that Xcode 4 is in gold status. This means it can be released as early as this Tuesday. It's good that we are not releasing the final version of 1.4.1 before then, as we saw what happened when we release an engine without testing fully on the new Apple tools. So a final release will not go out next week, just in case we have to change a lot to accommodate Xcode 4.
#38
02/11/2011 (9:18 am)
Well I guess better safe than sorry, however there goes my weekend plans...

BTW @Connor I looked at your threads again and found that my first touch was being read etc, however the first touch moved the player, and even with checking the setUsesPhysics it didn't work. Setting it in code fixed that.

#39
02/13/2011 (10:35 am)
@Michael,
Excuse me if I have missed something but are there or what are the chances we get good, official documentation on pinch zooming and dragging?




#40
02/17/2011 (1:51 pm)

Update

Based on QA and what has been reported in the forums for 1.4 and 1.4.1, here are the things confirmed as fixed in the build:

- ITGB-76 Black screen on playiPhoneMovie
- ITGB-77 Sounds come out static on Mac version
- ITGB-78 iDevice Resolution will always default to SMALLW/H
- ITGB-79 isFile() and OpenForRead() broken
- ITGB-80 Apps referencing wrong directories
- ITGB-81 Windows 7 "Unable to Open Project"
- ITGB-82 Using GUI causes all objects to disappear in OSX iTGB editor
- ITGB-83 Use of custom OSX folder icons
- ITGB-84 Gameplay Template Build And Run broken
- ITGB-86 Cannot create polygon objects in editor
- ITGB-87 Returning very long strings from a function causes crash EXC_BAD_ACCESS in audio driver
- ITGB-89 Reading XML - error notify has filename hardcoded
- ITGB-90 MainWindow.xib targeted for iPhone OS 2.0
- ITGB-92 Setting status bar bugs
- ITGB-93 Fix stopiPhoneAudioStream usage string
- ITGB-95 Add new music demo
- ITGB-102 Movie Player Uses Wrong Orientation and Resolution
- ITGB-103 Windows installer points to the incorrect product page
- ITGB-104 Windows build has the wrong example projects included
- ITGB-105 Editor restarts after loading an updated project for the first time
- ITGB-108 EULAs included in the install need to be updated to the current Master EULA
- ITGB-110 Gui Editor saves guis with double .gui extensions when user specifies extension
- ITGB-111 Images can't be searched for on Macs
- ITGB-112 Remove Sample Project template
- ITGB-114 $(IT2D_EDITOR_FLAGS) is missing from all projects
- ITGB-118 $Game::ProductName should be filled based on name the user specifies for the project
- ITGB-119 App Data/Application Support directory for the Editor needs to be changed from TorquePowered to GarageGames
- ITGB-121 setStatusBarType does not set the status bar to be hidden
- ITGB-124 Saved iDevice settinngs are not reflected in the editor upon project close and reopen

You might notice that the original task list stopped at 95. We have some other improvements that have made it in that were not on the task list, but were changed because of something in the list. A full change list will be provided upon 1.4.1 release.

Remaining:
2 bugs
2 tutorials
1.5 demos
Final doc cleanup
Multi-touch enhancement testing