android
  #1  
Old 03-11-2010, 12:56 PM
Habhome's Avatar
Habhome Habhome is offline
Moderator
 
Join Date: Jan 2010
Location: Sweden
Posts: 1,079
Default 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)
__________________
"If you are good enough at English to apologize, then there is no need to." - A good friend of mine
Discovered something about the X-Fi2 you think others may not know? Post it here so others can learn about it!
Have a question about X-Fi2 apps? Consult the FAQ before creating a thread about it.
Like my work? Tell your friends. Don't like it? Tell me so I can improve. ^.^

Last edited by Habhome; 08-09-2010 at 06:44 AM. Reason: List update
Reply With Quote

Advertisement [Remove Advertisement]

  #2  
Old 03-11-2010, 01:22 PM
ZaPx64's Avatar
ZaPx64 ZaPx64 is offline
Member
 
Join Date: Nov 2009
Location: Germany
Posts: 136
Default

- 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
__________________
Zen X-Fi2 Apps: Notee-fi (notepad) | TicTacToe | Mahjongg
http://www.starfare.eu/ - a free real-time strategy game.
Reply With Quote

  #3  
Old 03-11-2010, 01:26 PM
ultrauber's Avatar
ultrauber ultrauber is offline
Senior Member
 
Join Date: Jun 2009
Posts: 516
Default

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.
__________________
Cowon S9 32GB > HiFiMan RE0 (RIP) | Sansa Clip+ 16GB (Rockbox) > Soundmagic PL20
If you have problems, try MSC mode, then google.com
Reply With Quote

  #4  
Old 03-11-2010, 01:56 PM
Habhome's Avatar
Habhome Habhome is offline
Moderator
 
Join Date: Jan 2010
Location: Sweden
Posts: 1,079
Default

Quote:
Originally Posted by ZaPx64 View Post
- 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 View Post
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.
__________________
"If you are good enough at English to apologize, then there is no need to." - A good friend of mine
Discovered something about the X-Fi2 you think others may not know? Post it here so others can learn about it!
Have a question about X-Fi2 apps? Consult the FAQ before creating a thread about it.
Like my work? Tell your friends. Don't like it? Tell me so I can improve. ^.^
Reply With Quote

  #5  
Old 03-11-2010, 06:15 PM
Tetrajak Tetrajak is offline
Member
 
Join Date: Feb 2010
Location: Oceania
Posts: 124
Default

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.

Last edited by Tetrajak; 03-11-2010 at 10:54 PM.
Reply With Quote

  #6  
Old 03-11-2010, 07:12 PM
delirius delirius is offline
Member
 
Join Date: Feb 2010
Posts: 131
Default

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{})
Reply With Quote

  #7  
Old 03-12-2010, 02:12 PM
ThievingSix ThievingSix is offline
Member
 
Join Date: Aug 2008
Posts: 218
Default

-Image creation from screen(eg screen shot)
-Image.Save()
-More memory available for the lua stack
-control.read(1,<ms until timeout>)
__________________
Only ONE more functions in the Wiki need addressing!
Zen X-Fi2 LUA Wiki
Want to protect your applications? Click Here!
Tower Defense Thread
Zen Lock - Protect Your Zen!
Reply With Quote

  #8  
Old 03-12-2010, 02:41 PM
cilmaviel cilmaviel is offline
Junior Member
 
Join Date: Jan 2010
Posts: 61
Default

-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.
Reply With Quote

  #9  
Old 03-12-2010, 02:54 PM
ThievingSix ThievingSix is offline
Member
 
Join Date: Aug 2008
Posts: 218
Default

Quote:
Originally Posted by cilmaviel View Post

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
__________________
Only ONE more functions in the Wiki need addressing!
Zen X-Fi2 LUA Wiki
Want to protect your applications? Click Here!
Tower Defense Thread
Zen Lock - Protect Your Zen!
Reply With Quote

  #10  
