Page 1 of 1

Character set and smart basic question

Posted: Thu Jun 25, 2015 8:03 pm
by Dav
I was exploring the many characters available on my iPad with smart basic CHR$() command, and notices some nice ones that would work well in games.

My question is, would that show up the same on any apple device? Or is it special to my iPad. For example, the following code shows some great graphics I could use in programs. Would those images display on any iPad?

- Dav

Code: Select all

Set output font size "56"

'show soccer ball
print chr$(9917);

'frosty snowman
print chr$(9924);

'big star
print chr$(11088)

'show chess pieces
for t = 9812 to 9823
   print chr$(t);
next t


Re: Character set and smart basic question

Posted: Fri Jun 26, 2015 4:40 am
by Operator
They show up on my iPad mini 1. generation.
Those char set are the emoji...
As far as tested, one can't increase "text size"
with those, but one could scan them and save
them as sprites...
I tried to use the "arrow" emoji on my game pad
snippet but got a micro offset at the same position between my iPhone4 and iPad mini...,
that's why the arrow pads are now made by
triangles...

Re: Character set and smart basic question

Posted: Fri Jun 26, 2015 5:01 am
by Mr. Kibernetik
iPad, iOS 5.1:
IMG_0500.jpg
IMG_0500.jpg (28.92 KiB) Viewed 1850 times
iPad Air 2, iOS 8.2:
IMG_0426.jpg
IMG_0426.jpg (30.76 KiB) Viewed 1850 times

Re: Character set and smart basic question

Posted: Fri Jun 26, 2015 3:42 pm
by Operator
'replace X with an emoji...
GRAPHICS
FOR i = 5 TO 100 STEP 10
DRAW FONT SIZE i
DRAW TEXT STR$(i)&": "&"X" AT 0,10+i*3.2
PAUSE 0.1
NEXT i

Re: Character set and smart basic question

Posted: Sat Jun 27, 2015 3:22 am
by Dav
Thank you for the replies. Wow, there are many useful characters available on iPad! I've only been use to 256 total under the PC.

- Dav