TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
How to scroll down a scene? SOLVED
Pages:
1
2
How to scroll down a scene? SOLVED
silvia8989
Posts: 153
December 15, 2016, 11:22:11 am
I'm making a scene like this one. Soon I'll finish the space and I don't know how to scroll down like a normal page and make other actors appear
« Last Edit: December 17, 2016, 09:33:34 am by silvia8989 »
LIBERADO
Posts: 2720
December 15, 2016, 11:29:32 am
My solutions:
http://community.stencyl.com/index.php/topic,49921.0.html
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.
silvia8989
Posts: 153
December 15, 2016, 11:40:00 am
Ok but where shall I place my new actors? There's no space left
LIBERADO
Posts: 2720
December 15, 2016, 11:46:47 am
Increase the height of your scene:
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.
silvia8989
Posts: 153
December 15, 2016, 11:51:20 am
Ok I enlarged the height. And now? Widht 10 tiles and Height 50 tiles.
LIBERADO
Posts: 2720
December 15, 2016, 11:54:36 am
Now you can place more actors.
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.
silvia8989
Posts: 153
December 15, 2016, 11:59:00 am
Can I scroll by swiping or can I place a arrow to scroll?
LIBERADO
Posts: 2720
December 15, 2016, 12:24:14 pm
To scroll by swiping, create a number attribute called "Y" and add this event to the scene:
« Last Edit: December 15, 2016, 12:34:53 pm by LIBERADO »
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.
silvia8989
Posts: 153
December 15, 2016, 02:53:34 pm
Thank you
silvia8989
Posts: 153
December 15, 2016, 03:20:18 pm
Got a problem when I press down it goes down but then when i click on the actors the screen goes up again
LIBERADO
Posts: 2720
December 15, 2016, 03:24:59 pm
I have tested it and I don't have that problem. The issue must be in other part of your code.
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.
silvia8989
Posts: 153
December 15, 2016, 03:29:01 pm
Don't know it's the same
LIBERADO
Posts: 2720
December 15, 2016, 03:35:49 pm
I guess you are using in your game some additional code which affects the camera position.
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.
silvia8989
Posts: 153
December 15, 2016, 03:38:58 pm
No other codes. Only actors behavior that switch animation upon click
LIBERADO
Posts: 2720
December 15, 2016, 03:43:10 pm
You have not replicated my code correctly.
You must place the "set Y to..." bock outside the "if..." block, not inside.
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.
Pages:
1
2