Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

App runs, but objects don't show up when installing on iPad
Started by Philipp Nov 17 2010 02:31 PM

4 replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

Philipp

[GLOBAL: userInfoPane.html]
Philipp
  • Contributor

  • 406 posts
  • Enterprise

Hi all... in the simulator my app runs fine, but once built for the device (either by opening on my iPad iOS 3.2 or in the XCode iPad simulator), all I can see is the background image -- none of my physics boxes show up. I put the images in the same folder as the app as suggested, but beyond that even when I use physics.setDrawMode('debug') to see if at least that works, in the Corona simulator the boxes show up fine, whereas again in the XCode simulator they've all gone amiss.

Does anyone know what might be causing this?
Thanks!!
uid: 10284 topic_id: 3753 reply_id: 303753


[TOPIC: post.html]
#2

finnk

[GLOBAL: userInfoPane.html]
finnk
  • Contributor

  • 149 posts
  • Corona SDK

Did you use any sprites?
uid: 11024 topic_id: 3753 reply_id: 11402


[TOPIC: post.html]
#3

Philipp

[GLOBAL: userInfoPane.html]
Philipp
  • Contributor

  • 406 posts
  • Enterprise

Yes, I use spritesheets for these objects which don't show up. (And as mentioned they also don't show up when choosing setDrawMode('debug') )
uid: 10284 topic_id: 3753 reply_id: 11404


[TOPIC: post.html]
#4

finnk

[GLOBAL: userInfoPane.html]
finnk
  • Contributor

  • 149 posts
  • Corona SDK

If your sprites use accompanying .lua files, might I suggest implementing the sprites without them? This means, equally spacing all frames and putting them in manual order in the PNG. That's the only way I have personally gotten the builds to work.

Link to an issue I have open: http://developer.anscamobile.com/issues/3508
uid: 11024 topic_id: 3753 reply_id: 11405


[TOPIC: post.html]
#5

Philipp

[GLOBAL: userInfoPane.html]
Philipp
  • Contributor

  • 406 posts
  • Enterprise

Thanks, actually my sprites png does use equal spacing already... no accompanying Lua file I might know of either...
uid: 10284 topic_id: 3753 reply_id: 11750



[topic_controls]
[/topic_controls]