So I’ve been playing around with porting my game to WP8, tested on Lumia 720 which has dual core 1Ghz (a nice device which still on the low end but without sinking to 520) and here are some issues that I can’t figure out (yet) :
- When making a build, some custom files that aren’t .lua, .xml or other well known files aren’t included in the build eventhough they’re added to the solution. Thus my app keep saying it can’t find the file. I looked at the property and the “Build Action” for these files is : “None” instead of “Content” and there isn’t a way to change this from the property panel.
How can I add custom files to my build as I do have some of them (with my own format)?
- Fonts performance is really bad and by bad I mean updating a text every frame will cause the app to a grinding halt. I know that you suggest using bitmap font but my game use plenty of text and it seems the porting tasks are daunting. It seems though the performance hit only happened significantly when you keep on updating the text so I might want to experiment on this. Any help/tricks to get the best performance is very much welcomed.
I can’t really tell how bad the fps dip is cause comes the 3rd problem below
- How do I tell my real fps or set my fps (config.lua still working?)? I tried to calculate my own by using the delta time for each enterframe like I always used to. Using either : system.getTimer() or event.time but I get a wild result which doesn’t really say much and very different from the FPS counter from the debugger.
This might be a warning to cause I use system.getTimer to track/perform some tasks in my game and if it isn’t dependable then I need a new method to track time.
Thanks guys,