LOGIN
SEARCH
PROFILE
keys: ↑ ↓
LOGOUT
INDEX
MEMBERS
keys: ↑ ↓
HOME
PORTAL
PLAY ALONG
PLAY with WORDS
PLAY with GRAPHICS
PLAY with SOUNDS
PLAY with CODES
PLAY with PROJECTS
keys: ← →
Guest Access
Register:
Members:



View previous topic View next topic Go down Message [Page 1 of 1]

Administrator
Administrator
#1 RMXP+ XAS = ANIMATIONS BY THE BUTTON! Empty RMXP+ XAS = ANIMATIONS BY THE BUTTON!
Loading

G@MeF@Ce

G@MeF@Ce
Administrator
Administrator
Administrator
profile
Another simple experiment gone right!

This script plays an animation on the actor by
simply pressing a key/button

You can assign which animation for whatever button.

Code:
=begin
#
# XAS Button Animations! v1.0
# by gameface101.com
# v1.0 10-6-09
# v1.1 1-3-2011
#
# "Extra animations for the character by the press of one button!"
#
=end
#===============================================================================
 module B_Ani
 
  X_DASH = Input::X
  X_DASH_ANI = 111
 
  X_DEFEND = Input::A
  X_DEFEND_ANI = 64
 
  X_ACT = Input::C
  X_ACT_ANI = 0
 
  X_CREEP = Input::B
  X_CREEP_ANI = 163
 
  X_ITEM = Input::Y
  X_ITEM_ANI = 163
 
  X_SKILL = Input::Z
  X_SKILL_ANI = 163
 
 end

#===============================================================================
class Scene_Map
 alias now_play_animation update
 
 def update
 now_play_animation
 actor = $game_party.actors[0]

  if Input.trigger?(B_Ani::X_DASH)
  $game_player.animation_id = (B_Ani::X_DASH_ANI)
  elsif Input.trigger?(B_Ani::X_DEFEND)
  $game_player.animation_id = (B_Ani::X_DEFEND_ANI)
  elsif Input.trigger?(B_Ani::X_ACT)
  $game_player.animation_id = (B_Ani::X_ACT_ANI)
  elsif Input.trigger?(B_Ani::X_CREEP)
  $game_player.animation_id =(B_Ani::X_CREEP_ANI)
  elsif Input.trigger?(B_Ani::X_ITEM)
  $game_player.animation_id = (B_Ani::X_ITEM_ANI)
  elsif Input.trigger?(B_Ani::X_SKILL)
  $game_player.animation_id = (B_Ani::X_SKILL_ANI)
  $game_player.refresh
end
end
end

simple but effective to spice it up a bit!
will continue to play with this call animation script
Administrator
Show Signature
Administrator
https://www.dropbox.com/sh/i47rig99qhrvn8s/4m5HvsM2fD http://g4m3f4c3.deviantart.com https://www.facebook.com//pages/Gameface101/332331300127008 https://twitter.com//mr_gameface101 https://soundcloud.com/schurr https://www.youtube.com/user/MrGameface101?feature=watch
Tutorial Wizardmaster
Tutorial Wizardmaster
#2 RMXP+ XAS = ANIMATIONS BY THE BUTTON! Empty Re: RMXP+ XAS = ANIMATIONS BY THE BUTTON!
Loading

calvin624

calvin624
Tutorial Wizardmaster
Tutorial Wizardmaster
Tutorial Wizardmaster
profile
Nice little script there Gameface - keep it coming Smile
Tutorial Wizardmaster
Show Signature
Tutorial Wizardmaster
http://xasabs.com
Administrator
Administrator
#3 RMXP+ XAS = ANIMATIONS BY THE BUTTON! Empty Re: RMXP+ XAS = ANIMATIONS BY THE BUTTON!
Loading

G@MeF@Ce

G@MeF@Ce
Administrator
Administrator
Administrator
profile
Had to dust this one off and make an easy to use module ^,^

works like a charm with my XAS Creep script

~(G|F
Administrator
Show Signature
Administrator
https://www.dropbox.com/sh/i47rig99qhrvn8s/4m5HvsM2fD http://g4m3f4c3.deviantart.com https://www.facebook.com//pages/Gameface101/332331300127008 https://twitter.com//mr_gameface101 https://soundcloud.com/schurr https://www.youtube.com/user/MrGameface101?feature=watch

Sponsored content

profile

View previous topic View next topic Back to top Message [Page 1 of 1]

 

Chatbox system disabled
Personal messaging disabled