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

by BlindMan Sat Jul 06, 2019 8:39 am

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: 30
Joined: Sat Mar 24, 2018 1:33 pm

Re: Gliding ball Android app

by munfraid Sun Jul 07, 2019 11:14 am

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.
Return to Coding Questions

Who is online

Users browsing this forum: No registered users and 7 guests