I used SetCameraOverride ( 3 ) in lua. A new one but seems to work nicely
Then I just programmed it all manually in lua. Actually just 2 scripts less than 100 lines between them
Edit Actually a lot less than that I have spaces lol.
Here's the scroll code.
-- LUA Script - precede every function and global member with lowercase name of script + '_main'
-- cam position
x=100
y=1000
z=46000
-- ship speed
speed=6
-- onscreen position
xoff=0
yoff=0
function balloonscroll_init(e)
end
function balloonscroll_main(e)
SetCameraOverride ( 3 )
x=x+speed
if g_KeyPressW==1 then
yoff=yoff+6
y=y+2
end
if g_KeyPressS==1 then
yoff=yoff-6
y=y-2
end
if g_KeyPressA==1 then
xoff=xoff-6
end
if g_KeyPressD==1 then
xoff=xoff+6
end
CollisionOff(e)
SetPosition(e,x+xoff,y+yoff,z)
SetCameraPosition(0,x,y+300,z-2500)
end
Here's the shooting code single shot only.
-- LUA Script - precede every function and global member with lowercase name of script + '_main'
function balloonshoot_init(e)
bx=0
by=0
bz=0
fired=0
bxoff=0
bxstart=0
end
function balloonshoot_main(e)
if g_KeyPressJ==1 and fired==0 then
bx=x
by=y
bz=z
fired=1
bxstart=bx
end
if fired==1 then
bx=x
by=y
bz=z
CollisionOff(e)
bxoff=bxoff+64
SetPosition(e,bx+xoff+bxoff,by+yoff,bz)
end
if bx>bxstart+320 and fired==1 then
bx=0
by=0
bz=0
bxoff=0
bxstart=0
fired=0
SetPosition(e,0,0,0)
end
Prompt("Test Side Scroller "..bx.." "..bxstart)
end
That's a start for peeps anyway
Just add the scroll to your ship and the fire script to your projectile.
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.