3d carousel

Get help using Construct 2

Post » Mon Dec 12, 2011 10:20 am

How do i that effect, check this out: www.flashxml.net/3d-carousel-menu.html

B
93
S
19
G
34
Posts: 1,840
Reputation: 27,963

Post » Mon Dec 12, 2011 12:18 pm

With a neat projection matrix I guess.

http://en.wikipedia.org/wiki/3D_projection
Don't be scared :DYann2011-12-12 12:20:01
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Mon Dec 12, 2011 12:35 pm

ekhem ee... good start :D But i want only carousel without options like angle, speed, location itp
Carousel like a menu in game :)
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,963

Post » Mon Dec 12, 2011 1:26 pm

You can easily put some instance variable in a sprite for the 2D position (=where are the element in the circle). And in that matter, options like angle, speed, etc are the easiest part.

The problem is, even if you know where each element is, you will have to project their position to know where to display them in screen space. And what will be their size.

The screen X,Y position and size are values that depends on the position of the viewer (camera) and the Field Of View (how much things shrink with distance).

That's more or less 3D projection for you.Yann2011-12-12 13:26:48
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Mon Dec 12, 2011 2:54 pm

yeah lot of events i must do. Mindblow work :)delgado2011-12-12 15:14:36
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,963

Post » Mon Dec 12, 2011 4:14 pm

Well if one day I am in a good mood, nothing to do, and a matrix urge, I might try writting a lil plugin for vector/matrix operation with dot/cross product and some easy projection algo... But don't count on it, I'm still a beginner in matrix math and I don't have that much time (: (unless I get fired writting on forum instead of working /o\)Yann2011-12-12 16:14:37
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Mon Dec 12, 2011 5:59 pm

You don't have to use matrices, just some trig will work. The hardest bit is probably the depth sorting.

http://dl.dropbox.com/u/5426011/examples%208/carousel.capx
B
79
S
24
G
52
Posts: 4,725
Reputation: 39,713

Post » Mon Dec 12, 2011 6:11 pm

Very nice, R0J0hound :)
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,841
Reputation: 48,283

Post » Mon Dec 12, 2011 6:11 pm

oh yeah you pwnd me =D (and I didn't even open the capx I know it)


opened
haha Yawn :DYann2011-12-12 18:21:57
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Mon Dec 12, 2011 6:20 pm

heh
Priceless
Its ok Yann, you get used to it.:P
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Next

Return to How do I....?

Who is online

Users browsing this forum: MarkThomas, signupdemo and 0 guests