Hello AppGameKit Programmers,
Can anyone explain to me why any model is not loading in AppGameKit? I am pretty sure that it's my fault, maybe i am not importing it correctly. Same applies to TIER 2. The code for TIER 1:
// Project: modeltest
// Created: 2018-03-03
// show all errors
SetErrorMode(2)
// set window properties
SetWindowTitle( "modeltest" )
SetWindowSize( 1024, 768, 0 )
SetWindowAllowResize( 1 ) // allow the user to resize the window
// set display properties
SetVirtualResolution( 1024, 768 ) // doesn't have to match the window
SetOrientationAllowed( 1, 1, 1, 1 ) // allow both portrait and landscape on mobile devices
SetSyncRate( 30, 0 ) // 30fps instead of 60 to save battery
SetScissor( 0,0,0,0 ) // use the maximum available screen space, no black borders
UseNewDefaultFonts( 1 ) // since version 2.0.22 we can use nicer default fonts
SetClearColor(55, 55, 55)
LoadObject(1, "TF341_03A.X")
do
if GetRawKeyState(32) = 1
MoveCameraLocalZ(1, -5)
endif
Print( ScreenFPS() )
Sync()
loop
The object is attached to this thread!
Thank you!
www.alexmatei.com