3d carousel

Get help using Construct 2

Post » Mon Dec 12, 2011 6:29 pm

WOW R0J0hound You did it! WISE MAN :))))))))
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,958

Post » Mon Dec 12, 2011 6:41 pm

@R0J0hound very nice !
B
20
S
5
G
5
Posts: 163
Reputation: 4,998

Post » Mon Dec 12, 2011 6:43 pm

I wish to have that experience like R0J0hound !!
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,958

Post » Mon Dec 12, 2011 9:04 pm

[QUOTE=delgado] I wish to have that experience like R0J0hound !![/QUOTE]

You must first be enlightened with the Zen of the Grinning Hound!

@r0j0hound, nice example.
Don't see the fnords and they won't eat you!
B
75
S
16
G
12
Posts: 322
Reputation: 11,608

Post » Sat Jun 08, 2013 4:08 pm

R0J0hound: I am TOTALLY going to use this... I just have to figure out how to make the menu pop up around my player sprite when I click the mouse...

And how to make the carousel turn to the right or left by pressing Q or E instead of using the mouse...

And how to snap to the next icon when you press Q or E...

And how to make each icon a trigger for spawning a different object...

...

BUT you did a killer job giving me a jumping off point. :D lol
B
6
S
1
Posts: 62
Reputation: 532

Post » Tue Jun 11, 2013 5:42 pm

Carousel Weblinks

Heya!
I modified it so when you press an image it will take you to a website.
Mouse > On clicked Sprite > Browser > Go to "http://..."

This works! But it only allows for one link to be assigned to the 1 sprite. How would I make it so each frame can contain a unique web link.

I think the best way is to somehow identify a specific frame.
and assign it with a unique web link.

I tried using 'set frame' but no luck!

Any way of doing it without having several sprites?
B
15
S
6
G
3
Posts: 87
Reputation: 4,304

Post » Tue Jun 11, 2013 11:14 pm

Make a small, invisible box centered in the middle of the carousel. Then make a Global Variable for CurrentSpriteUID, with the value set to 0. Then make it to where when Sprite is overlapping the box, set CurrentSpriteUID to SpriteUID.

Then on Left Clicked with condition "If CurrentSpriteUID = the UID of the designated sprite," it will take you to the specific URL you assigned to that sprite.

It will work like this: https://dl.dropboxusercontent.com/u/172450407/LevelOneSoFar/index.html

(press Q and E when you are on a tree, and the tree is at 65% opacity. Move with WASD.)

I have the "purple" box linked to a build command instead of a URL. When you are on "purple," left-click.
Wigriff2013-06-11 23:18:31
B
6
S
1
Posts: 62
Reputation: 532

Post » Wed Jun 26, 2013 10:16 pm

@NECROKRIEG
Try creating a new instance variable, url, then
Mouse > On clicked Sprite > Browser > Go to Sprite.url
B
5
S
1
Posts: 26
Reputation: 479

Post » Wed Jun 26, 2013 10:36 pm

@Wigriff
@CincyPlanet

Thanks guys, I will post my findings!
B
15
S
6
G
3
Posts: 87
Reputation: 4,304

Post » Fri Jul 19, 2013 5:26 pm

You never know when something will be helpful, thank you guys.
ImageImageImageImageImageImage
B
92
S
19
G
12
Posts: 1,187
Reputation: 18,261

PreviousNext

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 21 guests