/obj/techs/Overlays/Super_Spirit_Bomb_Massive_Center
icon = 'Super Spirit Bomb Massive.dmi'
icon_state = "24"
density = 0
layer = 999
New()
pixel_y = 127
Problem description:
Now the issue at hand, I've read various articles already on the limitations of pixel_y and pixel_x being at 127. (128 gave me issues).
I've created a Massive Spirit Bomb for a Dragon Ball Z game that is 49 Icons in total for a 7x7 Grid, but I wanted to have it larger than that in order to fill up most of the screen, the attack is going to be a "Finisher Move" and needs to be super awesome. (Hence the size!).
The Result so far is:
However, I would like to be able to place the Spirit Bomb farther over my head and increase it's size, but I cannot think of a way of doing it.
Actually I tell I lie, I can think of a way of doing it, but it would end up being pretty messy.
One way was making the character turn invisible, create a Cloned mob that looks exactly the same as the character that sits in the characters position.
Then move your character automatically to a few squares above, giving the impression that the Spirit Bomb has moved upwards when in fact your character was the one that moved with the overlay attached.
I came here to seek some insight on others possibly simpler ways that I might be able to achieve the same effect without having to do such a thing!
Any help will be greatly appreciated!
~ Pemalite.
The simple way to fix your problem is to have actual objects with a location equal to the pixel offset.
Also, you could just create the center actually above the character and not have it as an overlay on the player.