android
Prev Previous Post   Next Post Next
  #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

 

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:35 AM.