I’ve been trying to make animations with the SDK.
I can’t seem to get the movieclip example working for some reason.
When I load it I can see the background in the simulator but the SDK can’t seem to find the cube .png’s and crashes.
I get similar problems in other apps I’m developing when trying to load certain png files as images although I can see them in the finder and I can open them in every other app.
WARNING: Failed to find image(Assets/Images/tounge1.png)
Runtime error
assertion failed!
stack traceback:
[C]: ?
[C]: in function ‘assert’
?: in function <?:518>
(tail call): ?
/Users/manjero/Desktop/new/Lua/iKululu/main.lua:116: in main chunk
Runtime error: assertion failed!
stack traceback:
[C]: ?
[C]: in function ‘assert’
?: in function <?:518>
(tail call): ?
/Users/manjero/Desktop/new/Lua/iKululu/main.lua:116: in main chunk
Thanks in advance,
Shahar Zrihen [import]uid: 13553 topic_id: 4816 reply_id: 304816[/import]
Not sure if this will help with the movie clip problem but your image loading sounds like an issue I had myself.
I get that error when I use Image Mode Greyscale on images within Photoshop. I put them in RGB Mode and then it loads fine.
Don’t know what photo editor you’re using but you might try looking for any option for 24 bit colour palette on the image, resave it and see if it helps. [import]uid: 11393 topic_id: 4816 reply_id: 15429[/import]
are you using “Case Sensitive/Journaled file system for data volumes” on your operating system? could this be the issue? [import]uid: 6645 topic_id: 4816 reply_id: 15455[/import]
jmp909 - Maybe.
I don’t know that issue. I’m a PC user and I only use Mac for iphone development. on system profiler it tells me that the file system is Mac OS Extended (Journaled).
Is that good news or bad news?
What should I do / Check?
Shahar [import]uid: 13553 topic_id: 4816 reply_id: 15456[/import]
jmp909 - It’s not journaling. I’ve tried turning it on and off and still no change.
I’m been having these issues with many apps - the provided examples that come with the sdk, my own apps and d/l samples apps from the web like ghosts vs monsters, jungle scene and more.
Anybody knows / had this issue? [import]uid: 13553 topic_id: 4816 reply_id: 17965[/import]