Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

Click here to join us on IRC (#charas on irc.freenode.net)!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Need a solution.
« previous next »
  • Print
Pages: [1]

Author Topic: Need a solution.  (Read 5913 times)

Offline Bumblebat

  • Initiate
  • *
  • Posts: 6
Need a solution.
« on: November 10, 2010, 08:33:06 AM »
So, basically, I've started using RPG Maker again, and it has been a very, very long time since I've used it last. I'm doing a test run, and I've tried importing new sprites (some of my own, and some that have been posted here.) My problem is that when I choose a sprite for the graphic of a character or event or what-have-you, the ones that I've imported are showing up with a little colored square as the background and I don't know how to go about making this transparent. I've looked around and tried messing with it in paint, but I can't seem to get rid of the little colored square background of my new sprites. Any help or suggestions would be appreciated. Thank you!
Logged

Offline fruckert

  • Star-Star-Star-Star
  • Sage
  • *
  • Posts: 8,148
  • Not intended for public consumption
Re: Need a solution.
« Reply #1 on: November 10, 2010, 09:30:06 AM »
It's a jpg, isn't it?
You have to save a character file as a png, instead.
Jpg has artifacting around pixels, to make it smaller. Png doesn't.
Logged
Quote
Ellie: I had a slice of ham in my hand. I was going to drop it, so I slapped it hard. It attached itself to the wall

Offline Bumblebat

  • Initiate
  • *
  • Posts: 6
Re: Need a solution.
« Reply #2 on: November 10, 2010, 10:28:22 AM »
Quote from: fruckert on November 10, 2010, 09:30:06 AM
It's a jpg, isn't it?
You have to save a character file as a png, instead.
Jpg has artifacting around pixels, to make it smaller. Png doesn't.
Thank you. I'll try that.
Update: I tried saving it as a .png, and I'm still having the same problem of the background of the sprite sheet showing up as a colored square around my sprites. I need a way to make the background of the sprite sheets transparent.
« Last Edit: November 10, 2010, 10:32:47 AM by Bumblebat »
Logged

Offline fruckert

  • Star-Star-Star-Star
  • Sage
  • *
  • Posts: 8,148
  • Not intended for public consumption
Re: Need a solution.
« Reply #3 on: November 10, 2010, 11:41:35 AM »
If it's been saved as a JPG once in the past, it'll always have the corruption around the edges.
Where'd you get the sprites?
Logged
Quote
Ellie: I had a slice of ham in my hand. I was going to drop it, so I slapped it hard. It attached itself to the wall

Offline Bumblebat

  • Initiate
  • *
  • Posts: 6
Re: Need a solution.
« Reply #4 on: November 10, 2010, 12:49:18 PM »
Quote from: fruckert on November 10, 2010, 11:41:35 AM
If it's been saved as a JPG once in the past, it'll always have the corruption around the edges.
Where'd you get the sprites?
Here.
Logged

Offline SaiKar

  • KOFFING!
  • Staff
  • Royal
  • *
  • Posts: 4,082
Re: Need a solution.
« Reply #5 on: November 10, 2010, 12:50:55 PM »
If I'm reading this right, it's not .jpg corruption but just the file not having background transparency. When you add stuff to the game, you should ALWAYS do it via the resource manager. In addition to making sure you've got the right sizes and color depth, this lets you click on the background of the image (which will then start flashing a little) so that the game knows what color to make transparent. Give that a shot.
Logged

Offline zuhane

  • Freakalicious
  • Leader
  • *
  • Posts: 2,192
  • Kill me
Re: Need a solution.
« Reply #6 on: November 10, 2010, 01:24:25 PM »
Bumblebat, here's a breakdown from the very beginning. The two most common formats seen in
RPG Maker are 256-colour bitmaps and PNGs. You can save a paint image as either of these files and
use them in-game.

256-colour bitmaps will always work in RPG Maker, but have reduced colour quality.

PNG images are of much higher quality, but you must do something before you can use them. Photoshop is required
for this. You must open your PNG image in Photoshop first, then at the top of Photoshop, click the tab called "Image"
and then scroll down to "Mode", then "Indexed PNG". This allows the PNG to retain its high quality, but blocks out
other colours from the image. This Indexed PNG can then be used in RPG Maker, but if you edit it in Paint or something,
prepare to Index is again in Photoshop.

As for the boxes around the edges of characters... well... don't place the charsets, pictures, chipsets, etc, directly into
the RPG Maker folders. Instead, open RPG Maker and click on the "Import Resources" button at the top. Find the picture,
then click the area you want transparent. It should flash. This means that the flashing colour won't be seen in-game.
This should be all you need to start having happy, successful times in RPG Maker!!

Hooray, everyone's happy! Look:

« Last Edit: November 10, 2010, 01:26:36 PM by zuhane »
Logged
Geese ruined my life.

https://soundcloud.com/tom-kingston-3/geese

Offline drenrin2120

  • Global Moderator
  • Sage
  • *
  • Posts: 6,101
Re: Need a solution.
« Reply #7 on: November 10, 2010, 03:36:49 PM »
Quote from: zuhane on November 10, 2010, 01:24:25 PM
Bumblebat, here's a breakdown from the very beginning. The two most common formats seen in
RPG Maker are 256-colour bitmaps and PNGs. You can save a paint image as either of these files and
use them in-game.

256-colour bitmaps will always work in RPG Maker, but have reduced colour quality.

PNG images are of much higher quality, but you must do something before you can use them. Photoshop is required
for this. You must open your PNG image in Photoshop first, then at the top of Photoshop, click the tab called "Image"
and then scroll down to "Mode", then "Indexed PNG". This allows the PNG to retain its high quality, but blocks out
other colours from the image. This Indexed PNG can then be used in RPG Maker, but if you edit it in Paint or something,
prepare to Index is again in Photoshop.

As for the boxes around the edges of characters... well... don't place the charsets, pictures, chipsets, etc, directly into
the RPG Maker folders. Instead, open RPG Maker and click on the "Import Resources" button at the top. Find the picture,
then click the area you want transparent. It should flash. This means that the flashing colour won't be seen in-game.
This should be all you need to start having happy, successful times in RPG Maker!!

Hooray, everyone's happy! Look:



Irfanview is free and does the same thing.


and what ze hell man?
Logged

Offline Prpl_Mage

  • Administrator
  • Sage
  • *
  • Posts: 7,645
  • The Administrator Mage
    • Check out our itch website
Re: Need a solution.
« Reply #8 on: November 10, 2010, 07:45:15 PM »
Wow, you guys... What Sai said and the last part of what Zuhane said.


Lad, just click the background when you import the sheets (in the previes) and the squares will disappear from in-game.
It's about you choosing that the background colour should be transparent. In some cases they will already flash when you import them which means that the creator pre-made that colour transparent.
Logged
Cool RPGM Project!
Sprite till you die

Oh my god, this was ...10 years ago...

Offline fruckert

  • Star-Star-Star-Star
  • Sage
  • *
  • Posts: 8,148
  • Not intended for public consumption
Re: Need a solution.
« Reply #9 on: November 11, 2010, 12:39:09 AM »

See, this is why I don't usually help anyone.
I don't know anything about 2K3
Logged
Quote
Ellie: I had a slice of ham in my hand. I was going to drop it, so I slapped it hard. It attached itself to the wall

Offline Prpl_Mage

  • Administrator
  • Sage
  • *
  • Posts: 7,645
  • The Administrator Mage
    • Check out our itch website
Re: Need a solution.
« Reply #10 on: November 11, 2010, 12:48:18 AM »
Well Fruck, If they say "Square" - it's most likely the import-transparacy problem.
If they say "Messed up" or "pixel explosion" it's most likely a JPEG problem.
And the last version is Colour depth / size / non-png issues.
Logged
Cool RPGM Project!
Sprite till you die

Oh my god, this was ...10 years ago...

Offline Bumblebat

  • Initiate
  • *
  • Posts: 6
Re: Need a solution.
« Reply #11 on: November 11, 2010, 12:54:05 AM »
Thanks for the help, everyone. I ended up just having to uninstall RpGmaker and getting it from a different source.
Logged

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Need a solution.
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum