I'm making a game with a pseudo-3D perspective. Here is an example of the board:
The shadows would work like this:
The black object represents the shadow.@newt -
yes. I used the example you gave and it works fine, but I'm trying to get a shadow that flattens itself to match the pseudo-3D gameboard. I'm not sure if it's even possible, but perhaps I could attach my own drawn shadow using the same example you gave? I haven't tried that yet. If you know of other ways as well I'd love to hear about those, too.@manontherun -
In reference to increasing image size, I meant this: my characters are a specific size (small) and there is no room on the current images to draw a ground shadow. So, I could take the images into GIMP and then put them on a larger canvas, then draw the shadow on that canvas (because I'll have more space on the image to do it since I've put the image on a larger canvas).
I have a question for you: if I were to break each direction down by angle, would I be able to just attach a drawn image (shadow) to the main drawn image (character) in events? So, when the character moves to, say, 45 degrees the ground shadow does the same, etc.? My only concern however, is that the shadow may not move smoothly in each direction... I mean, it may look like a lot of frames are being skipped.