A design flaw - update the SkyBox() please!

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
KatSeiko
New User
New User
Posts: 7
Joined: Thu Sep 25, 2008 12:47 am
Location: Between keyboard and chair

A design flaw - update the SkyBox() please!

Post by KatSeiko »

How comes that I cannot load the images for the sky box from images stored in a data section? Or change the images while the program is running, for example to have something like the sun wandering over the sky...

Up to now, I can only load the image files from a file, and I can't even decide what names these should have.

What do you think - how about renaming the current SkyBox() to EasySkyBox()? Add something I can work with! A SkyBox() procedure that asks for six Sprite numbers as parameters (Left, Right, Front, Back, Top, Bottom), and a procedure that allows me to update my skybox - i.e.
UpdateSkyBox(MyImage, #PB_SkyBox_Top)

What do you say? It has to be possible...