The Apple pencil stylus
Posted: Wed Oct 03, 2018 9:33 am
Recently, ELectronic Arts decided to discontinue their current "Risk" game at the introduction of iOS 12, and bring out a new version of it under another name and price. As i don't want to pay twice for the same game, i decided to "freeze" my iPad air to iOS 11 to keep "Risk" (and the current version of SmartBasic for that matter) and purchased a new iPad "2018" which will be kept up to date.
Like the "pro" versions of the iPad, the new iPad 2018 supports the Apple pencil and i wanted to try it.
I am now busy to make my own version of Risk in SB.
I started with copying the "world" from the iPad screen using a sheet of transparantpaper, made a small program to pick up touches of the Apple pencil and file the pixel coordinates.
With the pencil, it took me about 5 minutes to record the 172 nodal point.
The sheet of transparant paper :
After jotting down the nodal point numbers of each of the 42 countries, the map was easily programmed, using the "poly draw" and "poly fill" instructions.
Selecting of countries during the game is done by little buttons (which will also be used to show the strength data of the country). The locations of these buttons were also picked up with use of the pencil in an "eyewink".
The current status :
Just to show a nice application of this stylus. It produces high precision relative to the other cheap) stylusses.
Like the "pro" versions of the iPad, the new iPad 2018 supports the Apple pencil and i wanted to try it.
I am now busy to make my own version of Risk in SB.
I started with copying the "world" from the iPad screen using a sheet of transparantpaper, made a small program to pick up touches of the Apple pencil and file the pixel coordinates.
With the pencil, it took me about 5 minutes to record the 172 nodal point.
The sheet of transparant paper :
After jotting down the nodal point numbers of each of the 42 countries, the map was easily programmed, using the "poly draw" and "poly fill" instructions.
Selecting of countries during the game is done by little buttons (which will also be used to show the strength data of the country). The locations of these buttons were also picked up with use of the pencil in an "eyewink".
The current status :
Just to show a nice application of this stylus. It produces high precision relative to the other cheap) stylusses.