spacer graphic
spacer graphic
Montage of games AGS Logo
spacer graphic

 

spacer graphic
Menu
spacer graphic Home
About
News
Features
Download AGS
spacer graphic Games 
Games main page
Award Winners
Picks of the month
Short games
Medium length games
Full length games
In Production
Hints & Tips
Community
Forums
AGSers World Map
Member websites
Chat
Resources
Tutorials
FAQ
Knowledge Base
Downloads
Links
AGS-related links
* AGS Manual
  * Scripting
    * Room functions

Width property (room)

(Formerly known as game.room_width, which is now obsolete)

readonly static int Room.Width
Returns the width of the room, in 320x200-style co-ordinates. This is the same width as is displayed as the "Relative size" in the Editor.

Example:

Display("The current room size is %d x %d.", Room.Width, Room.Height);

See Also: Room.Height


User comments and notes
There are currently no user comments on this page.
The user comment facility is currently disabled.