S
Sqoler
Guest
I made a warp object for my 3/4 RPG game, but when my character uses the warp, it becomes invisible. The 'camera' does switch between rooms, and the character does technically move (I can go back to the previous room), but I can't see the sprite. Persistent has already been turned on.
This is the code for the warp object:
Create:
var targetRoom, targetX, targetY;
Collision:
room_goto (targetRoom);
objplayer.x = targetX;
objplayer.y = targetY;
Creation code:
targetRoom = room_2;
targetX = 416;
targetY = 64;
Please let me know what I did wrong, or how I can fix this.
This is the code for the warp object:
Create:
var targetRoom, targetX, targetY;
Collision:
room_goto (targetRoom);
objplayer.x = targetX;
objplayer.y = targetY;
Creation code:
targetRoom = room_2;
targetX = 416;
targetY = 64;
Please let me know what I did wrong, or how I can fix this.