Need some help changing the priority type to below characters...
OmegaDev :: Coding Plaza :: RGSS2 (VX) :: RGSS2 Support
Page 1 of 1
Need some help changing the priority type to below characters...
What I'm trying to do is change the priority type of this sprite to below characters.
I've done this once before, but I had to delete the old one for a few reasons (I forgot that I had somehow changed it to below characters.)
Now I can't seem to do it anymore, so can someone help me with this?
I'm sure it's super easy, but right now, I can't seem to do it.
It's a class in Sprite Base.
Here's the script part thing I believe it should be in...
I've done this once before, but I had to delete the old one for a few reasons (I forgot that I had somehow changed it to below characters.)
Now I can't seem to do it anymore, so can someone help me with this?
I'm sure it's super easy, but right now, I can't seem to do it.
It's a class in Sprite Base.
Here's the script part thing I believe it should be in...
- Code:
class Sprite_Hole < Sprite_Base
def initialize(viewport, character = nil)
super(viewport)
@character = character
create_bitmap
update
end
def create_bitmap
self.bitmap = Cache.picture(@character.character_name)
end
def update
super
self.visible = (not @character.transparent)
self.z = @character.screen_z - 5
self.opacity = @character.opacity
self.blend_type = @character.blend_type
self.bush_depth = @character.bush_depth
self.x = @character.screen_x - 16
self.y = @character.screen_y - 26
end
end
OmegaDev :: Coding Plaza :: RGSS2 (VX) :: RGSS2 Support
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum