Smooth Transitions |
|
Use this library to give your interface controls smooth transitions from colors, sizes, and positions. [More] |
To download this library for your Linux/Mac installation, enter this on your command line:
DreamDownload byond://ExPixel.SmoothTransitions##version=5 Emulator users, in the BYOND pager go to File | Open Location and enter this URL:byond://ExPixel.SmoothTransitions##version=5 |
v1.3.0
-Added a cleaner looking demo, made it cooler lookin'. v1.2.1 - Minor changes made to the source. v1.2.0 #Added# controlAlphaTo(Player, control, new_alpha, speed=1, velocity=0, delay=1) -Change the alpha of a control (currently only supports windows due to BYOND's limitations at the moment.) v1.1.0 #Added# controlMoveTo(player, control, new_x=0, new_y=0, speed=1, velocity=0, delay=1) -Move the control on player's interface controlSizeTo(player, control, new_width=0, new_height=0, speed=10, velocity=1, delay=1) -Resize the control on player's interface controlColorTo(player, control, new_color, speed=1, velocity=0, delay=1) -Recolor the control on player's interface controlTextColorTo(player, control, new_color, speed=1, velocity=0, delay=1) -Recolor the control's text on player's interface |
Phoestre: (Jul 17 2011, 11:22 pm)
Nice one! May use in future.
ExPixel: (May 29 2011, 9:27 am)
Forum_account wrote:
The demo should be simpler. It should show how to use the library, not show how to use prob(). If you want to show examples of how to make transitions happen in different orders, make separate verbs and explain it clearly. I should have to add one line of code to use these transitions in my game and the demo should make it clear what that line of code is. Tried to add some comments and made the demo smaller. Kidpaddle45: (May 29 2011, 8:55 am)
Great Job.Looks great.
Forum_account: (May 29 2011, 2:18 am)
The demo should be simpler. It should show how to use the library, not show how to use prob(). If you want to show examples of how to make transitions happen in different orders, make separate verbs and explain it clearly. I should have to add one line of code to use these transitions in my game and the demo should make it clear what that line of code is.
The demo should also show more practical things. I never needed a proc to randomly resize or recolor buttons, so at a glance I have no use for this. The input window is a good example, I'm sure you can find good examples for other events. Also, you might want to make the "delay" parameter for all of your transition procs default to world.tick_lag instead of 1. Kyle_ZX: (May 26 2011, 8:48 pm)
Very impressive. Great work.
|
Copyright © 2024 BYOND Software.
All rights reserved.