[Solved]Layer with 0 parallax make object disapear

Bugs will be moved here once resolved.

Post » Thu Apr 23, 2015 10:24 pm

Problem Description

Image

Image

____ Layer with a parallax 0, 0(or just different than 100, 100) make the object invisible ____

Attach a Capx
____ https://www.dropbox.com/s/9754acx1jxnv4 ... .capx?dl=0 ____

Description of Capx
____ i have a text object in a HUD layer with a 0 parallar, but when a run the game it disappear ____

Steps to Reproduce Bug
  • just make a layer and put it with a parallax 0, 0 with any object and run the game

Observed Result
____ the object in the hud layer just disappear, even though the debug still count it as being there ____

Expected Result
____ the object to stay there ____

Affected Browsers
  • Chrome: (YES)


Operating System and Service Pack
____ win7 ultimate ____

Construct 2 Version ID
____ beta r203 ____

it is strange because my other project prior to this one is fine and with a similar HUD layer with 0, 0
Last edited by valdarko on Fri Apr 24, 2015 3:56 pm, edited 1 time in total.
B
48
S
5
G
6
Posts: 210
Reputation: 6,277

Post » Fri Apr 24, 2015 3:06 pm

You should place the objects in the HUD layer in the dotted rectangle at the top.

This is expected behavior.

like, place the spritefont in the top most level in that layout. ie points.X = 48, points.Y = 192 , and run it.


The idea of the HUD layer is that you can use the space in the dotted square in the top left of the layout, and that objects placed here will remain in your viewport as the game runs.
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,562

Post » Fri Apr 24, 2015 3:55 pm

@lennaert

thnx man, so much in the head that i have missed this detail :D
B
48
S
5
G
6
Posts: 210
Reputation: 6,277

Post » Wed May 13, 2015 4:33 pm

Closing as not a bug.
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,454


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests