niteshmourya / app-inventor-for-android

Automatically exported from code.google.com/p/app-inventor-for-android
Apache License 2.0
1 stars 0 forks source link

drag or drive a sprite beyond the canvas parimeter #2102

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
i would like to be able to place a sprite either by dragging or by entering its 
coordinate beyond the edges of a canvas.  currently the entire sprite in 
confined to the parimeter of a canvas. my example would be have a canvas that 
is fill parent width and hieght and have a sprite drift in to view from off 
screen. aswell as the oposite of drifting or dragged off the screen.  this 
feature is similar to a gallery side scroll type function.  
without this feature, what is the point of the function "moveintobounds"?? the 
only time a sprite can apear to be overlapping the edge of a canvas is if in 
the viewer, it is place there and the app in firt initialized.  if you then try 
to drag the sprite or .moveto, the sprite snaps to completely enscribed within 
the canvas edges.  this almost seems like a bug but i for now will consider it 
a feature.  i recognize the value of containing the sprites within the canvas 
but i, and many others, could benifit from the added functionality of the 
animation components like the ball and the sprite.  

please consider this feature!?!

thanks
sirefoss

Original issue reported on code.google.com by ryan.t.f...@gmail.com on 6 May 2012 at 6:04

GoogleCodeExporter commented 9 years ago

Original comment by yonglinw...@gmail.com on 4 Jul 2012 at 2:06

GoogleCodeExporter commented 9 years ago
i encountered this problem also. this seems quite troublesome when creating 
apps or games that requires a moving background image, i.e. game map etc. an 
image sprite will probably act as the movable background and fill the entire 
canvas. however it is not allowed to move beyond the border, and people are 
trying nasty things such as cropping the image into small parts and display the 
partial image with a grid of sprites.

i think this feature will be beneficial to quite a lot of people.

Original comment by llh...@gmail.com on 3 Nov 2013 at 6:04