the model is made in 3DCrafter 10
// Project: Interceptors
// Created: 2022-07-23
// show all errors
SetErrorMode(2)
Global GlobalHeight
GlobalHeight=GetMaxDeviceHeight ()
Global GlobalWidth
GlobalWidth=GetMaxDeviceWidth ()
// set window properties
SetWindowTitle( "Interceptors" )
SetWindowSize( GlobalWidth, GlobalHeight, 1 )
SetWindowAllowResize( 1 ) // allow the user to resize the window
// set display properties
SetVirtualResolution( GlobalWidth, GlobalHeight ) // doesn't have to match the window
SetOrientationAllowed( 1, 1, 1, 1 ) // allow both portrait and landscape on mobile devices
SetSyncRate( 60, 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
loadimage(100,"ufo1.png")
loadobject(2,"ufo.x")
setobjectposition(2,0,0,490)
loadimage (2,"plasma.png")
SetObjectLightMode( 2, 0 )
CreateObjectCylinder( 1,1000,100, 100)
setobjectimage(1,2,0)
SetObjectCullMode( 1, 0)
setobjectposition(1,0,0,0)
setcameraposition(1,0,0,500)
SetCameraLookAt( 1, 0, 0, 0, 0 )
RotateObjectLocalX( 1, 90 )
SetObjectImage( 2, 100,0 )
`SetObjectCullMode( 2, 0)
do
remstart
zxc#=zxc#+0.03
if zxc#>1.0 then zxc#=0.01
SetImageWrapU( 2, 1 )
SetImageWrapV( 2, 1 )
SetObjectImage( 1, 2, 0 )
SetObjectUVScale( 1, 0, 1, 1 )
SetObjectUVOffset(1,0,0,zxc#)
SetObjectImage( 2, 1,0 )
remend
ix= GetDeviceWidth()
iy= GetDeviceHeight()
print("X: "+str(ix))
print("Y: "+str(iy))
Print( ScreenFPS() )
Sync()
loop
The object has no map. the object was drawn without textures. what is most interesting in darkbasicpro everything works, but the app game kit does not want to texture.
and the app game kit is buggy.
this is what the model looks like in the editor.
where to send a bug report?
programming is a hobby, not a job.