DerVV's Simple Popup System
#1
DerVV's Simple Popup System
Version: 1.2



Introduction
Seriously, this is a simple popup screen that can be used to generate windows that popup on the screen witn important texts. But I posted it as a skeleton for would-be script users to show how to make pop-up windows for their own systems.



Script
The Script



Instructions
Basically paste it below Scene_Debug and above Main.
When you want to run it, make a script call of $scene.begin_pop. The syntax is:
$scene.begin_pop( array_of_text )
where an array of text could be like [ "One line of text here.", "Another line of text" ]

The window will close either by player input or will close by itself if the timer setting is put to use.



Compatibility
Just for RPGMaker XP, though principles would work in other engines.



Terms and Conditions
Oh, this is a simple skeleton script. Nothing needed by me for its use. Heck, other people probably figured this routine out in no time.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
#2
(09-09-2016, 03:43 AM)DerVVulfman Wrote:
DerVV's Simple Popup System
Version: 1.0



Introduction
Seriously, this is a simple popup screen that can be used to generate windows that popup on the screen witn important texts.   But I posted it as a skeleton for would-be script users to show how to make pop-up windows for their own systems.



Script
The Script



Instructions
Basically paste it below Scene_Debug and above Main.
When you want to run it, make a script call of $scene.begin_pop.  The syntax is:
$scene.begin_pop( [i]array_of_text )
where an array of text could be like [ "One line of text here.", "Another line of text" ]




Compatibility
Just for RPGMaker XP, though principles would work in other engines.



Terms and Conditions
Oh, this is a simple skeleton script.  Nothing needed by me for its use.  Heck, other people probably figured this routine out in no time.
[/i][/i]

WAH WOAH WOAH *WHOAH*
DOES THIS ACTUALLY CREATE A FULL POPUP WINDOW SEPERATE TO THE GAME!!!! (and can you add pictures/animation!)
THIS COULD BE SO USEFUL!
[Image: SP1-Writer.png]
[Image: 55e3faa432d9efb86b8f19a6f25c0126-dawz35x.png]

new logo for Yesteryear created by Lunarberry!
Reply }
#3
It's a basic system, the Scene_Map mechanics being the basis of the Hotkey popups I use for the Lycan system. I modeled the Window class from the Window_Command class. But it's basic, so no graphics. I leave that to scripters. But you can enter one or more lines of text for things.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
#4
Minor fix BUMP time.

Nothing much.... I just added a condition so the message pop doesn't interrupt or halt the display of normal messages. Previously, it would, and that could make things look weird if a 'fading' messagebox was stuck on the screen for a time.

I didn't have to worry about that with Lycan as I used it only in the Item & Skill menus... Tongue sticking out
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
#5
Well, I'm back at work on a system that includes popup text, so I figure I might as well give this skeletal script a little


BUMP!

Version 1.2 now includes a new timer system.  Rather than just relying on the player to press a key to close the popup, the end-user may decide to instead make messages last a couple of seconds.

Again, this is merely a skeleton system, designed for script-users to learn.  Nothing like custom or variable popup delays per message were added.  And it is an either/or option.  You either use the timer to make messages vanish by themselves, OR you force the player to close the popup instead. 

Still, it can be used stand-alone if desired.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   The Wanderers: The Customizable Encounters System DerVVulfman 0 264 08-24-2024, 07:12 PM
Last Post: DerVVulfman
   DerVV's Actor Stat Points Distributor DerVVulfman 0 566 07-16-2024, 04:46 AM
Last Post: DerVVulfman
   DerVV's Point-Increasing Status Menu DerVVulfman 1 645 07-16-2024, 04:41 AM
Last Post: DerVVulfman
   DerVV's Increasing Stats DerVVulfman 1 679 07-10-2024, 02:28 AM
Last Post: DerVVulfman
   Super Simple Vehicle System - Enhanced DerVVulfman 65 94,878 06-02-2023, 06:16 PM
Last Post: Sujabes467
   Zenith Tactical Battle System Plus (ZTBS+) DerVVulfman 0 2,852 05-10-2022, 10:42 PM
Last Post: DerVVulfman
   Commercial System Package DerVVulfman 11 14,332 01-04-2020, 12:37 AM
Last Post: Pelip
   ACBS - Atoa Custom Battle System 3.2 Victor Sant 150 256,115 03-02-2019, 04:47 AM
Last Post: dragonprincess44
   Super Simple MCISendString DerVVulfman 0 4,893 03-09-2017, 04:52 AM
Last Post: DerVVulfman
   Melly-Mel's Calendar System DerVVulfman 23 43,660 12-02-2016, 04:31 AM
Last Post: DerVVulfman



Users browsing this thread: 3 Guest(s)