Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Jens009's Critical Flash, Flash when attack is critical.
jens009
post Aug 4 2008, 07:55 PM
Post #1


L Did you know? Death gods... only eat apples
Group Icon

Group: +Gold Member
Posts: 2,976
Type: Scripter
RM Skill: Skilled




Jens009's Critical Flash
Version: 1.0
Author: Jens009
Release Date: August 4, 2008



Exclusive Script at RPG RPG Revolution


Introduction
Created upon request. Script is self explanatory. White flash when critical flag is on.

Features
Version 1.0:
White Flash on attacker's critical hit
Compatible with any system

Script

[Show/Hide] Critical Flash

CODE
#===================================================================
# Jens009's Critical Flash
# August 4, 2008
# Version 1.0
# Description: Screen Flash when attacker deals critical damage    
# Aliased used:
#   jens009_add_critical_flash make_attack_damage_value
# Compatibility:
#   All systems.
#=====================================================================
# Start Game_Battler_Edit
#====================================================================
class Game_Battler

alias jens009_add_critical_flash make_attack_damage_value
#===================================================================
# Start Method edit
#===================================================================
def make_attack_damage_value(attacker)
  # Call Original Method
    jens009_add_critical_flash(attacker)
  # Check Critical Flag
    if @critical == true
      # Screen Flash
      $game_troop.screen.start_flash(Color.new(255,255,255,160), 20)
    end # END CHECK
  end # END Method Edit
end # End Class Edit



Customization
None yet. Will make upon request

Compatibility
All system

Screenshot
None needed. Use your imagination.

DEMO
None needed.

Installation
Copy and paste below Materials

FAQ
I have a cool idea!!
Post it up.
There's a bug!!
Well, it's not really possible but post it up.

Terms and Conditions
RRR Exclusive.
Give me Credits.

Unless you abide by these terms, you're not allowed to use my script.

Credits
Jens009


__________________________

My RMXP Project:


Farewell RRR. =]
Go to the top of the page
 
+Quote Post
   
Ratty524
post Aug 4 2008, 08:18 PM
Post #2


Level NINE-THOUSAAAAND!
Group Icon

Group: Local Mod
Posts: 1,633
Type: Artist
RM Skill: Skilled
Rev Points: 5




I've always wanted to give more of an effect to critical hits than just a text pop-up, so this looks great.


__________________________
The userbar links to the right thread this time. :P



Click here for other crap

QUOTE (gamezerstudios @ Jan 18 2010, 03:29 AM) *
i don't like blogs last time i got one my desktop blew up!

ROFL!!

Dragons and Eggs! Please click :3

Weird Dragon is weird.Pretty Dragon is pretty.
Midjet Dragon is a midget.Cool Dragon is cool.
Awesome Dragon is AWESOMEOkay Dragon is... Meh
UGLY DRAGON IS UGLY! >_<... Ok seriously WTF!?
Another Pretty DragonPrettier Dragon
WOAH BADASS!Woah... Same as before. >_>
Ooh it's a godly looking dragon!Ooh, it's a dragon prettier than the other two!
... Okay seriously what the hell is this thing?


thank you Holder for the card!


Feast your eyes on the failure!


Best Thread Ever Made
Go to the top of the page
 
+Quote Post
   
Warder
post Aug 4 2008, 09:41 PM
Post #3


Level 31
Group Icon

Group: Revolutionary
Posts: 750
Type: None
RM Skill: Undisclosed




Simple, but it adds a nice touch. I like it, and I'll certainly use it. smile.gif
Go to the top of the page
 
+Quote Post
   
zen03y
post Aug 5 2008, 09:31 AM
Post #4


Level 4
Group Icon

Group: Member
Posts: 52
Type: None
RM Skill: Skilled




Thank you! Now my game can have more animations.
Go to the top of the page
 
+Quote Post
   
The Wizard 007
post Aug 5 2008, 02:05 PM
Post #5


Jack of all trades
Group Icon

Group: Revolutionary
Posts: 118
Type: Developer
RM Skill: Skilled




I like it. Its short and sweet and really puts the oomph in a critical hit. Good job.


__________________________
Currently working on:

Underground Syndicate (mafioso/modern type RPG)
Mind Maze (old school dungeon crawler with a different feel)
Dragon Adventure (Dragon Quest type fangame with more customization)
Dark Grind (Survival horror RPG)
Go to the top of the page
 
+Quote Post
   
Ziosin
post Aug 7 2008, 11:11 AM
Post #6


Doesn't ever stop believin'
Group Icon

Group: Revolutionary
Posts: 760
Type: Writer
RM Skill: Skilled




good script, its small, simple, and works wonders on the battle system effects.


__________________________
Ziosin's signature, V3.0



Colossus Reborn

Project has been abandoned. I'm gonna keep around the kickass logo, though.
Go to the top of the page
 
+Quote Post
   
Oralom
post Feb 19 2009, 08:33 AM
Post #7


Level 3
Group Icon

Group: Member
Posts: 34
Type: Event Designer
RM Skill: Beginner




Good idea. I was just wondering if you could also add a sound effect? You know, take it to the next level. One step further. lol. I guess what I'm trying to say is, instead of having the normal "attack" sound effect, could you add to this script an option to change the sound effect used?
Go to the top of the page
 
+Quote Post
   
OrigamiRose
post Feb 19 2009, 12:29 PM
Post #8


♥My Heart Is Refusing me♥
Group Icon

Group: +Gold Member
Posts: 2,302
Type: Mapper
RM Skill: Masterful
Rev Points: 15




Please, read the date on the last post before you post, instead of necroposting. This topic last post is from August last year. Check the date before you post.


__________________________

The project is revived! Check it out!
Go to the top of the page
 
+Quote Post
   
jens009
post Feb 19 2009, 11:14 PM
Post #9


L Did you know? Death gods... only eat apples
Group Icon

Group: +Gold Member
Posts: 2,976
Type: Scripter
RM Skill: Skilled




QUOTE (The Shadow @ Feb 19 2009, 12:29 PM) *
Please, read the date on the last post before you post, instead of necroposting. This topic last post is from August last year. Check the date before you post.

Necroposting is fine in the Rgss forums. =]



__________________________

My RMXP Project:


Farewell RRR. =]
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 24th May 2013 - 05:24 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker