Login to PixelPAD
Save your project by logging in or signing up.
USERNAME OR EMAIL ADDRESS
PASSWORD
Forgot my Password?
Don't have an account?
Sign Up For PixelPAD
Save your project by logging in or signing up.
EMAIL ADDRESS
PASSWORD
CONFIRM PASSWORD
I already have an account
Sign up as a Teacher
Create classrooms, and monitor your students.
SCHOOL NAME
EMAIL ADDRESS
PASSWORD
CONFIRM PASSWORD
I already have an account
  • Introduction
  • Game
  • Start-loop
  • Objects
  • Sprites
  • Animation
  • Sounds
  • Rooms
  • Input
  • Collision
  • Functions
  • Camera
  • Fps
  • Text
  • Filters
  • Multiplayer
  • Legacy

PixelPAD 2D - rooms

set_room(name: str) -> object

Example
Description
Changes the active room to name.
Parameters
name
The name of a room asset to set as the active room, as a string.

Return
A room object

get_room() -> object

Example
Description
Returns the active room object.
Parameters
None
No parameters.

Return
The currently active room object.

Rooms

In PixelPAD, rooms are where your game takes place. A room is defined by a room script, which is a Python program whose main purpose is to create and connect objects. You can think of a room as a "scene": a collection of game objects working together to present a specific scenario to the player. There can only be one room active at a time. To change which room is active, use the set_room function. Changing the active room will destroy all objects created in that room. To ensure objects are NOT destroyed, you must set the persistent property in that object to True. object.persistent = True
PixelPAD
About Us
Arm Build 2.8.4
Resources
Documentation
Discord
EULA
Privacy Policy
Contact Us
hello@pixelpad.io
© 2023 All Rights Reserved. PixelPAD.io
Region: us-west-1