generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Game Design
Home Search
 

Re: ScrollingFrame Help?

Previous Thread :: Next Thread 
IthacaMedia is not online. IthacaMedia
Joined: 25 Jan 2014
Total Posts: 1337
06 Jan 2015 11:39 AM
How would I make the ScrollingFrame vertical scroll start at the bottom, and then players scroll upwards initially instead of downwards? I tried setting the CanvasPosition to the max value, and that seems to work, however it snaps back to the top when I test it. Any way to get rid of that/another way to do this?
Report Abuse
IthacaMedia is not online. IthacaMedia
Joined: 25 Jan 2014
Total Posts: 1337
06 Jan 2015 12:03 PM
Given that this is doable of course, if it's not doable, please tell me!
Report Abuse
robloxking240 is not online. robloxking240
Joined: 19 Aug 2010
Total Posts: 7049
06 Jan 2015 12:10 PM
Have a (preferably local)script set the position. For example, this will put the default ScrollingFrame start scrolled down:
script.Parent.CanvasPosition = Vector2.new(0, 1242)
Report Abuse
IthacaMedia is not online. IthacaMedia
Joined: 25 Jan 2014
Total Posts: 1337
06 Jan 2015 02:30 PM
Thanks, worked like a charm :D
Report Abuse
IthacaMedia is not online. IthacaMedia
Joined: 25 Jan 2014
Total Posts: 1337
06 Jan 2015 02:53 PM
Im having a minor issue with it now though, which is that right now I'm using Scale for the rest of the Gui, but since the CanvasPosition property uses pixels, how can I make sure it's the bottom for different screen resolutions?
Report Abuse
IthacaMedia is not online. IthacaMedia
Joined: 25 Jan 2014
Total Posts: 1337
06 Jan 2015 06:37 PM
Bump
Report Abuse
IthacaMedia is not online. IthacaMedia
Joined: 25 Jan 2014
Total Posts: 1337
06 Jan 2015 09:45 PM
Bump
Report Abuse
IthacaMedia is not online. IthacaMedia
Joined: 25 Jan 2014
Total Posts: 1337
07 Jan 2015 10:31 AM
How can I convert Scale to Offset?
Report Abuse
IthacaMedia is not online. IthacaMedia
Joined: 25 Jan 2014
Total Posts: 1337
07 Jan 2015 06:16 PM
Or keep the ScrollingFrame at the bottom no matter the screen resolution?
Report Abuse
IthacaMedia is not online. IthacaMedia
Joined: 25 Jan 2014
Total Posts: 1337
07 Jan 2015 08:06 PM
How would I go about doing this?
Report Abuse
IthacaMedia is not online. IthacaMedia
Joined: 25 Jan 2014
Total Posts: 1337
08 Jan 2015 09:53 AM
Is there a way?
Report Abuse
robloxking240 is not online. robloxking240
Joined: 19 Aug 2010
Total Posts: 7049
08 Jan 2015 02:37 PM
Setting the CanvasPosition's Y higher than its maximum automatically sets it to the maximum, although I've had some problems with it setting it to around 85% of the maximum 1/5 of the time when I switched to scale.
Report Abuse
IthacaMedia is not online. IthacaMedia
Joined: 25 Jan 2014
Total Posts: 1337
08 Jan 2015 07:02 PM
Aah ok thanks. I did that temporarily, but it shows a minor error in the output saying that it got set to the max instead, which is what I want, but since it's a LocalScript, players will see that message, which I don't want. Is there any way to hide it?
Report Abuse
IthacaMedia is not online. IthacaMedia
Joined: 25 Jan 2014
Total Posts: 1337
09 Jan 2015 12:12 PM
I tried using pcall, but that still didn't remove the message. I don't want the clients Dev Console spammed with these messages.
Report Abuse
IthacaMedia is not online. IthacaMedia
Joined: 25 Jan 2014
Total Posts: 1337
09 Jan 2015 08:41 PM
I guess it's good enough, but I would really appreciate it if someone could help me remove the message :P.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image