Omnimaga

Calculator Community => Casio Calculators => Topic started by: sjasogun1 on October 06, 2011, 08:02:14 am

Title: Casio SDK
Post by: sjasogun1 on October 06, 2011, 08:02:14 am
I’ve started programming with the Casio SDK but I’m currently stuck at trying to draw sprites. If I assign the hex values to an array and display it using Print((unsigned char*)sprite1) it displays the character codes that are bound to the hex values instead. I know it is possible to do this via this method because of a screenshot of the Pixel Studio program, showing hex codes being assigned to an array. It’s the code that wasn’t on the screenshot I need.

Also, I know I can use fx-revolution 1.0 for this but I want to know how to do it like this as well.
Title: Re: Casio SDK
Post by: m1ac4 on October 06, 2011, 10:02:06 am
There may be a printSprite( sort of command in the SDK somewhere.
Title: Re: Casio SDK
Post by: Eiyeron on October 06, 2011, 11:25:44 am
I sugger you tu use MonochromeLib, who is made to be an excellent graphism library.
Here: http://www.planet-casio.com/Fr/logiciels/voir_un_logiciel_casio.php?logiciel=SDK_G85_-_MonochromeLib_&showid=86 (http://www.planet-casio.com/Fr/logiciels/voir_un_logiciel_casio.php?logiciel=SDK_G85_-_MonochromeLib_&showid=86)
THe page is in french, but the library is in english, just download the archive.
Or, if you absolutly want to use Casio's function (Oh God,they are SLOOW), you can use Bdisp_WriteGraph_DD/ Bdisp_WriteGraph_VRAM/ Bdisp_WriteGraph_DDVRAM functions, if you want.
You should read the function's doc, it's short, but always useful.
See ya, and Good Luck! :p