Room corrupted?

Started by pakolmo, Mon 28/11/2016 05:25:05

Previous topic - Next topic

pakolmo

When I test the game I have a room all in black. (with music).
It has background and objects. The objects have animations, but all is in black.
Is my room corrupt?

Slasher

#1
Possibility:

if you put a 'blocking' element in room load (like animation block) it loops and the room will not fade in...

Example
Code: ags

function room_Load()
{
 osmoke.SetView(29);
 osmoke.Animate(0, 3, eRepeat, eBlock);
}

pakolmo

Now is solved. I was putting the code in Room_Load, now is in room_FirstLoad.

SMF spam blocked by CleanTalk