Aquarium Tutorial - Making particles work in Simulator and on devices
by Matt Rafferty · in iTorque 2D · 11/05/2010 (2:14 pm) · 5 replies
I apologize for bothering the group with what probably has an easy answer but I've just started using iTorque2D.
When I worked through the Aquarium demo everything worked fine except for adding the Wave, Bubble and Beam effects.
They work find within the Builder, but when I play it the effect isn't working in the simulator. This is true if I compile and load it on my iPhone.
Any help would be appreciated.
#2
1.7.4
2.
11/5/10 9:50:34 AM [0x0-0x11b11b].com.garagegames.torqueGameBuilder Fri Nov 5 09:50:34 MacBook-Air.local ITorque2dGame[24946] <Error>: unknown error code: invalid enumeration
11/5/10 9:50:34 AM [0x0-0x11b11b].com.garagegames.torqueGameBuilder Fri Nov 5 09:50:34 MacBook-Air.local ITorque2dGame[24946] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
11/5/10 9:50:34 AM [0x0-0x11b11b].com.garagegames.torqueGameBuilder Fri Nov 5 09:50:34 MacBook-Air.local ITorque2dGame[24946] <Error>: unknown error code: invalid enumeration
3.
Unless that is part of the compile for the target device I have not.
Thanks for answering so quickly.
11/05/2010 (2:56 pm)
1.1.7.4
2.
11/5/10 9:50:34 AM [0x0-0x11b11b].com.garagegames.torqueGameBuilder Fri Nov 5 09:50:34 MacBook-Air.local ITorque2dGame[24946] <Error>: unknown error code: invalid enumeration
11/5/10 9:50:34 AM [0x0-0x11b11b].com.garagegames.torqueGameBuilder Fri Nov 5 09:50:34 MacBook-Air.local ITorque2dGame[24946] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
11/5/10 9:50:34 AM [0x0-0x11b11b].com.garagegames.torqueGameBuilder Fri Nov 5 09:50:34 MacBook-Air.local ITorque2dGame[24946] <Error>: unknown error code: invalid enumeration
3.
Unless that is part of the compile for the target device I have not.
Thanks for answering so quickly.
#3
unknown error code: invalid enumeration is a problem, but I do not think that is the case. What about the console output from the iTorque 2D game itself? Those are errors from the iPhone build.
When I ask about the recompiling, here is what I'm referring to:
1. You create the project
2. Test build on device or simulator
3. Make changes to the project (script or assets)
4. These changes do not show up in device or simulator automatically. You must either rebuild the solution or right click on the game directory in the resources folder and click on compile.
Just checking to see if you have performed either steps in #4. Also, make sure the particle files exist in the directory structure and are referenced correctly.
11/05/2010 (4:22 pm)
@Matt - 1.7.4 refers to the base TGB engine. Which version of iTorque 2D are you using? 1.4? 1.3?unknown error code: invalid enumeration is a problem, but I do not think that is the case. What about the console output from the iTorque 2D game itself? Those are errors from the iPhone build.
When I ask about the recompiling, here is what I'm referring to:
1. You create the project
2. Test build on device or simulator
3. Make changes to the project (script or assets)
4. These changes do not show up in device or simulator automatically. You must either rebuild the solution or right click on the game directory in the resources folder and click on compile.
Just checking to see if you have performed either steps in #4. Also, make sure the particle files exist in the directory structure and are referenced correctly.
#4
I tried the tilde key with no luck, it does work in TGB however.
02/22/2011 (9:48 pm)
How are you able to see the console when using the itorque 2d binary?I tried the tilde key with no luck, it does work in TGB however.
#5
You would hook in with a telnet debugger and read it there. Torsion through wifi for example or a telnet client
02/22/2011 (10:15 pm)
its cut in itGB cause you have no keyboard on iOS to press it.You would hook in with a telnet debugger and read it there. Torsion through wifi for example or a telnet client
Employee Michael Perry
ZombieShortbus
2. Are there any warnings or errors in the console output?
3. Have you recompiled the resource files?