Chucksaint 2 Report post Posted February 7 hello guys, here I am ...again! ( Sorry but I have too much questions?!) Does anyone know how to animate windows and elements? I know that there are scripts to do that, the closest that I found to what I wanted was with the script Khas smooth sliding, but only applies to windows (and I managed to work with it) for what i understood lolz 1) Is there any way for example slide each actor index in Main menu instead of all window_menustatus? (SEE IMAGE) Quote 2) Also each index in Menu_command? 3) for instance, If cursor is in index Party > in main menu can add padding in the next index? (see image example) Quote If is on index "Items" No padding I had more questions but I forgotzz lol Thank you Share this post Link to post Share on other sites
Kayzee 2,332 Report post Posted February 7 (edited) Well, I am not sure if there are any existing scripts to do that kind of stuff, but it's possible to use sprites and windows together to do some things like that. It would probobly involve a ton of scripting work though! I never tried animating stuff the way you want to so I couldn't be sure of the exact details, and I am not sure if it would help you unless there was a script ready. Edited February 7 by Kayzee Share this post Link to post Share on other sites
Chucksaint 2 Report post Posted February 8 I figured it was a little bit tricky... ok. So can you tell me any method to try? thank youu Share this post Link to post Share on other sites
Kayzee 2,332 Report post Posted February 8 (edited) I probobly won't be of much help unless you know a fair bit about scripting already. I mean for example, here is a little script I made to add a little animated cursor sprite to menus (needs a MenuCursor.png image in the \Graphics\System dir to work): Spoiler class Sprite_Cursor < Sprite FLASH_COLOR = Color.new(255,255,255,128) def initialize(window) super() @window = window @effect_count = 0 update end def update super update_visibility return unless self.visible update_bitmap update_position update_effects end def update_bitmap self.bitmap = Cache.system("MenuCursor") unless self.bitmap end def update_visibility @index = @window.index if !@window.open? self.visible = false elsif !@window.visible self.visible = false elsif @window.cursor_rect.width == 0 || @window.cursor_rect.height == 0 self.visible = false elsif @index < 0 self.visible = false else self.visible = true end end def update_position @index = @window.index rect = @window.item_rect(@index) self.x = @window.x + rect.x - @window.ox self.y = @window.y + rect.y - @window.oy self.z = @window.z + 100 self.viewport = @window.viewport self.ox = 1 self.oy = -7 end def update_effects if @window.active self.tone = @window.tone self.opacity = 255 self.ox += Math.sin(@effect_count / 6.0) self.oy += Math.cos(@effect_count / 6.0) self.flash(FLASH_COLOR,10) if @effect_count == 0 @effect_count += 1 else self.tone = (@inactive_tone ||= Tone.new(0,0,0,255)) self.tone.red = @window.tone.red / 2 self.tone.green = @window.tone.green / 2 self.tone.blue = @window.tone.blue / 2 self.opacity = 192 @effect_count = 0 end end def dispose super self.bitmap.dispose if self.bitmap end end class Window_Selectable alias_method :menu_cursor_initialize, :initialize def initialize(*args) menu_cursor_initialize(*args) @sprite_cursor = Sprite_Cursor.new(self) end alias_method :menu_cursor_update, :update def update menu_cursor_update @sprite_cursor.update end alias_method :menu_cursor_dispose, :dispose def dispose menu_cursor_dispose @sprite_cursor.dispose end end The basic idea is that every window can have it's own little sprite that is drawn on top of the window that I can move around and animate how ever I want. I just used it as a little visual thing, but the idea could maybe be expanded. It's possible to recode stuff so what is normally drawn in the window is drawn on sprites like that, but it might be harder then you expect. Of course, that's just the first step. After you are able to make sprites for all the things you want to move around, then you would still need to figure out how to animate them right. Unfortunately as far as I know there is no existing script to help with this, so you would have to code it yourself or get someone else to do it. There may still be one out there though, I'm not sure. You know, @Rikifive seems pretty good at this sort of stuff if I remember right. Maybe they can help you more? But they can be busy, so don't bug um too much okay? :3 Edited February 8 by Kayzee Share this post Link to post Share on other sites
Chucksaint 2 Report post Posted February 8 ahah ok, I will try to make it work. thank you for your help Share this post Link to post Share on other sites
roninator2 80 Report post Posted February 8 another animated window script is NASTY animated windows but it only does the main window. As far as the other stuff you wanted, I have never seen anything do this. It's not a common script. You may have to make something up. Share this post Link to post Share on other sites
Chucksaint 2 Report post Posted February 9 managed to do what I wanted, thank you Share this post Link to post Share on other sites
roninator2 80 Report post Posted February 10 3 hours ago, Chucksaint said: managed to do what I wanted If you are willing to share your findings, it would help the community. Share this post Link to post Share on other sites