RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[XP] BattleStart!

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 65
RMRK Junior
Code: [Select]
#=========================================================#==============================================================
#module HMM
#Note: Create a [u]BattleStart! image[/u] and save it to your Graphics/Pictures
#==============================================================
#Ativate the animated image
  READY = true
#Temp
  RDFADE = 40 

  R_TRANSITION = "Eau"
end
    $hmmscript = {} if $hmmscript == nil
    $hmmscript["Battle_Start!"] = true
#===============================================================================
# Scene_Battle
#===============================================================================
class Scene_Battle
alias  hmm17_main main
def main
    Graphics.transition(30, "Graphics/Transitions/" + HMM::R_TRANSITION)
      Graphics.freeze
        if HMM::READY == true
          @ready = Sprite.new
          @ready.bitmap = RPG::Cache.picture("BattleStart!")
          @ready.visible = false
          @ready.y = -200
          @ready.zoom_y = 3
          @ready.z = 999
          @fade = HMM::RDFADE
          @ready_on = true
        end
       
hmm17_main 
  if HMM::READY == true
    if @ready != nil   
      @ready.dispose
      end
    end
 end
 
alias hmm17_update update
def update
  if HMM::READY == true
    if @ready_on == true   
      for i in 0..80
        if @ready != nil and @ready.zoom_y > 1
          @ready.y += 10
          @ready.zoom_y -= 0.1
          @ready.visible = true
         
        elsif @ready != nil and @ready.zoom_y <= 1 and @ready.opacity > 250
          @ready.y = 0
          @ready.zoom_y = 1
          @fade -= 1
          end
            Graphics.update
end
            @ready_on = false
          end
         
if @fade <= 0 and @ready != nil
  @fade = 0
end

  if @fade <= 0 and @ready != nil
    @ready.opacity -= 7
    @ready.zoom_y += 0.2
    @ready.y -= 50   
  end
 
if @ready != nil and @ready.opacity <= 0
  @ready.dispose
  @ready = nil
  end
end

hmm17_update
  end
end

*****
my name is Timothy what's yours
Rep:
Level 79
Hello
2014 Best IRC Quote2014 Zero to Hero2014 Most Missed Member2012 Zero To HeroSecret Santa 2012 ParticipantContestant - GIAW 9For frequently finding and reporting spam and spam bots2011 Zero to Hero
1. Who wrote this?
2. If it wasn't you, then did you get permission to post it?
3. What does it do?
4. How does it work?

I can figure out 3 & 4 for myself, by looking at the script. But most people aren't scripters, therefore wouldn't be able to do that.
it's like a metaphor or something i don't know

****
Rep:
Level 63
オ・マイ・ゴッド ・㉨・
You can't post completed scripts here.
Not to be a minimod or anything, but.. Read the rules first?

http://rmrk.net/index.php/topic,19760.0.html

Instead, post it here for RMXP :
http://rmrk.net/index.php/board,111.0.html

To Pacman :
Mmkay, brah.
« Last Edit: March 04, 2012, 01:04:19 PM by AbsoluteIce »
なんでやねん

*****
my name is Timothy what's yours
Rep:
Level 79
Hello
2014 Best IRC Quote2014 Zero to Hero2014 Most Missed Member2012 Zero To HeroSecret Santa 2012 ParticipantContestant - GIAW 9For frequently finding and reporting spam and spam bots2011 Zero to Hero
I was going to move it, Ice, once I confirmed that he was allowed to post it and gave us some information.
it's like a metaphor or something i don't know