BlueScope Member 2,065 Apr 29, 2010 #2 This is the basic framework for displaying a sprite: Code: @sprite = Sprite.new @sprite.bitmap = RPG::Cache("Graphics/picture/filenamewithoutextension") @sprite.x = 0 @sprite.y = 0 @sprite.z = 0 # sprite's z-arrangement @sprite.opacity = 255 # opacity from 0 (invisible) to 255 (completely opaque) Upvote 0 Downvote
This is the basic framework for displaying a sprite: Code: @sprite = Sprite.new @sprite.bitmap = RPG::Cache("Graphics/picture/filenamewithoutextension") @sprite.x = 0 @sprite.y = 0 @sprite.z = 0 # sprite's z-arrangement @sprite.opacity = 255 # opacity from 0 (invisible) to 255 (completely opaque)