Guest Posted September 6, 2011 Share Posted September 6, 2011 Say if this is possible…How do you animate GUIs (Mainly Menus like login screen and things.)?-knightgrader Link to comment Share on other sites More sharing options...
Tauri Posted September 6, 2011 Share Posted September 6, 2011 Go through the source and replace .jpg for the GUI files with .gif. Not sure if it would work, but it's worth a shot. Link to comment Share on other sites More sharing options...
eric125 Posted September 6, 2011 Share Posted September 6, 2011 i think you could do that with flash but i don't know if it works to program in to EO Link to comment Share on other sites More sharing options...
Guest Posted September 6, 2011 Share Posted September 6, 2011 you might be able to make multiple gui's and code them to play thru looking animated or something. Link to comment Share on other sites More sharing options...
Tauri Posted September 6, 2011 Share Posted September 6, 2011 CTRL + F, and search for .jpg throughout the entire module, then replace the GUI ones with .gif..gif has support for animation, so run it through whatever animation program you use and replace your main GUI with it. Problem solved. Link to comment Share on other sites More sharing options...
Carim123 Posted September 6, 2011 Share Posted September 6, 2011 @Tauri:> CTRL + F, and search for .jpg throughout the entire module, then replace the GUI ones with .gif.> .gif has support for animation, so run it through whatever animation program you use and replace your main GUI with it. Problem solved.If only it were that simple. >_>The way I'd do it, is by having seperate .jpgs as a frame in a folder, ~~and simply use a For Next Loop. Not very efficient, I know, but at least it's usable~~ scratch that, unlike these dumb responses…OR, there's GetTickCount...lemme think of a way...(pseudo-code, btw. At least it's somewhat helpful.)In modGlobal, add:```Public FrameNo As Long```And in GameLoop, add something like InGame, that checks while in menu, and after that, I'd use;```Dim tmrAnimMenu As LongIf tmrAnimMenu < Tick ThenFrameNo = FrameNo + 1frmMenu.Picture = LoadPicture(App.Path & "BLAHBLAHBLAH" & FrameNo & ".jpg")tmrAnimMenu = GetTickCount + MILLISECONDS HEREEnd If```But, IMO, just do what the rest of us do, and make do with static main menus…or work on a parallax system, if you really want movement. Link to comment Share on other sites More sharing options...
Guest Posted September 7, 2011 Share Posted September 7, 2011 I'd need parallax system perhaps… Any help on it though? Link to comment Share on other sites More sharing options...
Carim123 Posted September 7, 2011 Share Posted September 7, 2011 @knightgrader:> I'd need parallax system perhaps… Any help on it though?OK, now that's just downright disrespectful. Rather than have an attempt at it, you just assume you have a need for something, and want us to do it for you? The Legends here have the patience of saints.Don't really want to, but I have an idea on it…To start, I'd go with having two backing picture control, each with the same tessellating image, and make a loop that simply moves the .left property, and checks when it's at pic.left = form.width - form.width - pic.width, and simply moves the left to where it was to begin. Link to comment Share on other sites More sharing options...
Guest Posted September 7, 2011 Share Posted September 7, 2011 @=:> OK, now that's just downright disrespectful. Rather than have an attempt at it, you just assume you have a need for something, and want us to do it for you? The Legends here have the patience of saints.> > Don't really want to, but I have an idea on it…> > To start, I'd go with having two backing picture control, each with the same tessellating image, and make a loop that simply moves the .left property, and checks when it's at pic.left = form.width - form.width - pic.width, and simply moves the left to where it was to begin.Oh sorry about that but All I just need here is help and nothing else… If I'm being disrespectful then sorry about it. Link to comment Share on other sites More sharing options...
SeeingBlue Posted September 7, 2011 Share Posted September 7, 2011 If I'm not mistaken some of the buttons in EO2 or CS:DE change when you mouse over them. Might look at how that is done & should give you some kind of idea. Link to comment Share on other sites More sharing options...
Tauri Posted September 7, 2011 Share Posted September 7, 2011 @SeeingBlue:> If I'm not mistaken some of the buttons in EO2 or CS:DE change when you mouse over them. Might look at how that is done & should give you some kind of idea.He doesn't want a mouseover animation, just one that plays constantly, cycling through a few frames.Also, animated GUI would distract attention from the game. GUI should be minimalistic and draw your focus towards the game. Link to comment Share on other sites More sharing options...
SeeingBlue Posted September 7, 2011 Share Posted September 7, 2011 @Tauri:> He doesn't want a mouseover animation, just one that plays constantly, cycling through a few frames.> > Also, animated GUI would distract attention from the game. GUI should be minimalistic and draw your focus towards the game.I understood that. It was an example that he could possibly use to study how to do exactly what he wants. Link to comment Share on other sites More sharing options...
Robin Posted September 8, 2011 Share Posted September 8, 2011 Animated GUIs work just fine.However, you need to be able to program it in yourself to do it properly. 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