Hi,
I am using the ‘Ghosts vs Monsters’ as sample code to try and help me build something, I have been through the level1.lua file and from it built my own level.lua file.
The problem I have is my hudgroup is set to an xAxis of 0, then i’m doing the normal transition on gamegroup, however when the screen moves, the hudgroup also seems to move, whereas in the sample code, the hud sticks in the same place and doesn’t move.
At no point have I used gamegroup:insert(hudgroup) as that is the code I would expect to have the behaviour I am getting. I have also created a brand new object using:
local rectangle = display.newRect(0,0,100,100)
And as expected, that also moves on the transition whereas again on the sample code it doesn’t!
I have changed far too much to start again. Is there anything else that could cause this behaviour?
The transition is definitely on gamegroup, so I would of thought it wouldn’t affect anything that is not in gamegroup.
Any help would be appreciated! thanks
Kevin [import]uid: 72726 topic_id: 14594 reply_id: 314594[/import]
[import]uid: 52491 topic_id: 14594 reply_id: 54409[/import]
[import]uid: 52491 topic_id: 14594 reply_id: 56873[/import]