Save/Load doesn't do Spritefont Text Alignment

Bugs will be moved here once resolved.

Post » Wed May 13, 2015 7:05 am

Problem Description
Using the "load" system action does not properly load (or save) a Spritefont's text alignment.

Attach a Capx
https://copy.com/HVQxZwHPFF4uvOW3/bug_s ... download=1

Description of Capx
2 layouts:
  • "Start". Has a button to take you to the next layout. It also has a "load" button.
  • "Game". Has a spritefont with left aligned text, with code that changes it to be right aligned after a second. It also contains a save button.

Steps to Reproduce Bug
  • Preview the game (it should begin with the "start" layout)
  • Click the "start" button
  • Wait a second and notice how the spritefont's text alignment changes
  • Click on the "save" button
  • You have now been taken back to the starting layout
  • Click on the "load" button

Observed Result
The text is aligned left. It appears as if the Load actions did not load the text alignment.

Expected Result
The text should be aligned to the right.

Affected Browsers
  • Chrome: YES

Operating System and Service Pack
Windows 7, everything upto date

Construct 2 Version ID
r204
B
147
S
73
G
20
Posts: 1,785
Reputation: 22,420

Post » Thu May 14, 2015 10:47 am

Thanks, should be fixed in the next build.
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,240


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 5 guests