Non Scrollable layer problem
dukie234
Member Posts: 12
Hi guys i've been trying to create hud system in my game project but when i tried to put the PAUSE image in non scrollable layer it would disappear when previewed. I have 3 layer, scrollable background layer for parallax image with constrain camera origin attributes, layer 1 for the rest of the game image with actor that control the camera, and non scrollable layer 2 on top for the PAUSE HUD that when touched, pause the game using another scene as the paused screen.
I've been looking for the solution here on the forum and find some advice on how to put the image in non scrollable layer, one of them is by put the image on bottom the left or right corner of the gameplay area during development. Strangely enough it works in preview mode only, and i have to constrain the HUD image X & Y position to screen size width and height to be able to positioning it correctly. When I tried to view it on my iPad using gamesalad viewer the HUD image is gone, but when I use my iPhone 4s the HUD is there! But when i touched it, the PAUSE button disappear.
Can anybody help my on this?
Cheers!
I've been looking for the solution here on the forum and find some advice on how to put the image in non scrollable layer, one of them is by put the image on bottom the left or right corner of the gameplay area during development. Strangely enough it works in preview mode only, and i have to constrain the HUD image X & Y position to screen size width and height to be able to positioning it correctly. When I tried to view it on my iPad using gamesalad viewer the HUD image is gone, but when I use my iPhone 4s the HUD is there! But when i touched it, the PAUSE button disappear.
Can anybody help my on this?
Cheers!
Best Answer
-
The_Gamesalad_Guru Posts: 9,922Make sure you drop the actor at the start of the scene area this is the area that doesn't scroll if you put it farther than the first area it will not show up as it is a non scrollable layer so say on iPad screen in landscape the HUD would need to be inside the first 1024x768 area.
Answers
I will check it out.
Thanks for the support guys!
Anyway checkout my finished games Hipopo Rescue at iTunes store..
for iPad
https://itunes.apple.com/us/app/hipopo-rescue/id631334235?ls=1&mt=8
for iPhone
https://itunes.apple.com/us/app/hipopo-rescue/id643631652?ls=1&mt=8
Cheers!
>-