Rick Posted January 2, 2012 Share Posted January 2, 2012 I'm going from scene to scene in my program and I notice while it's loading the other scene the old scene still sits on the screen. How would I black out the old scene on the screen while the new one is loading? I'm trying the below but doesn't seem to work. A pure black color would do. scene:Free() CameraClearColor(fw.main.camera, Vec4(0, 0, 0, 1)) scene = LoadScene("abstract::"..GetGlobalString("nextlevel")) Quote Link to comment Share on other sites More sharing options...
gamecreator Posted January 2, 2012 Share Posted January 2, 2012 There are better ways to do this but you could always move the camera somewhere far and point it at a black box that takes up the whole view. Quote Link to comment Share on other sites More sharing options...
LEFans Posted January 2, 2012 Share Posted January 2, 2012 SetColor(0,0,0,0) DrawRect() SetColor(1,1,1,1) or Fade in,Fade out Quote AMD3600+/2GB DDR3 SDRAM / GeForce 8600 GTS I3 530/2GB DDR3/GF GT240 DDR5 Link to comment Share on other sites More sharing options...
Road Kill Kenny Posted January 2, 2012 Share Posted January 2, 2012 A loading screen might work. Quote STS - Scarlet Thread Studios AKA: Engineer Ken Fact: Game Development is hard... very bloody hard.. If you are not prepared to accept that.. Please give up now! Link to comment Share on other sites More sharing options...
Naughty Alien Posted January 2, 2012 Share Posted January 2, 2012 Splash Screen Fade In-->Kick old data (level, characters, etc)-->Load / Setup New data (Level, character, etc)-->Fade Out Splash Screen --> Play game Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.