createsprite3d( OVER 100000 !
Posted: Fri Aug 06, 2010 1:00 pm
Hi Pb-team,
I wish that I can use the following code:
But it says: "createsprite3d -> Error-> sprite3D NR too big (over 10000) , are you sure of that?"
why?!

it would make live a bit easier
Here is a big example code:
I wish that I can use the following code:
Code: Select all
sprite = createsprite( #pb_any , width, height , #pb_sprite_texture )
createsprite3d ( sprite, sprite)why?!
it would make live a bit easier
Here is a big example code:
Code: Select all
InitSprite()
InitKeyboard()
InitSprite3D()
OpenWindow( 0 , 10 , 10 , 1000 , 700 , "'Gemusoft Blending Test Software" ,#PB_Window_ScreenCentered)
OpenWindowedScreen( WindowID(0) , 0,0,WindowWidth(0),WindowHeight(0),0,0,0)
sprite = CreateSprite( #PB_Any , 64, 64 , #PB_Sprite_Texture )
CreateSprite3D ( sprite, sprite)
Repeat
ExamineKeyboard ()
FlipBuffers()
WindowEvent()
DisplaySprite3D(sprite , 0 , 0 )
Until KeyboardPushed( #PB_Key_Escape)