HomeForumSearchRegister
Pages: [1]
Topic: [RESOLVED] Use Sprites Insted Of Faces  (Read 147 times)
0 Members and 1 Sneaky Snooper are viewing this topic.
Kyle?
 
**
who am i?
Rep: +0/-0
Level 14 (66%)
kyle?
View Profile
« on: February 09, 2010, 04:01:44 AM »
IP Logged

Sprites In Menu
AUS: 9/2/2010 USA: 2/9/2010



Summary
Well I Want The Sprites To Be Shown In The Menu Screen Insted Of Face Sprites

Features Desired
  • The Sprite To Been Seen In The Menu Scene
  • When Sprite Changes The Menu Sprite Could Changes (By Script Or Event)

Games its been in
  • Final Fantasey Dawn Of Souls 1 & 2 (Not Like This Just Sprites)


Did you search?
Yes

Where did you search?
  • Google

What did you search for?
  • RMVX Sprites In Menu
  • Rpgmaker vx Sprites In Menu
« Last Edit: February 20, 2010, 10:04:28 AM by Modern Algebra »
modern algebra
  Male
*
Rep: +313/-110
Level 71 (44%)
View Profile
« Reply #1 on: February 09, 2010, 07:08:08 AM »
IP Logged

I could probably do this. I take it you just want the sprites to be drawn, not animated or anything? And you want the rest of the scene to be the same, so not like this: http://rmrk.net/index.php/topic,35085.0.html


Kyle?
 
**
who am i?
Rep: +0/-0
Level 14 (66%)
kyle?
View Profile
« Reply #2 on: February 10, 2010, 12:25:39 AM »
IP Logged

No I Don't Wantg It Like That
Just The Normal Menu With Sprites Face Left
Insted Of Faces
But I Know I Put It Up The Top
But Can You Not Inclued The Status Screen
Just Veiwing Them When You Open The Menu
« Last Edit: February 10, 2010, 12:30:58 AM by Kyle? »
modern algebra
  Male
*
Rep: +313/-110
Level 71 (44%)
View Profile
« Reply #3 on: February 10, 2010, 02:31:55 PM »
IP Logged

Alright, I wrote this quick:

Code:
#==============================================================================
#    Sprites Instead of Faces
#    Version: 1.0
#    Author: modern algebra (rmrk.net)
#    Date: February 10, 2010
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#  Description:
#
#   This script allows you to replace the face graphic of an actor with his
#  sprite in specified scenes.
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#  Instructions:
#
#    Place this script in its own slot in the Script Editor (F11) below the
#   default scripts but still above Main.
#    To change exactly where the sprite is positioned, you can alter the
#   SIF_SPRITE_Y_OFFSET value at line 22. To have this feature in additional
#   scenes, just add the class name of the scene to the array in
#   SIF_INCLUDED_SCENES at line 23.
#==============================================================================

SIF_SPRITE_Y_OFFSET = -32 # Any integer. Lesser values are higher on the window
SIF_INCLUDED_SCENES = [Scene_Menu] # [scene1, scene2, ..., sceneN]

#==============================================================================
# ** Window_Base
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#  Summary of Changes:
#    aliased method - draw_actor_face
#==============================================================================

class Window_Base
  #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  # * Draw Actor Face Graphic
  #     actor : actor
  #     x     : draw spot x-coordinate
  #     y     : draw spot y-coordinate
  #     size  : Display size
  #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  alias malg_drwactrface_spritereplce_6uj2 draw_actor_face
  def draw_actor_face(actor, x, y, size = 96, *args)
    if SIF_INCLUDED_SCENES.include? ($scene.class)
      draw_actor_graphic (actor, x + (size / 2), y + size + SIF_SPRITE_Y_OFFSET)
    else
      malg_drwactrface_spritereplce_6uj2 (actor, x, y, size, *args)
    end
  end
end


Though, reading your last post, I see you want it to show them facing left? That's kind of weird; are you sure?


modern algebra
  Male
*
Rep: +313/-110
Level 71 (44%)
View Profile
« Reply #4 on: February 19, 2010, 08:49:40 PM »
IP Logged

Well, you sort of disappeared. If you still want the implementation where the sprite can be shown facing left, it is possible with the new script I wrote here.


Pages: [1]
Jump to:  

hi