![]() |
Bending Gfx
Is there anyway to bend gfx? I mean like tiles in the level. If you ever played Metroid Prime 2 and used the Annihiltor Beam at full power, thats what I mean. Is there way?
|
Does anyone have any advice?
|
I know what you mean, and i'm entirely sure that the Graal engine lacks the graphical support for that sort of thing.
|
ok thanks
|
/yet/.
If there were a way to read the RGBA of a single point, there would be a way to display it offset with the emitter... |
there is no way.. I think you might be able to change the RGBA but not read it
|
i'm not sure if we're talking about the same thing but you can showimgs and use changeimgpart to show every pixel of that image and then take it from there.
|
Graal has the graphical potential, just Torque doesnt have it built in.
|
Wait I just though of something. On GK they can bend the terrain and stuff. Can we just do that to gfxs? I suppose so since a tileset is a gfx, But, how?
|
Quote:
|
oh... hmm... :/
|
Altering the Z of a portion of an image is no different than bending an image around that portion, really...but I doubt we'd see that.
|
Edit: Didn't see this in the GS2 forums, so the script is in GS1. But it can be easily converted using the same idea.
Alright, this is an extremely poor method of creating this illusion, but I created a simple script in demonstrating it. There could be errors as I made this in about 5 minutes, but here goes anyways: PHP Code:
|
Screenshot?
|
There's a stretchx and stretchy variable; it stretches the image like the zoom variable does, but only on one axis.
I'm not sure, but I don't see why you wouldn't be able to stretch an image and then rotate it. You could make, for example, a lightning effect this way. Stretch the lightning image to be the distance from one player to the other, then rotate it so that it goes in the direction of the other player. I've used stretchx and stretchy to make some nice effects. :) |
| All times are GMT +2. The time now is 10:40 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.