Gliding ball Android app

Just starting out? Need help? Post your questions and find answers here.
BlindMan
Posts: 1
Joined: Sat Jul 06, 2019 8:29 am

Gliding ball Android app

Post by BlindMan »

Hi

I'm looking for some assistance with my first Android app.

To get my app started.

App needs to display, top left side of screen, a yellow circle, with a diameter 10% of screen width.

When circle is touched, it needs to glide to top right hand side of screen.

Example code on how best to do this greatly appreciated.
munfraid
Posts: 104
Joined: Sat Mar 24, 2018 1:33 pm

Re: Gliding ball Android app

Post by munfraid »

This is very basic stuff. Open a window, get it's dimension and place your object, the yellow circle. Finally check for touch/click event and change the position.

You will need commands like OpenWindow(), DesktopWidth(), CanvasGagdet() and BindEvent().

Everything is well documentated with lots of examples in the reference manual:
https://www.spiderbasic.com/documentation/

If you're stuck, post your code here, so I can see if I can help.
Post Reply