Search found 29 matches

by Ken
Sun Jun 21, 2020 11:17 pm
Forum: Other topics
Topic: Get touch n as x,y
Replies: 3
Views: 2794

Coordinates within the sprite

Hi again

SPRITE_HIT (N$, X,Y) detects if the touch from GET TOUCH N AS X,Y is on the sprite.
There seems to no GET command for the coordinates on the sprite so I guess I can use subtraction with GET SPRITE N$ POS X,Y. Or I could put a small identical coloured sprite beside the other one.
by Ken
Sun Jun 21, 2020 10:27 pm
Forum: Other topics
Topic: Get touch n as x,y
Replies: 3
Views: 2794

Re: Get touch n as x,y

Cheers, thanks
by Ken
Sun Jun 21, 2020 12:53 pm
Forum: Other topics
Topic: Get touch n as x,y
Replies: 3
Views: 2794

Get touch n as x,y

Does GET TOUCH N AS X,Y only work with screen coordinates? I was trying to get it to work with a sprites coordinates, in a SPRITE BEGIN, SPRITE END. GRAPHICS GRAPHICS CLEAR 1,1,1 N$="mysprite" SPRITE N$ BEGIN 200,100 GRAPHICS CLEAR 0,1,0 SPRITE END SPRITE "mysprite" AT 800,400 SPRITE "mysprite" SHOW...
by Ken
Wed Jun 03, 2020 9:30 am
Forum: Other topics
Topic: Files
Replies: 7
Views: 4555

Re: Files

I won’t pursue this any further as a way of sharing files, since Dropbox works so well. The iPad file system is actually called the “Files App”. There is an icon on the task bar to run it. Some apps set up there own folders there and some don‘t. For example Korg Gadget has set itself up there. I can...
by Ken
Mon Jun 01, 2020 10:25 pm
Forum: Other topics
Topic: Play Music continued...
Replies: 7
Views: 4718

M$ = tune.

I got these suggested lines to work.

M$ = "tune"

MUSIC m$ LOAD "Bass Drum 1.wav"
MUSIC m$ PLAY

But then I found all I needed was this

MUSIC 1 LOAD "Bass Drum 1.wav"
MUSIC 1 PLAY
by Ken
Mon Jun 01, 2020 10:01 pm
Forum: Other topics
Topic: Files
Replies: 7
Views: 4555

iPad file system

Yes the Dropbox works fine, once the one line program is run. I am still working on downloading wave files from the internet and moving them into the smart basic folders.

I am guessing the Smart Basic app can’t create folders in the iPad file system, like some of the other apps I use do?
by Ken
Mon Jun 01, 2020 6:59 am
Forum: Other topics
Topic: Files
Replies: 7
Views: 4555

Re: Files

I have found part of the answer. Dropbox is used to transfer files from other apps to Smart Basic.

I found the Answer in the forum, after searching for iPad file structure.
by Ken
Mon Jun 01, 2020 6:52 am
Forum: Other topics
Topic: Files
Replies: 7
Views: 4555

Partial answer to my own question

I found the answer to part of my question within the forum. To get the file (a wave file) Dropbox is used.
by Ken
Mon Jun 01, 2020 2:04 am
Forum: Other topics
Topic: Files
Replies: 7
Views: 4555

Files

This more of a question on using iPad with smart basic. I have a file I want to use in the iPad file system. How can I transfer it to a folder in Smart Basic? Some apps automatically create folders in the file system but Smart Basic doesn’t. Or if I try to share the file From the file system lots of...
by Ken
Fri Feb 22, 2019 11:58 pm
Forum: Other topics
Topic: Create a page
Replies: 24
Views: 14761

Re: Create a page

Thanks I like that. More compact but the same logic. I will use that for sure.

That's a swipe I guess.

I might now be able to work out how to program in long touch and short touch or tap.