Just a little experiment in controlling the camera. No media needed. It won't run in FE, I guess because FE doesn't have DrawSprite(), Render() and GetImage()?
SetVirtualResolution(480, 480)
` draw some textures
sprite = CreateSprite(0)
SetSpriteSize(sprite, 46, 46)
for x = 0 to 9
for y = 0 to 9
SetSpritePosition(sprite, x * 48 + 1, y * 48 + 1)
DrawSprite(sprite)
render()
next y
next x
GetImage(1, 0, 0, 480, 480)
GetImage(2, 0, 0, 48, 48)
DeleteSprite(sprite)
` make the floor
CreateObjectBox(1, 50, 50, 50)
SetObjectPosition(1, 0, -25, 0)
SetObjectImage(1, 1, 0)
SetObjectColor(1, 200, 200, 255, 255)
` make the target
CreateObjectBox(2, 5, 5, 5)
SetObjectPosition(2, 0, 2.5, 0)
SetObjectImage(2, 2, 0)
SetObjectColor(2, 255, 10, 10, 155)
` set up camera
SetCameraPosition(1, 30, 20, -30)
` add some control buttons
AddVirtualButton(1, 90, 30, 50)
SetVirtualButtonText(1, "LEFT")
AddVirtualButton(2, 150, 30, 50)
SetVirtualButtonText(2, "UP")
AddVirtualButton(3, 210, 30, 50)
SetVirtualButtonText(3, "IN")
AddVirtualButton(4, 270, 30, 50)
SetVirtualButtonText(4, "OUT")
AddVirtualButton(5, 330, 30, 50)
SetVirtualButtonText(5, "DOWN")
AddVirtualButton(6, 390, 30, 50)
SetVirtualButtonText(6, "RIGHT")
do
if GetVirtualButtonState(1)
MoveCameraLocalX(1, -1)
endif
if GetVirtualButtonState(2)
MoveCameraLocalY(1, 1)
endif
if GetVirtualButtonState(3)
MoveCameraLocalZ(1, 1)
endif
if GetVirtualButtonState(4)
MoveCameraLocalZ(1, -1)
endif
if GetVirtualButtonState(5)
MoveCameraLocalY(1, -1)
endif
if GetVirtualButtonState(6)
MoveCameraLocalX(1, 1)
endif
SetCameraLookAt(1, 0, -0, 0, 0)
Sync()
loop
EDIT: LOL, I forgot I could just drop media into FE.
But it seems that FE doesn't have virtual buttons either.
On the other hand, FE
DOES make the target transparent, which AppGameKit does not do.
This link should work, in Chrome anyway.
Feh, now the sprite aren't showing up in FE.