First BMax B3dSDK app!
BlitzMax Forums/BlitzMax Programming/First BMax B3dSDK app!
| ||
Hi all, I am new to the B3DSDK. I coded a simple example but can't get it to work. Perhaps I am missing something? here is my code: Import blitz3d.blitz3dsdk bbBeginBlitz3D WaitKey() bbEndBlitz3D() cam = bbCreateCamera() bbPositionEntity(cam,0,0,0) plane = bbCreatePlane() While Not KeyDown(KEY_ESCAPE) bbUpdateWorld bbRenderWorld bbFlip Wend |
| ||
Hi I got it to work by adding the bbGraphics3D command, but now I have another question. Can the native KeyDown function be used, or do I need to use bbKeyHit()? |
| ||
bbKeyhit & bbKeyDown (controls, screen, mouse etc begin by bb) |
| ||
Hi... where can I a list of valid scan codes for use with B3DSDK. There is a link in the documentation to something called "bbKeyboardScancodes", but it directs me to the samples page. |
| ||
http://www.blitzforum.de/help/Scancodes bye |
| ||
Thanks, this will be quite useful! |