BattleWeather ACE
#1
BattleWeather ACE

by Kyonides

Introduction

VX Ace doesn't seem to offer you a way to make it rain or snow by default. This scriptlet arrives to solve your weather issues.

The Script

Code:
# * BattleWeather ACE * #
# - A Plug & Play Script - #
#  Scripter : Kyonides Arkanthes
#  2023-10-23

class Spriteset_Battle
  alias :battle_weather_sprtst_bttl_disp :dispose
  def initialize
    create_viewports
    create_battleback1
    create_battleback2
    create_enemies
    create_actors
    create_weather
    create_pictures
    create_timer
    update
  end

  def create_weather
    @weather = Spriteset_Weather.new(@viewport2)
  end

  def dispose
    dispose_weather
    battle_weather_sprtst_bttl_disp
  end

  def dispose_weather
    @weather.dispose
  end

  def update
    update_battleback1
    update_battleback2
    update_enemies
    update_actors
    update_weather
    update_pictures
    update_timer
    update_viewports
  end

  def update_weather
    @weather.type = $game_map.screen.weather_type
    @weather.power = $game_map.screen.weather_power
    @weather.ox = $game_map.display_x * 32
    @weather.oy = $game_map.display_y * 32
    @weather.update
  end
end

Terms & Conditions

Free for ANY kind of game. Gamer
That's it! Tongue sticking out
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }




Users browsing this thread: 2 Guest(s)