Skip to first unread message

Scott Ferguson

unread,
Oct 4, 2015, 8:27:02 AM10/4/15
to MIT App Inventor Forum
AI 2.6a, Windows 10, Companion 2.35

Issue:
When dragging the Canvas up and down using the following blocks, there is no movement of the sprite where movement is expected.
Dragging left and right, however, moves the sprite up and down.
So the Canvas Dragged CurrentY appears to be broken or using the code for CurrentX?
Canvas Dragged CurrentX seems to work as expected.

Also, very strange behavior in that when I set the block to CurrentY, save the project, close the session, then open the session again, the block now shows CurrentX!





See attached test project.



---
sf

BrokenCanvasCurrentY.aia

Ghica

unread,
Oct 4, 2015, 12:12:44 PM10/4/15
to MIT App Inventor Forum
This is indeed very weird. I verified using your .aia. Must be a bug in the new release.
Cheers, Ghica.

Italo

unread,
Oct 4, 2015, 12:36:38 PM10/4/15
to MIT App Inventor Forum
Looks like it's fixed right now.

Scott Ferguson

unread,
Oct 4, 2015, 4:09:18 PM10/4/15
to mitappinv...@googlegroups.com
@Italo-
I just tested it again and it still does not work correctly for me.
It does not matter if I put CurrentX or CurrentY they both act as if finger dragging in the X direction results in the Cat moving up and down.
In both cases, dragging your finger up and down has no effect.
---
sf

Ghica

unread,
Oct 4, 2015, 4:54:03 PM10/4/15
to MIT App Inventor Forum
For me it is still wrong too. (Windows 10, FF)
Easy way to show it: duplicate the setCat Y ... The duplicated block will have a red triangle for get currentY which says: Select a valid item in the drop down.
Cheers, Ghica.

Italo

unread,
Oct 4, 2015, 5:00:44 PM10/4/15
to MIT App Inventor Forum
It was wrong for me too, but suddenly it started working right, so that's why I thought it got fixed. 
I'm trying my app right now and the sprite moves right, either using sprite dragged or canvas dragged blocks.
Message has been deleted

Ghica

unread,
Oct 5, 2015, 3:10:22 AM10/5/15
to MIT App Inventor Forum
I just tried the companion. Cheers, Ghica
Reply all
Reply to author
Forward
0 new messages