RGSS scripting dissections and explinations
#30
(09-08-2017, 05:59 PM)kyonides Wrote: Print command is a support tool, not an actual goal, keep it away from actual scripting code unless you need it for debugging or throwing error messages at people XD. Really, people complain about them a lot. Learn how to use game windows or sprites for displaying disclaimers or timers or silly greetings.

class Sprite_MakeFunOfSiletrea
def initialize(x, y, width, lines)
super(Viewport.new(x, y, width, lines * 28))
self.bitmap = bit = Bitmap.new(width, lines * 28)
bit.draw_text(4, 4, width-8, 24, 'XP')
end
end

Bitmap... I see that a lot! What does bitmap mean? EDIT: you edited after I posted so I got the answer thx!

(My intention is to make the popup windows slightly uncomfortable so don't worry!)
[Image: SP1-Writer.png]
[Image: 55e3faa432d9efb86b8f19a6f25c0126-dawz35x.png]

new logo for Yesteryear created by Lunarberry!
Reply }


Messages In This Thread
RE: RGSS scripting dissections and explinations - by Siletrea - 09-08-2017, 06:27 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Help iwth script (RGSS Player crash) Whisper 3 8,529 06-17-2017, 05:03 PM
Last Post: Whisper
  How can I use the cmd of "require" in rgss superegp 2 5,915 11-03-2015, 06:16 AM
Last Post: kyonides
   Scripting in VX vs VX Ace Miharu 5 9,090 02-21-2015, 10:10 AM
Last Post: Taylor
   Combat animations via scripting; How? ZeroSum 2 5,112 09-20-2013, 06:58 PM
Last Post: ZeroSum
Question  RGSS stoped to work Chaos17 5 7,747 02-14-2013, 05:13 PM
Last Post: DerVVulfman
   Ruby, RGSS & General Code Discussion Kain Nobel 6 10,884 12-22-2012, 05:11 AM
Last Post: MechanicalPen
   [Request] Tut. for RGSS Eldur 9 11,907 12-07-2012, 04:27 AM
Last Post: DerVVulfman
   [ASK-RGSS] Behemoth's CBS alike Getsuga_kawaii 0 4,227 04-29-2010, 03:07 PM
Last Post: Getsuga_kawaii
   Scripting I think spazfire 7 10,170 04-12-2010, 03:21 AM
Last Post: DerVVulfman
   Beginner Scripting Tuts? KDawg08 1 4,137 03-31-2010, 11:03 PM
Last Post: Hsia_Nu



Users browsing this thread: 18 Guest(s)