How i make a scrolling menu [SOLVED] Thanks for all

Get help using Construct 2

Post » Sun Sep 11, 2016 2:30 am

i did find other method when Sb1 is Less or Greater from Y , Then M1 set position Y ...so all item slide smooth back to right position..

i try with SB1.imagepoint(0) Greater ">" from layerparallexY+"440"<---i cant remember the right position
but this method does work right..the SB1 stop work and (mouse"Sprite") does appear again..

and last think.. i there any way to crate imagepoint on SB1 with action? like SB1 Set imagepoint 40*loopindex("i") when Event is for each 1 to 20 ...so we can have:

Imagepoint(1) = 40
Imagepoint(2) = 80
Imagepoint(3) = 120
etc...at SB1? oO ..huh i think no? oO
B
17
S
7
G
7
Posts: 205
Reputation: 5,335

Post » Sun Sep 11, 2016 2:37 pm

I like you smooth-control a lot more then what i did.

Thing is. It is a very good example. You can expect people to download it and try to do the same. Making you the Teacher.
But they will bump (when they are a beginner like i am). It will not work with 40 items in the list.
And none will share your enthusiasm to precisely handcraft 40 imagepoints.

So, i was thinking. Lets automate this.

https://www.dropbox.com/s/gu63jq5ur936h ... .capx?dl=0

That is all you work, with just another handbrake. I also optimized some cpu. Its no problem to add items to list during runtime too.
Hope i help some.
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Mon Sep 12, 2016 8:52 pm

CBelle wrote:What About this method @Gmoney and @99Instances2Go

im not Pro with C2!! but i think my personal method work as well?what you say?

i use Pin and lepr method


Smooth?

https://drive.google.com/file/d/0B8mc-_ ... sp=sharing


I like that method. That's better than mine. :mrgreen:
B
11
S
6
G
15
Posts: 256
Reputation: 9,207

Post » Mon Feb 27, 2017 6:21 pm

@99Instances2Go I went with the Smooth Scroll you created (https://www.dropbox.com/s/o8zigfbkq6xim ... .capx?dl=0) and it works very well!
My only issue is I tried to add text and the text is in reverse (from bigger to smaller).
Is there a fix for that?
Thanks!
@StylianosArts
Game studio with a portfolio of 4 Apple Featured games.
B
31
S
7
G
2
Posts: 111
Reputation: 2,422

Post » Mon Feb 27, 2017 9:12 pm

Same with spawning in the other order.

https://www.dropbox.com/s/xupduervio26y ... .capx?dl=0
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Tue Feb 28, 2017 5:09 am

Just wanted to thank everyone who posted here. The capx's, links and discussion in this thread totally helped me fix my crappy attempt at a scrolling window! Awesome thread!
B
74
S
52
G
62
Posts: 406
Reputation: 39,075

Post » Thu Mar 02, 2017 9:07 am

Thanks @99Instances2Go!
@StylianosArts
Game studio with a portfolio of 4 Apple Featured games.
B
31
S
7
G
2
Posts: 111
Reputation: 2,422

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 56 guests