I am a teacher and I currently have my students building a game as their final project. I have a couple of students that are using scroll view but it doesn’t want to work. I don’t know if I am overlooking something simple or if it is a bug. Please, someone help me resolve this.
I can’t see the game right now, but did they stretch the area you can scroll? If they didn’t, go to its scroll view behavior and stretch it, for the left and top it needs to be a negative number
if they did that just check if they are using auto scroll? Or that they didn’t connect anything to scroll view… and the behavior has to be in the player
first one:
Autoscroll X is off. You’ll see four numbers with - and + boxes on the side, for top, down, right and left. for “Left” and “Top”, put in minus numbers. For “Right” and “bottom”, put in positive numbers. The higher the number, the more you scroll.
second one:
the first player’s scroll view seems to be working fine, why do you need one player for each level? Just use the same character in every level.
I am terribly sorry. I provided the wrong link for the first one. http://flowlab.io/game/play/530137
this is the game where the camera is consistantly off. I am familiar with how to set the scroll view. I have 60+ students and 90% have managed to do this without a problem. Its just these two I can’t figure out.
Second one…the player goes off screen and the camera doesn’t move. There is a problem where the student placed a “go to next level” on a collision with any object so its teleporting you to level 2 without having to go through level 1, and its an easy fix. but even when thats been fixed, the camera doesn’t budge.
These are middle school students that are still learning the basics. Some of them have grasped using the same character and using switches when needed. Some struggle with switches so they use a new player each time.
I’m not trying to be argumentative or difficult…Just looking for solutions.
As for immediately passing the level without going through it, you may just have the collision set to “any” instead of set to the goal object. It happens to the best of us XD
I looked at “baby monkey” thinking it was the player and saw a scroll view, however the object is not movable. Is that supposed to be there?
If it gives you too much trouble, you may just have to start over…
For the game “Justin and the Monkey”, @jngthree found the issue: Both the player (“justin 1”) object and the “grass” object have scroll view behaviors, so they are conflicting with each other. If you remove the scrollview in the grass object, it works fine.
“The Village/The Lonely Spider” has a similar issue. In this one, the player, the “grass” and the “Ground-Level” all have scroll views which are conflicting with each other. If you remove them from all but the player it behaves much more nicely.
Thank you so much! To be honest, I never thought to check for additional scrollviews. My students will be extremely excited to know the problem has been found!