abi>>forums

abi>>forums (http://www.anythingbutipod.com/forum/index.php)
-   Zen X-Fi2 Applications & Development (http://www.anythingbutipod.com/forum/forumdisplay.php?f=221)
-   -   Developer Wish List (http://www.anythingbutipod.com/forum/showthread.php?t=53316)

Habhome 03-11-2010 12:56 PM

Developer Wish List
 
In this thread I am going to compile a list of what features we as developers would like if Creative gave us access to, so we can create even more awesome apps. Feel free to post here with additions to the list.
Making this list may aid us to actually make this happen.
As I myself am not sure of what would be wanted (I am just a beginner after all) I hope some of you others have it more clear.
Also if somebody have suggestions for how to improve this list in other ways than adding to it, feel free to share your ideas.

The list:
(All entries are linked to the original post suggesting them)

ZaPx64 03-11-2010 01:22 PM

- Image rotation & alpha altering
- io.lines fix -> read each line, including the last one
- screen.drawline fix -> make last parameter work
- file io: read directories

I think there is a lot more to change that I don't remember now ;)

ultrauber 03-11-2010 01:26 PM

How did this get stickied so fast? Oh you're a mod, I see. I don't own the xfi but from what I've heard it seems like there's certain lua libraries everyone wants imported, like some 3d engine thing. I think it might be a good idea for them to support sound files for apps in formats other than 1411 wav-pcm, because if someone wanted to have a big selection of background music for a game or something, they could use smaller files and eliminate the requirement of having a 500mb app.

Habhome 03-11-2010 01:56 PM

Quote:

Originally Posted by ZaPx64 (Post 450125)
- Image rotation & alpha altering
- io.lines fix -> read each line, including the last one
- screen.drawline fix -> make last parameter work
- file io: read directories

I think there is a lot more to change that I don't remember now ;)

Adding these to the list. If you remember any more, don't hesitate to post them here.

Quote:

Originally Posted by ultrauber (Post 450126)
How did this get stickied so fast? Oh you're a mod, I see. I don't own the xfi but from what I've heard it seems like there's certain lua libraries everyone wants imported, like some 3d engine thing. I think it might be a good idea for them to support sound files for apps in formats other than 1411 wav-pcm, because if someone wanted to have a big selection of background music for a game or something, they could use smaller files and eliminate the requirement of having a 500mb app.

Yes, it's because I'm a mod =P I'll add the sound support thing, but for the 3D engine there need to be more specific information I believe.

Tetrajak 03-11-2010 06:15 PM

The addition of the C and Auxillary libraries in their entirety.
The addition of the Lua-GD library.
Oh, and a fix for the drawpixel x,y < 0 crash error.

delirius 03-11-2010 07:12 PM

I would like to see at least some of these features implemented.

Messages about change of state:
- control.isGoingToSleep()
- control.isShutingDown()
or at least do not allow player to freeze while left unatended for some time.


More control over screenbuffer
- screen.getPixel(x, y)

Ability to make images on runtime
- image.create(width, height, data{})

ThievingSix 03-12-2010 02:12 PM

-Image creation from screen(eg screen shot)
-Image.Save()
-More memory available for the lua stack
-control.read(1,<ms until timeout>)

cilmaviel 03-12-2010 02:41 PM

-support for either animated gif or animated png would be useful.

i have been testing some things with screen.update() and if you only display or update the screen once every 33ms (30 fps) then you can get huge performance increases, so...
-screen.update() automatically check to see if a frame has been displayed in the last 33ms before trying to display a new one.

ThievingSix 03-12-2010 02:54 PM

Quote:

Originally Posted by cilmaviel (Post 450472)

i have been testing some things with screen.update() and if you only display or update the screen once every 33ms (30 fps) then you can get huge performance increases, so...
-screen.update() automatically check to see if a frame has been displayed in the last 33ms before trying to display a new one.

Ha! You caught that too. If we had ms timing we could emulate that easily ourselves.

Actually something to add to the list:

-Millisecond standard timing

bzdbbb 03-12-2010 04:40 PM

os.clock to work :)

ThievingSix 03-12-2010 04:48 PM

os.clock works, just not the way we want it.

Habhome 03-13-2010 07:34 AM

Quote:

Originally Posted by ThievingSix (Post 450525)
os.clock works, just not the way we want it.

So we would like it to work differently? Could you specify how it should be changed so I can add it to the list?

bzdbbb 03-13-2010 11:39 AM

os.clock doesn't work _ it always gives the same value on the player, even though it works on the sim. What it should do is give the amount of time the app has been running in milliseconds.

ThievingSix 03-13-2010 02:40 PM

It gives the time the os has been running, not our application scripts. I think, I haven't used it in a while.

bzdbbb 03-13-2010 04:28 PM

It would also be nice, but not essential, to add the +=, -=, *= etc operators, they can save so much time :P

Tetrajak 03-14-2010 08:15 PM

Quote:

Originally Posted by bzdbbb (Post 450821)
It would also be nice, but not essential, to add the +=, -=, *= etc operators, they can save so much time :P

They weren't implemented in Lua itself. There's an explanation as to why this is on the main Lua site.

EDIT: It'd be good if the image.draw(x,y,srcx,srcy,srcwidth,srcheight) worked on orientations other than the default 0 (landscape). The function doesn't use the source x,y position from which the image is supposed to draw and instead uses 0,0 within the image. So if you wanted to draw a part of an image in portrait view it will always give you a piece from the top left corner of size srcwidth, swrcheight instead of from the position within the image of srcx,srcy.

delirius 03-15-2010 06:45 AM

Quote:

Originally Posted by Tetrajak (Post 451206)
They weren't implemented in Lua itself. There's an explanation as to why this is on the main Lua site.

EDIT: It'd be good if the image.draw(x,y,srcx,srcy,srcwidth,srcheight) worked on orientations other than the default 0 (landscape). The function doesn't use the source x,y position from which the image is supposed to draw and instead uses 0,0 within the image. So if you wanted to draw a part of an image in portrait view it will always give you a piece from the top left corner of size srcwidth, swrcheight instead of from the position within the image of srcx,srcy.

Code:

-------------------------[drawing one tile]------------------------
-- standart creative image:draw is weird:
-- (against their own specification in pdf)
-- image:draw(x,y,imx,imy,imw,imh)
-- it works this way:
-- x, y = offset of image on screen (where would be left upper corner of full image positioned on screen)
-- imx, imy = screen coordinates of upper left corner of scissor rectangle
-- imw, imh = width and height of scissor rectangle

-- (i fixed this is by their specifications)
-- my function is different:
-- x,y are coords of image part on screen
-- imx, imy are coords of upper left corner of part in image coord system
-- imw, imh are width and height of part cut from image

function drawtile(image,x,y,imx,imy,imw,imh)
  image:draw(x-imx,y-imy,x,y,imw,imh)
end

So what i want is, Creative to fix either specs or function.

Habhome 03-24-2010 12:34 PM

So, a new firmware is out. If any of you guys notice that any of the things on our list have been added please inform about it here so I can scratch it from the list.

llaurrentt 04-30-2010 02:06 AM

What about unicode support ???
The device itself is capable since it does displaying ID3 tags!

gadon 08-09-2010 06:15 AM

1) Access to the battery status, so we can display battery info

2) Ability to run apps in background so users can go back and change music, then come back to the running app exactly where they left it

3) Different fonts - ability to load fonts

4) Screen lock functionality like the player's auto lock


All times are GMT -5. The time now is 05:55 PM.