Scrollbar Effect

You must understand the Game Editor concepts, before post here.

Scrollbar Effect

Postby Hblade » Sat Dec 29, 2012 10:36 pm

How would I create a scrollbar effect? (When the scrollbar moves down, something else moves up)?

Even more so, I want new actors (once created vertically) to extend the scrollbar
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: Scrollbar Effect

Postby skydereign » Sun Dec 30, 2012 5:49 am

Well, if you want something to decrease, as something else decreases, that is pretty easy. All you need to do is subtract. Here's an example of that.
scroll_bar.ged
(1.25 KiB) Downloaded 114 times

You may or may not need to create new actors depending on the scroll distance though. One method is to create all of the actors, and parent them to something like the reference actor in the ged I posted.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Scrollbar Effect

Postby Hblade » Sun Dec 30, 2012 6:10 am

Ahh wow. Thanks sky

And using y=min(0, max(y, -240)); you can easilly control how far on the screen it goes
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score


Return to Advanced Topics

Who is online

Users browsing this forum: No registered users and 1 guest

cron