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.
[VXA] TheoAllen's Simple Polygon Status

0 Members and 1 Guest are viewing this topic.

****
Rep:
Level 63
オ・マイ・ゴッド ・㉨・
<TheoAllen's Simple Polygon Status>
Version: <1.0>
Author: <TheoAllen>
Translator: <AbsoluteIce>
Date: <July>, <13>, <2013>

Version History


  • <Version 1.0b> 06.06.2013 - Public release by TheoAllen in Indonesian.
  • <Version 1.0b> 19.07.2013 - English release by AbsoluteIce.

Planned Future Versions

  • For now, none, unless TheoAllen updates this script.

Description


This script will display a polygon parameter in the status menu

Features

  • A polygon status that will show your stat parameters

Screenshots



Instructions

Put this script below materials, and above main in the script section.

Script


Code: [Select]
# =============================================================================
# TheoAllen - Simple Polgygon Status
# Version : 1.0
# Contact : www.rpgmakerid.com (or) http://theolized.blogspot.com
# (This script is translated by AbsoluteIce)
# -----------------------------------------------------------------------------
# Requires :
# >> Theo - Bitmap Extra addons v2.0 or later
# =============================================================================
($imported ||= {})[:Theo_PolygonStatus] = true
# =============================================================================
# CHANGE LOGS:
# -----------------------------------------------------------------------------
# 2013.06.06 - Finised script
# =============================================================================
=begin

  Introduction :
  This script will display a polygon parameter in the status menu
 
  How to use :
  Put this script below material and above main.
 
  Terms of use :
  Credit goes to TheoAllen for making the script. Don't claim this script
  as your own work.

  Note :
  This script will only change the look of the RTP status menu.
 
=end
# =============================================================================
# Configuration
# =============================================================================
module THEO
  module STATUS
    # =========================================================================
      Outline_Polygon_color   = Color.new(255,255,255)
      Outline_Polygon_radius  = 70
    # -------------------------------------------------------------------------
    # Options for the inside of the Polygon.
    # Color  >> Color of the lines of the polygon (red,green,blue)
    # Radius >> radius from the center of the polygon
    # =========================================================================
   
    # =========================================================================
      Params_Polygon_color    = Color.new(0,255,0)
      Params_Polygon_radius   = 60
    # -------------------------------------------------------------------------
    # Options for the outside of the Polygon.
    # Color  >> Color of the lines of the polygon (red,green,blue)
    # Radius >> radius from the center of the polygon
    # =========================================================================
   
  end
end
# =============================================================================
# End of Configuration
# =============================================================================
class Game_Battler < Game_BattlerBase
 
  def params_array
    return [self.atk,self.def,self.mat,self.mdf,self.agi,self.luk]
  end
 
end

class Window_Status < Window_Selectable
  if $imported[:Theo_BitmapAddons]
  include THEO::STATUS
 
  def draw_parameters(x, y)
    contents.draw_shape_params(x+50,y+70,@actor.params_array,Params_Polygon_radius,
      Params_Polygon_color)
    contents.draw_polygon(x+50,y+70,@actor.params_array.size,Outline_Polygon_radius,
      Outline_Polygon_color)
    6.times {|i| draw_actor_param(@actor, x+120, y + line_height * i, i + 2) }
  end
 
  def draw_actor_param(actor, x, y, param_id)
    change_color(system_color)
    draw_text(x, y, 120, line_height, Vocab::param(param_id))
    change_color(normal_color)
    draw_text(x + 60, y, 36, line_height, actor.param(param_id), 2)
  end
  end
end
    Credits


    • <TheoAllen>
    • <AbsoluteIce>

    Thanks

    • I'd like to thank TheoAllen for giving me permission to translate this script. I'll be sure to translate more if I have the time. :)

    Support


    Either post on this thread, or pm TheoAllen on RMRK.

    Known Compatibility Issues

    None that I know of as of now.

    Demo

    Unavaliable yet as of now.

    Author's Notes


    To use this script, you need TheoAllen's Bitmap Addons which can be found here http://rmrk.net/index.php/topic,48045.msg546067.html#msg546067

    Questions

    None at the moment.



    Terms of Use


    Credit the creator, TheoAllen. Do not claim as your own. If you want to use for a commercial project, share the profit with him. And don't forget to give him a free copy of the game.
      [/list]
      « Last Edit: July 19, 2013, 05:09:26 AM by AbsoluteIce »
      なんでやねん

      *
      Rep:
      Level 97
      2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
      Neat! Be sure to thank TheoAllen for me, and thank you for translating! It is always nice to enjoy the fruits of labour from scripters from other language communities.

      By the way, it is OK to keep the <>, but in the template they were mostly there just to indicate that it was something you edited and didn't keep. It would be OK to write just July 13, 2013, or just TheoAllen.

      ****
      Rep:
      Level 63
      オ・マイ・ゴッド ・㉨・
      Neat! Be sure to thank TheoAllen for me, and thank you for translating! It is always nice to enjoy the fruits of labour from scripters from other language communities.

      By the way, it is OK to keep the <>, but in the template they were mostly there just to indicate that it was something you edited and didn't keep. It would be OK to write just July 13, 2013, or just TheoAllen.
      Thanks, MA! I'll be sure to let Theo know :)
      About the <> thing, I thought it looked more organize and neat, thats why I kept it that way.  :V
      なんでやねん