Room > 3D View > Play Room (⌃R, or the game controller button over the 3D view) runs the room's player right there in the view, as GameMaker runs it, so you can try its moves and its idle, walk, run, jump, fall, land, hurt and die without building the game. It's Room 3D's Play mode (F5 there; in Studio F5 is the debugger and F8 is VR, so Play Room is ⌃R).
- Keyboard: W A S D or the arrows move, Shift runs, Space jumps. H hurts the player and K kills it (K again brings it back), to try its Hurt and Die (in a game, your code does that:
r3d_player_hurt(),r3d_player_die(),r3d_player_revive()). - Gamepad: the left stick moves (past the player's dead zone), A / Cross jumps, the left trigger or pressing the left stick runs, the right stick looks round.
- Mouse: right-drag in the view looks round (first- and third-person cameras), the wheel zooms a third-person camera.
- Use: E (or Space when the player can't jump: its jump height 0, a classic shooter's controls), a gamepad's X or Y: classic doors, switch exits and push walls.
- Esc, ⌃R or the stop button in the bar stops. An edit (a menu command that changes the room, Undo, another room) stops it first.
While playing, the keys go to the game first (K, H and Space aren't the editor's then), clicks don't select, and the bar at the bottom of the view shows the state and the clip playing.
It moves and animates the player with the GameMaker kit's own rules, ported line for line: its moves (first person, third person, top-down, side-scroller), speeds, jump, gravity and turning; the kit's collision (r3d_move) against every solid collision shape in the room (boxes, spheres, capsules, meshes): stopped by walls and sliding along them, walking up steps as high as 20 units and slopes up to 46°, landing on platforms and falling off edges; the movement state machine (Idle, Walk, Run; Jump then Fall; Land; Hurt; Die) over its roles' clips, each blending into the next over its Blend time. The view shows it through the room's first game camera (its kind, distance, height, angle, smoothing, coming in front of walls); a room without one is seen from behind the player the way the view looked when Play started, and the moves go that way.
A recorded walk, run, jump and turn replayed in Play gives the same path as the game built with Igor, to within 0.0002 units over 11 seconds.
Nothing changes: when it stops every thing is back where it was, the view is as it was, and no file is written (it isn't an undo step).
Pickups, keys, doors, exits and push walls play too (see Pickups, keys and doors): E is Use (Space when the player can't jump, a gamepad's X or Y), the counts show at the top left and messages at the top.
Not in Play yet (they work in GameMaker): things on paths and moving platforms, sound areas, outfits, billboards' animations (the view shows each billboard's first frame). A ridden vehicle as the player rides (see Riding in Play): E gets off and on (and is Use for pickups and doors). A room with nothing solid under the player: it stands on the view's floor (the bar says so); in GameMaker it would fall, so give the room a floor with a solid shape.
Related topics
Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.