dennis Posted February 16, 2012 Share Posted February 16, 2012 Hello all, How can I load a image before I start a scene? already have this: img = LoadTexture("abstract::tbh.dds") DrawImage(img, 0, 0, 1440, 900) scene = LoadScene("abstract::bannedisland_1.2.sbx") Collisions(COLLISION_PROP,COLLISION_SCENE,1) can I do this before: While Key(KEY_ESCAPE) ==0 do end or do I need to do it within the while... ? cheers! Quote Link to comment Share on other sites More sharing options...
Clackdor Posted February 16, 2012 Share Posted February 16, 2012 After DrawImage, Flip(). I also do Update and Render Framework, but I don't know if that is necessary. I have an intro function that is called 5 times in the game loading before the main loop. It draws a background, some icons and my progress bar, along with Flip, Update and Render framework. Each of the 5 calls updates the loading progress bar. Quote Link to comment Share on other sites More sharing options...
dennis Posted February 16, 2012 Author Share Posted February 16, 2012 After DrawImage, Flip(). I also do Update and Render Framework, but I don't know if that is necessary. I have an intro function that is called 5 times in the game loading before the main loop. It draws a background, some icons and my progress bar, along with Flip, Update and Render framework. Each of the 5 calls updates the loading progress bar. thanks it loads the image now, but won't show it, why? I used: SetBlend(1) img = LoadTexture("abstract::tbh.dds") DrawImage(img,0,0,800,600) SetBlend(0) Flip(0) And img = LoadTexture("abstract::tbh.dds") DrawImage(img,0,0,800,600) Flip(0) How can I show up my image? at least the background is changed colors from gray to black Quote Link to comment Share on other sites More sharing options...
macklebee Posted February 16, 2012 Share Posted February 16, 2012 like clackdor mentioned, use the framework render as well... fw:Render() SetBlend(1) img = LoadTexture("abstract::tbh.dds") DrawImage(img,0,0,800,600) SetBlend(0) Flip(0) 1 Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Mumbles Posted February 16, 2012 Share Posted February 16, 2012 In the DrawImage command, change 600 to -600 maybe. I remember you had to do that for nvidia cards, but no idea if that's still the case... 1 Quote LE Version: 2.50 (Eventually) Link to comment Share on other sites More sharing options...
dennis Posted February 16, 2012 Author Share Posted February 16, 2012 like clackdor mentioned, use the framework render as well... fw:Render() SetBlend(1) img = LoadTexture("abstract::tbh.dds") DrawImage(img,0,0,800,600) SetBlend(0) Flip(0) Did anyone ever mentioned you that you are amazing!? Quote Link to comment Share on other sites More sharing options...
macklebee Posted February 16, 2012 Share Posted February 16, 2012 yes MG says that all the time to me... but its usually followed by terms like 'bollocks' or 'arse****' lol 1 Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Marleys Ghost Posted February 16, 2012 Share Posted February 16, 2012 mack? amazing? well I am sure some probably think that, but they are soon apprehended and returned to thier rubber rooms and cocktails of strong prescription drugs ... Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
dennis Posted February 16, 2012 Author Share Posted February 16, 2012 whaha lol, are you jealous marley ? Quote Link to comment Share on other sites More sharing options...
Marleys Ghost Posted February 16, 2012 Share Posted February 16, 2012 whaha lol, are you jealous marley ? of people in rubber rooms beng force fed copious amounts of industrial strength prescription pharmaceuticals? .... maybe just a lil bit .. Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
macklebee Posted February 16, 2012 Share Posted February 16, 2012 Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
dennis Posted February 17, 2012 Author Share Posted February 17, 2012 whaha! you are a good person too marley it's just I like these forums 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.