Resources/Developer Info & Forums/Developing for Original Sifteo Cubes

Colors and Texts

Wilton Burke
posted this on October 07, 2011 08:03 am

Here is a color palette display and selection app so that you can see what a color looks like on the cube and get its exact RGB color value. It also includes a start to a text class which allows you to print A-Z and 0-9 in any color anywhere on the screen.

One cube shows the selected color. Shake this cube if you want to see a random color.

One cube shows the full color palette

One cube shows the RGB value and is used to change the selected color by adding it to the side of the color palette cube.

 

Comments

User photo
Wilton Burke

Here is a compiled version if anyone wants to just run it and see. Unzip the file in what ever directory you usually point to in siftdev when you load apps.

October 08, 2011 11:47 am
User photo
Ben Hendel-Doying

I'd like to copy/paste the relevant code for drawing text to the Sifteo wiki someone started at http://wiki.sifteocentral.com - would that be OK with you?

October 22, 2011 03:23 pm
User photo
Wilton Burke

Yeah, That would be fine.

October 22, 2011 04:24 pm
User photo
Mathieu Comeau

I'm having problems getting this app to appear in SiftDev. I went Developers > Load Apps, found the folder for this project where manifest.json is, and loaded it, but it's not appearing in my menu. Do you have any suggestions/am I doing something wrong?

November 13, 2011 08:57 am
User photo
Wilton Burke

That sounds like the right steps to me. Make sure you run the executable and let the debug window sit in the background when you launch the app.  The app art work looks like 3 cubes on a table with the lower right cube showing a red background.

Of course if all else fails I loaded the .cs file on first. you could just compile it in a new project. What OS are you using?

November 13, 2011 10:24 am
User photo
Mathieu Comeau

I'm using Windows, and I solved the problem by reloading the "My Games" page on SiftDev. Thanks though!

November 13, 2011 11:07 am