[1.3 release] Some minor issues with templates
by Ronny Bangsund · in iTorque 2D · 01/06/2010 (3:01 am) · 2 replies
I created a game from the sample project, and here's what happened:
I pushed the magic build button, and it launched Xcode. The project showed up with a few reds in the usual places in the file tree, but also a missing MediaPlayer.framework reference. I suspect there was some hardcoding here, as I only have SDK 3.1.2 (why keep the old crap around, eh?). That isn't enough to break building, though, so I guess it's a soft requirement to allow 2.x deployment. Easy enough to fix on our own.
There are still more plists than actual targets, but I got my company name inserted in the right one. Are the others for the desktop builds?
When I ran the build on the device, I only got a black screen and a mouse pointer. None of the backgrounds I saw in the editor showed up. I opened the Xcode project for the example project instead, tweaked it to build and ran it on my device. Showed up as it should. Isn't the template supposed to use this exact project?
There's one constant build warning:
[WARN]warning: no rule to process file '$(PROJECT_DIR)/../../projectFiles/main.cs' of type text for architecture armv6
No harm in it, as nothing has exploded. Yet :)
One other thing I of course noticed is that there is no proper stripping done to the release binaries. Add post-processing, separate strip etc. and it almost halves in size.
(Early morning disclaimer applies)
I pushed the magic build button, and it launched Xcode. The project showed up with a few reds in the usual places in the file tree, but also a missing MediaPlayer.framework reference. I suspect there was some hardcoding here, as I only have SDK 3.1.2 (why keep the old crap around, eh?). That isn't enough to break building, though, so I guess it's a soft requirement to allow 2.x deployment. Easy enough to fix on our own.
There are still more plists than actual targets, but I got my company name inserted in the right one. Are the others for the desktop builds?
When I ran the build on the device, I only got a black screen and a mouse pointer. None of the backgrounds I saw in the editor showed up. I opened the Xcode project for the example project instead, tweaked it to build and ran it on my device. Showed up as it should. Isn't the template supposed to use this exact project?
There's one constant build warning:
[WARN]warning: no rule to process file '$(PROJECT_DIR)/../../projectFiles/main.cs' of type text for architecture armv6
No harm in it, as nothing has exploded. Yet :)
One other thing I of course noticed is that there is no proper stripping done to the release binaries. Add post-processing, separate strip etc. and it almost halves in size.
(Early morning disclaimer applies)
About the author
(Waiting for UTF-8 to work again!) ಥ_ಥ
#2
I'll give 'em more than a skim when I get home (had to leave the laptop, otherwise I'd sneak in looks at the new release all day and never get anything done).
01/06/2010 (8:58 am)
Haha, reading docs seven in the morning! Yes, that'll happen :PI'll give 'em more than a skim when I get home (had to leave the laptop, otherwise I'd sneak in looks at the new release all day and never get anything done).
Associate Sven Bergström
Luma Arcade
This has been noted and will be looked into,
This is the empty project template, the sample project template duplicates the sample game.
Also, remember there are new docs for a reason, and read this please : LINK
i think this has to do with the source code highlighting addition, it tries to try and compile it. Looking into that as well.
As for the build stripping, ill quadruple check that but im certain that i had had all of those flags and options set by default for this very reason. Thanks for checking that though!