Sprite Movement: Optical Illusion

Get help using Construct 2

Post » Tue Jan 14, 2014 6:25 pm

@jobel I believe Imchucho's example already looks a lot better - still being a little off. Just thought it might have something to do with the perspective of the ship sprite. The example would look tons better if the sprite graphic was more heading toward to screen. Being like this it also moves down a bit as it should be scaling from the middle. Try playing around with its origin point.5Type2014-01-14 18:26:37
B
22
S
7
G
4
Posts: 154
Reputation: 3,709

Post » Tue Jan 14, 2014 7:22 pm

[QUOTE=lmchucho] Is this better??

https://copy.com/3Ivz1xValXo0[/QUOTE]

yes the end is better.. but it is still growing to fast at the beginning of the sequence..

I appreciate you giving it a shot!
jobel2014-01-14 19:38:37
B
100
S
33
G
16
Posts: 1,204
Reputation: 16,865

Post » Tue Jan 14, 2014 7:37 pm

[QUOTE=5Type]The example would look tons better if the sprite graphic was more heading toward to screen. [/QUOTE]

yes it's hard when this is just temp-art since the angles are not totally what will end up in the game. But I'm trying to get the sprite movement figured out.

All I really want is to be able to time size growth with movement. And for both of them to be steady. I think lerp is causing a curve in the Set Position, but it kind of works for a deceleration.. so I added lerp to the Set Scale but it doesn't seem to be the same.. of course it isn't the same..so that I think causes the ship size to be off from it's movement.

Here is the scene so far..still needs a lot of work!:

(it's all temp art and temp music)
https://dl.dropboxusercontent.com/u/36234790/CutScene1.1/index.html
B
100
S
33
G
16
Posts: 1,204
Reputation: 16,865

Post » Wed Jan 15, 2014 12:24 am

Well, I was playing around with it this afternoon too... it is hard to get it moving just right!

I ended up double scaling the ship to keep it smaller longer, which I think helps.

I am sure there are mathematical formulas to calculate the movement properly in a 3d space and then map that to the screen but I didn't have the time to figure that out. Oh, I also added sine motion to the ship after it stops to make it look like it is floating...

you can see my version at: http://www.rieperts.com/games/Ship/

and get the capx at: http://www.rieperts.com/games/Ship/sprite_movement.capx

Good luck with your project - it looks great so far! :)AllanR2014-01-15 00:28:35
B
98
S
34
G
20
Posts: 438
Reputation: 17,825

Post » Wed Jan 15, 2014 6:43 am

If I were you I'd have a look at the LiteTween plugin.

Seems to me it could be very usefull in cases like these.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Jan 16, 2014 2:14 am

[QUOTE=AllanR] Well, I was playing around with it this afternoon too... it is hard to get it moving just right!

I ended up double scaling the ship to keep it smaller longer, which I think helps.[/QUOTE]

Thanks @AllanR.. I like what you did there.. but somehow the beginning isn't right again.. although since you put that sphere below, that adds some sort of optical illusion which is pretty interesting!

It may be that cut scenes are too hard to do with 2D images drawn as 3D and moving them. Not impossible, but definitely a lot of work to make it look right!
Last edited by jobel on Fri May 16, 2014 4:02 am, edited 1 time in total.
B
100
S
33
G
16
Posts: 1,204
Reputation: 16,865

Post » Thu Jan 16, 2014 2:18 am

[QUOTE=LittleStain] If I were you I'd have a look at the LiteTween plugin.

Seems to me it could be very usefull in cases like these.[/QUOTE]

I will have to look into it.. thanks..
B
100
S
33
G
16
Posts: 1,204
Reputation: 16,865

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests