Discussions for Scenes for Version 1.2.X Fullscreen Mode here
Alles über iStripper
17. December 2016, 5088 antworten
Thanks for that Wyld :)
On my 1920 x 1080 screen I've found that shifting the background sprite to -150 works best if you don't want the animation of the camera. The whole tree is still visible and also the whole window frame. For different screen ratios (mine's 16:9) you will have to play around a little to make it all fit in. Again, for newbies, here's the edited code:
camera {
type: 2D
pos: 960, 540
size: 1920, 1080
//------------------------------ main scene
sprite {
size: 2200, 1080
pos: -150, 0 //Changed X value to -150
source: colorClip,0 // clip, full size
source: fbo2,1 // blurred light mask
source: fboNormalBackground,2 // background
shader: combine_light.fsh
blend: false
}
//------------------------------ model reflect
clipSprite {
pos: -50, 500 //Changed X value to -50. (As WA stated, must be X plus 100 of the sprite value)
standingHeight: 900
rot: 180, 0, 0
scale: 1.0, 0.9, 1.0
source: ClipBm
opacity: 0.3075
}