![]() |
ZenFrame - An application framework for the Creative Zen Xfi2
ZenFrame is a framework that allows for cleaner, more organized, and faster application development.
Download/Documentation Download: https://bitbucket.org/jbob182/zenframeHow to use
|
This framework looks great. I love the screens, texture packs and all of this small useful functions. Maybe you could include templates for buttons, checkboxes, ... just a few ui elements in the next version. Maybe they can allow me to choose a image and then your franework handles the user input and drawing of my elements...
|
Version 1.1 released. This update includes a UI library, which will automatically manage buttons and other ui elements. See the wiki page for more documentation. If you wish to see a better example on how to use this framework, check out my Graphing Calculator , it uses the newest version of the framework.
|
It seems that the TexturePack parser is crashing, but only on the Zen. As of right now I have no idea why. It might be because of the file path that is used, but I am not sure. If anyone has any theories it would be greatly appreciated (I am running out of ideas).
|
Hmm I am not sure if this bug causes the crash on the zen but I downloaded your newest version and it crashed for me in Resources.lua in drawImageRegion
because imageArray[imageID][id] was nil. I fixed this problem for me with Code:
if (imageArray[imageID][id] ~= nil) thenCode:
Error:I will try to find now the source of this bug.. |
I fixed my problem. In TexturePack.lua you used an variable in parse() which is called "argument". The content of this variable starts with two spaces. So i just used a trim function:
Code:
function trim (s)Code:
local argument = trim(line:sub(0,line:find(':')-1)); |
Oh...... The version I uploaded that line was removed for testing purposes (I had it in there originally).
Also, to help avoid these upload issues and to make versions easier to manage, ZenFrame is now hosted on BitBucket through git, along with a wiki and an issue tracker which anyone can post on (https://bitbucket.org/jbob182/zenframe). Currently, I have bit bucket using the ZenFrame folder used by the simulator, so the correct version will always be uploaded (the current version has the trim line). Also, crashing has been fixed on the Zen, the atlas-image used was too big (Not sure why, it is not too big on the x axis nor the y axis, it could be a combination of both) |
| All times are GMT -5. The time now is 03:14 AM. |