Author Topic: Exciting graphic objects on the HP-Prime  (Read 3156 times)

0 Members and 1 Guest are viewing this topic.

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Exciting graphic objects on the HP-Prime
« on: August 12, 2013, 08:03:03 pm »
Most graphic calculators have rectangular graphic items usable on their own interpreted programming language.

Those items are called Picture on TI-z80. The new TI-84 Plus C Silver Edition color calculator for back to school 2013 even adds a second specific graphic item, the Background type.

However those items often have some limitations with the official programming language:
  • their numbers is limited
  • they are bound by the screen size
  • they can not be created on-calc and thus need an ASM program or a specific software on a computer
  • if they can be created on-calc, the only way is to store the content of the screen (screenshot)
  • they can not be modified but only overwritten through the creation of a new object
  • it is not possible to show a part of those items
  • those items can only be displaying by starting at the top left of the screen
Of course, there are ASM programs going through these limitations. However, they often use for this purpose their own grapahic item format which is thus incompatible.



The official programming language of the HP-Prime supplies us with a lot of surprises about this, as it is possible to create graphic items with the content and dimensions you want, to display them wherever you want, and even to modify them like you want! ;D

Thus here we see two DJ_O and Gilles59's programs using the official programming language to test the scaling and scrolling of a graphic item:



It shows exceptional performances for an interpreted language, which are currently impossible to achieve on other calculator models without ASM.

Even if those performances may not be enough for games which massively redraw the whole screen (for instance, action games with scrolling, or even 3D FPS games), it remains a honorable performance. ;D



Source of the programs:
http://ourl.ca/19358/357590

Crossposted from:
http://tiplanet.org/forum/viewtopic.php?t=12830&lang=en
« Last Edit: August 13, 2013, 03:09:56 am by Art_of_camelot »
TI-Planet co-admin.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Exciting graphic objets on the HP-Prime
« Reply #1 on: August 12, 2013, 11:36:55 pm »
I really like the flexibility of this language. It's like if they decided to open a door to game dev, while still not having ASM support or maybe they thought about us BASIC coders. :P