Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

HBGames

#==============================================================================
# â–  Scene_Scripting_Help
#------------------------------------------------------------------------------
# This post defines the difficulties Jirbytaylor is having with RGSS
#==============================================================================


class Scene_Scripting_Help #LOL

def main

draw.text =

I've been tinkering with the Pokémon Starter Kit, I've solved one of the lags, (I don't know how I did though,) and I'v created a battle intro in Pokémon style.
But it's using common events.

I need to know the following event commands in RGSS:

Unrealted
-Changing the hero sprites (for running script), but the sprites should only change during movement.

Battle Intro
-Conditional Branch for switches and variables.
Here is where I'm really stumped- "if $game_variables[4] = 0" should be if variable 4 is = to 0 right? It's seems to be acting more like "$game_variables[4] = 0", setting the variable, not checking if.
(This was not in an atempt with the intro, but with some scripts from the starter kit.

-Memorize BGM

-Wait

-Change Screen Tone

-Prepare for Transition

-Show Picture / Erase Screen
I've been using a black picture in the intro, but what I really want is something that completly blackens the screen. ..."@spriteset.dispose" perhaps?

-Variable set to random

Would I add these directly below "def call_battle" in Scene_Map, moving "$game_system.bgm_play($game_system.battle_bgm)" above the new script?

Leave Battle

-Restore BGM

-Stop ME

-Erase Picture (if another method is used in intro, fade to black before showing map)

I tried to stop the BGM and ME, but it only worked under a certain battle condition, where should I put the following to make it affect win, loss, loss but continue and escape?

---------------------

I'd like to point out that you don't need the starter kit to help me, the following areas have not be changed much.

Thanks in advance.


end #LOLx2

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top