Fary Posted October 6, 2016 Share Posted October 6, 2016 I am looking to make a simple loading screen with background image for my project . Would you please help me. where to start? which file needs to be modified? I couldn't find any reference... Thank you... Quote Link to comment Share on other sites More sharing options...
Fary Posted October 8, 2016 Author Share Posted October 8, 2016 Hello everyone... No one willing to help...? Or you guys just help the people you already know. I am new here. At least say something that next time I don't post any topic. my question maybe looks stupid, but here is only place I can ask my question. Quote Link to comment Share on other sites More sharing options...
Rick Posted October 8, 2016 Share Posted October 8, 2016 In, main.lua after the world is created and before the map is loaded draw your background image to screen. -- world creation here context:DrawImage(loadingImg, 0, 0) context:Sync(false) -- map loading here I think that's the basic idea behind it. 1 Quote Link to comment Share on other sites More sharing options...
macklebee Posted October 8, 2016 Share Posted October 8, 2016 Look at the API reference for Context. Context:DrawImage() will draw an image on the screen. Suggest going through the API Reference and the tutorials. 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...
Fary Posted October 8, 2016 Author Share Posted October 8, 2016 Thanks you very much Rick ... I did not know about Main.lua. In other topic people talked about App.lua I have never found it. Quote Link to comment Share on other sites More sharing options...
Rick Posted October 9, 2016 Share Posted October 9, 2016 App.lua was the older way Josh did things. He changed to Main.lua but I'm sure the documentation wasn't fully updated everywhere. 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.