Old 03-12-2010, 04:40 PM
bzdbbb's Avatar
bzdbbb bzdbbb is offline
X-Fi2 Development Moderator
 
Join Date: Dec 2009
Location: Gloucestershire, UK
Posts: 94
Default

os.clock to work
Reply With Quote

  #11  
Old 03-12-2010, 04:48 PM
ThievingSix ThievingSix is offline
Member
 
Join Date: Aug 2008
Posts: 218
Default

os.clock works, just not the way we want it.
__________________
Only ONE more functions in the Wiki need addressing!
Zen X-Fi2 LUA Wiki
Want to protect your applications? Click Here!
Tower Defense Thread
Zen Lock - Protect Your Zen!
Reply With Quote

  #12  
Old 03-13-2010, 07:34 AM
Habhome's Avatar
Habhome Habhome is offline
Moderator
 
Join Date: Jan 2010
Location: Sweden
Posts: 1,079
Default

Quote:
Originally Posted by ThievingSix View Post
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?
__________________
"If you are good enough at English to apologize, then there is no need to." - A good friend of mine
Discovered something about the X-Fi2 you think others may not know? Post it here so others can learn about it!
Have a question about X-Fi2 apps? Consult the FAQ before creating a thread about it.
Like my work? Tell your friends. Don't like it? Tell me so I can improve. ^.^
Reply With Quote

  #13  
Old 03-13-2010, 11:39 AM
bzdbbb's Avatar
bzdbbb bzdbbb is offline
X-Fi2 Development Moderator
 
Join Date: Dec 2009
Location: Gloucestershire, UK
Posts: 94
Default

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.
Reply With Quote

  #14  
Old 03-13-2010, 02:40 PM
ThievingSix ThievingSix is offline
Member
 
Join Date: Aug 2008
Posts: 218
Default

It gives the time the os has been running, not our application scripts. I think, I haven't used it in a while.
__________________
Only ONE more functions in the Wiki need addressing!
Zen X-Fi2 LUA Wiki
Want to protect your applications? Click Here!
Tower Defense Thread
Zen Lock - Protect Your Zen!
Reply With Quote

  #15  
Old 03-13-2010, 04:28 PM
bzdbbb's Avatar
bzdbbb bzdbbb is offline
X-Fi2 Development Moderator
 
Join Date: Dec 2009
Location: Gloucestershire, UK
Posts: 94
Default

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

  #16  
Old 03-14-2010, 08:15 PM
Tetrajak Tetrajak is offline
Member
 
Join Date: Feb 2010
Location: Oceania
Posts: 124
Default

Quote:
Originally Posted by bzdbbb View Post
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.
Reply With Quote

  #17  
Old 03-15-2010, 06:45 AM
delirius delirius is offline
Member
 
Join Date: Feb 2010
Posts: 131
Default

Quote:
Originally Posted by Tetrajak View Post
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.
Reply With Quote

  #18  
Old 03-24-2010, 12:34 PM
Habhome's Avatar
Habhome Habhome is offline
Moderator
 
Join Date: Jan 2010
Location: Sweden
Posts: 1,079
Default

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.
__________________
"If you are good enough at English to apologize, then there is no need to." - A good friend of mine
Discovered something about the X-Fi2 you think others may not know? Post it here so others can learn about it!
Have a question about X-Fi2 apps? Consult the FAQ before creating a thread about it.
Like my work? Tell your friends. Don't like it? Tell me so I can improve. ^.^
Reply With Quote

  #19  
Old 04-30-2010, 02:06 AM
llaurrentt llaurrentt is offline
Junior Member
 
Join Date: Apr 2010
Posts: 1
Default

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

  #20  
Old 08-09-2010, 06:15 AM
gadon's Avatar
gadon gadon is offline
Junior Member
 
Join Date: Jul 2010
Location: Oz (down under)
Posts: 6
Default

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
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 09:50 AM.