Character set and smart basic question

Post Reply
User avatar
Dav
Posts: 279
Joined: Tue Dec 30, 2014 5:12 pm
My devices: iPad Mini, iPod Touch.
Location: North Carolina, USA
Contact:

Character set and smart basic question

Post 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


Operator
Posts: 138
Joined: Mon May 06, 2013 5:52 am

Re: Character set and smart basic question

Post 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...

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: Character set and smart basic question

Post by Mr. Kibernetik »

iPad, iOS 5.1:
IMG_0500.jpg
IMG_0500.jpg (28.92 KiB) Viewed 1843 times
iPad Air 2, iOS 8.2:
IMG_0426.jpg
IMG_0426.jpg (30.76 KiB) Viewed 1843 times

Operator
Posts: 138
Joined: Mon May 06, 2013 5:52 am

Re: Character set and smart basic question

Post 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
Attachments
image.jpg
image.jpg (46.4 KiB) Viewed 1834 times

User avatar
Dav
Posts: 279
Joined: Tue Dec 30, 2014 5:12 pm
My devices: iPad Mini, iPod Touch.
Location: North Carolina, USA
Contact:

Re: Character set and smart basic question

Post 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

Post Reply