Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Scripts & Tutorials
Reload this Page [Essentials tutorial] Transparent Speech Box

Notices
For all updates, view the main page.

Scripts & Tutorials This forum is for scripts and code, as well as all kinds of tutorials, software, tools and so forth. Remember to give credit!
The thread revival limit does not apply here.



Reply
 
Thread Tools
  #1    
Old April 29th, 2013 (05:36 AM). Edited April 29th, 2013 by thor348.
thor348's Avatar
thor348 thor348 is offline
That's Oak to You
 
Join Date: Nov 2012
Location: Albion
Gender: Male
Nature: Calm
Posts: 136
Her's a quick tutorial for those who want to make some speech bubbles transparent.

So here is how the final product will look like:



Here's what you do:
1) Go to your Graphics Folder then the Windowskins Folder
2) Copy and paste a copy of "frlgtextskin.png" and rename it whatever you'd like.
This is how it should look:



3) Go into any image editor you prefer (I use Paint.Net) and change the copied image transparency to however you would like it.
4) Now just by doing this, you cannot change to it in the game. First you'll have to go into the script editor and add a line.
5) So go into the script editor and click on the "PokemonOptions" section.
6) Now scroll down to the part, "Stores game options" (for me it's at line 200)
7) You'll see where it says "# Default text skin - frlgtextskin"
8) Scroll down until you see "textbox19",
9) Now adjust it to where it looks like this:



10) Once you've done that, you can now change the window skin via Event Command.
Here's Where:


There ya go! Request anything, I'll try to help
Reply With Quote
  #2    
Old April 29th, 2013 (06:15 AM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 4,568
I don't recommend that you use the "Change Windowskin" event command, because it overrides the windowskin the player has chosen to use without remembering which one they were using. Your example changes it back to frlgtextskin, but it's entirely possible that they were using a different one instead, and this mucking around will annoy them.

Either use the \w[X] message command instead, or use scripts to remember and restore the user's windowskin.
__________________
Reply With Quote
  #3    
Old April 29th, 2013 (06:35 AM).
thor348's Avatar
thor348 thor348 is offline
That's Oak to You
 
Join Date: Nov 2012
Location: Albion
Gender: Male
Nature: Calm
Posts: 136
Quote originally posted by Maruno:
Either use the \w[X] message command instead, or use scripts to remember and restore the user's windowskin.
that is easier and will cause less possible trouble
Reply With Quote
  #4    
Old April 29th, 2013 (11:20 AM).
BenGames,Films, and More!'s Avatar
BenGames,Films, and More! BenGames,Films, and More! is offline
Are you not entertained?
 
Join Date: Nov 2012
Gender: Male
Nature: Serious
Posts: 131
Quote originally posted by thor348:
that is easier and will cause less possible trouble
Or you can use materialbase and just make it transparent
__________________


YouTube Channel
Deviant Art
BGFM Forums
Take a quiz about me!
I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this in your signature.
If you say "pls" or "plz" because it's shorter than "please", I'll say "no" because it's shorter than "yes".
Reply With Quote
  #5    
Old April 29th, 2013 (04:20 PM).
thor348's Avatar
thor348 thor348 is offline
That's Oak to You
 
Join Date: Nov 2012
Location: Albion
Gender: Male
Nature: Calm
Posts: 136
Quote originally posted by BenGames,Films, and More!:
Or you can use materialbase and just make it transparent
what is materialbase? is that in rmxp?
Reply With Quote
  #6    
Old April 30th, 2013 (03:51 PM).
FL's Avatar
FL FL is offline
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
Posts: 1,482
I agree with Maruno and think that his way is simpler and the player also can't change the active windowskin to a transparent one.

You can also change the alpha value of color attribute of windowskin properties, is harder, but is the right way and match to all windowskins.
__________________
Reply With Quote
Reply
Quick Reply

Sponsored Links

You may also like.. (Beta)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are UTC -8. The time now is 09:03 AM.