Techno 5.0 Posted February 12, 2011 Author Share Posted February 12, 2011 As the title says, i am trying to recreate that dynamic menu screen that TES4 had which was a map that scrolled in the background with buttons and the title over it.Im Curious as to what command would you use to give the scrolling effect.still new to coding but i plan to sit down and look through tutorials on sunday.This doesnt sound to hard unlike the other features i will try to achieve.Thanks for the support,Regards,Ninja Link to comment Share on other sites More sharing options...
Jeff Posted February 15, 2011 Share Posted February 15, 2011 Frame based, or Scrolling picture? Link to comment Share on other sites More sharing options...
mitlark Posted February 15, 2011 Share Posted February 15, 2011 I bet that he refers to scrolling picture. And I would also have interest in something like that, making loop scrolling… by blit-ing it could be possible, BUT not a good option. Or it could be tiled bliting... Also, there's the option of using two (or more if you're using a diagonal movement) separated pictures and just doing a positional loop (like celuloid film frames).>! …......... > '''''''''''''''' > ========== > ............ > '''''''''''''''''''''''''''''''' > ===== > ............_:F that would be good, right?_ So, to the easiest option, that is two separated pictures. Make two pictures, and do something like this:```if picture1.top >= form1.height then picture1.top = 0 - picture1.heightend ifif picture2.top >= form1.height then picture2.top = 0 - picture2.heightend ifpicture1.top = picture1.top + 8picture2.top = picture2.top + 8```For that code to work you need some timed routine. You can use as example one timer for this, or if possible, something that doesn't uses a control (something cheaper).Then you need to have one picture above the other one, not overlapping, and each picture being the same size as the form.Hope it helps you, it's not as just copy paste, so you still have some work to do >=).Cheers,L'ark Mitsinikos Link to comment Share on other sites More sharing options...
Robin Posted February 15, 2011 Share Posted February 15, 2011 Please don't use GDI for that… 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