Multi touch? Turn label upside down?

177 views
Skip to first unread message

Barry Evans

unread,
Feb 18, 2016, 8:38:09 AM2/18/16
to MIT App Inventor Forum
Hi folks,

After building a simple 'Pong' app as part of my uni course, i decided to try adding a few features to improve it a little and so it stands out when compared to my classmates'. I wanted to make it a two player game (basically air hockey) with players holding opposite ends of the device. The first issue with this is that the player on the opposite end of the screen can only read the scores etc upside down. I'd like to set a label upside down at the other end that mimics the one player 1 would read. The other (and far more pressing issue) is that the device will only allow for one sprite (paddle) to be moved at any given time. I have no idea at this stage how to progress or if either of these things can be done. As always I would be grateful for any advice.

Many thanks

Barry

Scott Ferguson

unread,
Feb 18, 2016, 10:33:42 AM2/18/16
to MIT App Inventor Forum
See these discussions re. multitouch
See these discussions re upside down text
---

Barry Evans

unread,
Feb 18, 2016, 10:50:46 AM2/18/16
to MIT App Inventor Forum
That multitouch idea is very useful. I will go update myself on that now. The upside down text one wont fit for me as i need something that can update in real-time, ie the player's score, but I feel from reading the posts around those you linked that its unachievable. I will rethink this and try a new approach.

Thanks for your help.

Taifun

unread,
Feb 18, 2016, 11:02:16 AM2/18/16
to MIT App Inventor Forum
How to get multitouch working for seperate components in an App Inventor project by Gareth, see also this guide by Alexandru

concerning upside down text, what about using a canvas ant the DrawTextAtAngle block?

Taifun

Trying to push the limits of App Inventor! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun. 

Abraham Getzler

unread,
Feb 18, 2016, 11:42:47 AM2/18/16
to MIT App Inventor Forum
You could add a slider at each player's end to control his paddle location.

ABG

Barry Evans

unread,
Feb 19, 2016, 5:40:55 AM2/19/16
to MIT App Inventor Forum
Some really useful suggestions there folks. Thank you all very much. Trying a few of these ideas now and definitely feeling more confident I can get this app to where I want it to be. Appreciate the advice as always.
Reply all
Reply to author
Forward
0 new messages