'k, so I just had an awesome idea- fake 'camera' 3D through scrolling. Basically, that means that the objects move around the stage like a camera is looking around the room with the ability to turn 360 degrees. Anyone know how to actually do this, though?
Offline
What you have to do is use sines and cosines to adjst the x, y, and size (z) of your objects. It would be a little difficult, but definitely possible. I might try to make a template for you, but I've got stuff going on, so it might not happen.
Offline
Locomule wrote:
This wasn't made to do 360 but it could be. Is it similar to what you are talking about?
I'm talking about scrolling that goes to -360º when it's at 360º, and vice-versa. That alone is easy enough, but clearly, the number of degrees must be larger [and stuff].
AtomicBomb3 wrote:
What you have to do is use sines and cosines to adjst the x, y, and size (z) of your objects. It would be a little difficult, but definitely possible. I might try to make a template for you, but I've got stuff going on, so it might not happen.
I'm talking about more of a point and click game, so you wouldn't really need a Z. Unfortunately, I just realized that when moving, in order for it to look good, the wall would have to move too xD
Offline
Mine does that. And mine doesn't operate by degrees, I never wanted to to make a circle, just back and forth. If you watch it, you will see that it uses different moving layers, like you just mentioned.
Ps. My walls move. To add degrees as you seem to be thinking, just make things scroll off one side and back onto the other. The problem would be that to have moving "walls" or layers, they must move at different speeds. Therefore to make them into a seamless, grouped rotation, they must be sized differently according to how fast they scroll. It would be far easier to make the layers into separate graphical elements of the screen (like mine has mountains in the background vs the house and stuff in front than to try to sync all the layers into one thing.
Offline
Locomule wrote:
Mine does that. And mine doesn't operate by degrees, I never wanted to to make a circle, just back and forth. If you watch it, you will see that it uses different moving layers, like you just mentioned.
Ps. My walls move. To add degrees as you seem to be thinking, just make things scroll off one side and back onto the other. The problem would be that to have moving "walls" or layers, they must move at different speeds. Therefore to make them into a seamless, grouped rotation, they must be sized differently according to how fast they scroll. It would be far easier to make the layers into separate graphical elements of the screen (like mine has mountains in the background vs the house and stuff in front than to try to sync all the layers into one thing.
lol I was talking more about the corners of the wall must move, or it won't seem very realistic
Offline
You could try and make it so it just scrolled and try to design a working corner thing, but I don't think that would work very well. The best way would be to just have either the objects that move or four different backgrounds.
Offline
AtomicBawm3 wrote:
You could try and make it so it just scrolled and try to design a working corner thing, but I don't think that would work very well. The best way would be to just have either the objects that move or four different backgrounds.
That's what I'm saying- the objects would move still, it's just the corners move too.
Last edited by Sunrise-Moon (2010-07-19 12:42:48)
Offline
Do you mean something like this? It's pretty much impossible to get a real 3D room and still have it work as a game, but this is used by club penguin I'm pretty sure.
Offline
AtomicBawm3 wrote:
Do you mean something like this? It's pretty much impossible to get a real 3D room and still have it work as a game, but this is used by club penguin I'm pretty sure.
That's exactly what I was talking about!
Offline
Sunrise-Moon wrote:
AtomicBawm3 wrote:
Do you mean something like this? It's pretty much impossible to get a real 3D room and still have it work as a game, but this is used by club penguin I'm pretty sure.
That's exactly what I was talking about!
Ok, then you can either use that or make you're own. I drew it pretty sloppy, but you do need a curve for it to work.
Offline
AtomicBawm3 wrote:
Sunrise-Moon wrote:
AtomicBawm3 wrote:
Do you mean something like this? It's pretty much impossible to get a real 3D room and still have it work as a game, but this is used by club penguin I'm pretty sure.
That's exactly what I was talking about!
Ok, then you can either use that or make you're own. I drew it pretty sloppy, but you do need a curve for it to work.
Curve? Why? Thanks
Offline
Sunrise-Moon wrote:
AtomicBawm3 wrote:
Sunrise-Moon wrote:
That's exactly what I was talking about!Ok, then you can either use that or make you're own. I drew it pretty sloppy, but you do need a curve for it to work.
Curve? Why? Thanks
![]()
That's the only way the 3D works. If you don't curve, you get just a straight line.
Offline