david1337hax

Simple Titlemovement by david1337hax

Apr 14th, 2018
586
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. Hey! =)
  2. Here is a quick example how to make your menu title & more moving. Enjoy.
  3. Credits: david1337hax - making this thing lol
  4.  
  5. bool Movement, decrease, increase;
  6. float index;
  7.  
  8. if(Movement)
  9. {
  10. if(decrease) {
  11. index -= 0.9;
  12. if(index < 0.9) { index = 0.9; decrease = false; inscrease = 1; }
  13. }
  14. if(increase) {
  15. index += 0.11;
  16. if(index > 0.11) { index = 0.11; increase = false; decrease = 1; }
  17. }
  18. }
  19.  
  20. You can mess around with this a lot. For Lamance I have made a more "complex & shittier" method.
  21.  
  22. ~ david1337hax
Advertisement
Add Comment
Please, Sign In to add comment