This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials
Create point and click adventures without coding. The free version covers up to 25 scenes per project. For more scenes or to earn money with your game, you need a license.
See the Indie Bundle Try it for freegame.ScrollCenterCharacter = false
game:to(3000, { ScrollPosition = {x = 1500, y = game.ScrollPosition.y} }, easeQuintOut) I tried joining this Discord server, but I was unable to do so. I am getting an error message saying 'Invite invalid'. At first, I didn't understand what it meant. I understood what it meant after reading this article https://www.thewindowsclub.com/cant-join-discord-server-fixed. Could you please send me the correct link for joining this Discord server? Maybe the invitation link has changed now. Thanks. Waiting for your response.Welcome!
A scene larger than the resolution you set in the games properties should scroll by default when the playable character reaches the edge. No need to change anything.In the scene properties you can also check the box "scroll scene if the cursor is at the screen edge". The default setting is that the scene is centered on the character. So when you move the scene by moving the cursor to the edge, the scene will return to the character as soon as you move the cursor again. If you don't want this to happen, you need to clear the centering on the character. There is an action part for this, called "center scene on character permanently" with a checkbox to clear the centering.
So that said I'm not sure what you did to scroll the scene. Do you have a first-person-game and used a script for scrolling?
Then it is easy to add easing. If you are using the to() function, just add the easing at the end, like in this example.The first line is to clear the centering of the character, but that can be done with an action part as well.The 3000 is the time taken for scrollin in ms. The scene will scroll to the x positon of 1500 and the y position is kept the same.game.ScrollCenterCharacter = false game:to(3000, { ScrollPosition = {x = 1500, y = game.ScrollPosition.y} }, easeQuintOut)Btw - the discord server is way more active than the forum. Feel free to join us there.
https://discord.gg/AwcNqbjp