How to get rid of the gray area around a platform
EggeyGames
Member Posts: 51
Hello, I was creating my first platformer and when I tried to get my actor to stand on the actual platform it stood on top of a gray area above the platform. For example when I click on my actor it automatically switches to the block since it shows that I clicked inside of the gray area of the block. Also I am using the Windows version in case that makes a difference.
Thanks in advance, Eggey
Thanks in advance, Eggey
Best Answers
-
allc1865 Posts: 777Check out Jamie Cross's platformer tutorials. He's on a Mac, but I'm sure the same principal applies.
-
gyroscope I am here.Posts: 6,598
Sure, you need to use a Crop tool, to select just the platform area and so getting rid of anything around it. I'm not familiar with Paint but it must surely have a crop tool…or Gimp or Inkscape must have a crop tool, for certain.
Tip: when you've cropped it, make a note of its new size and make sure to make your platform actor that size (or half of it if you've Resolution Independence checked) before you bring in the updated image. (Or after, doesn't matter which order).""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Answers
Hope this helps!
Go to a photo sharing site (my favourite is imageshack.com) upload your image.
You'll be taken to a page with a bunch of different kinds of links, choose the direct link and copy that link. Then come back to the forums and put, <$ing src="link here">. But leave out the dollar sign $
Hope that helps!
Hi @EggeyGames try cropping/resizing your block image in your Paint program without any background to it, )i.e the image is the exact same size as the block graphic) and re-import into GSC. Could be that.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Save it to your Desktop or somewhere easily accessible. Go into your photo sharing site. If you're using ImageShack.com, create an account or log in if you already have one.
Once you've logged in, click upload in the top right hand corner
click browse & upload > upload your image > click direct as the type
after you click on direct, it'll give you the link underneath.
And it's , I messed up in my previous comment.
Hope this helps!
Hi, I think you are misunderstanding what I'm saying, maybe? But then again, my guess at what your problem is might be wrong… or right…
OK, this is what I think you had or you've got, either version A or version B, i.e one has a grey background extending around your platform, the other has that grey deleted, and is shown transparent. Both, or either, will give you your problem…
So if you have either A or B, you want to delete the background around the image of your platform like in C, then providing the feet of your player hasn't anything under them, in other words, the feet are right at the bottom of your player's image, it'll be seen to stand on the platform.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
hope helps.