clark Posted October 20, 2012 Author Share Posted October 20, 2012 Hey guys ,**Engine using :** Eclipse Advanced (latest)**Dx :** 8I would like to know how to make theses things (If you know the exact code tell me please):- Make an intro (show 2 pictures of the size of the game screen) before showing the main menu- Show Picture when changing maps ? (a sort of World of warcraft when you take a teleporter it show you a picture the time that the maps load ^^**Thanks in Advance** Link to comment Share on other sites More sharing options...
Guest Posted October 20, 2012 Share Posted October 20, 2012 For the intro:Make a shader who's opacity is based off a shader opacity value and a logo and render them if the shader's opacity is bigger than 0\. Make a timer in the gameloop that says if they're at the menu screen and take away from the shader opacity value, make it tick about every 500ms. Link to comment Share on other sites More sharing options...
clark Posted October 20, 2012 Author Share Posted October 20, 2012 For the gameloop part i have to do what after this ? :If mainmenu.visible = true then(Hehe i don't know vb6 very good so i just know the first line x) ) Link to comment Share on other sites More sharing options...
abhi2011 Posted October 20, 2012 Share Posted October 20, 2012 I am not too sure butif tmrintro > gettickcount thendo whatever with opacity you want. Frankly i don't know watend iftmr500 + 500 Link to comment Share on other sites More sharing options...
clark Posted October 20, 2012 Author Share Posted October 20, 2012 Oh …. x) well then hmm not sure to do this at my own but thanks ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png) Link to comment Share on other sites More sharing options...
Guest Posted October 20, 2012 Share Posted October 20, 2012 > I am not too sure but> > if tmrintro > gettickcount then> > do whatever with opacity you want. Frankly i don't know wat> > end if> > tmr500 + 500Almost.```If tmrShader < GetTickCount then ShaderAlpha = ShaderAlpha - 1 tmrShader = GetTickCount + 500End if``` Link to comment Share on other sites More sharing options...
clark Posted October 20, 2012 Author Share Posted October 20, 2012 And where i should place this code exactly ? "where in the gameloop"and shouldn't i add :If tmrShader < GetTickCount thenShaderAlpha = ShaderAlpha - 1tmrShader = GetTickCount + 500Then(directory/picture.jpg) or something ?End if Link to comment Share on other sites More sharing options...
or3o Posted October 20, 2012 Share Posted October 20, 2012 Mod Game logic. your also gonna have to put a dim tmrshader as long at the top of the sub. all client side Link to comment Share on other sites More sharing options...
abhi2011 Posted October 21, 2012 Share Posted October 21, 2012 > And where i should place this code exactly ? "where in the gameloop"> > and shouldn't i add :> > If tmrShader < GetTickCount then> > ShaderAlpha = ShaderAlpha - 1> > tmrShader = GetTickCount + 500> > Then> > (directory/picture.jpg) or something ?> > End ifThat was just a base so yes.In gameloop sub add it anywhere. Link to comment Share on other sites More sharing options...
JohnPony Posted October 21, 2012 Share Posted October 21, 2012 [http://www.touchofdeathforums.com/community/index.php?/topic/128472-loading-picture-proper-loading-framework/](http://www.touchofdeathforums.com/community/index.php?/topic/128472-loading-picture-proper-loading-framework/) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now