By: Joni Brown & Jen Denicola COSC 471 Spring 2007 Professor Jeff Schmitt March 13, 2007 Abstract: The Sims is a a strategic life simulation computer game where you develop a person and/or environment from the ground up.
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
COSC 471 Spring 2007
Professor Jeff Schmitt
March 13, 2007
1. User Input
2. Computer Requirements
1. Programming Language
Wikipedia - http://en.wikipedia.org/wiki/The_Sims
The user can also choose what type of environment the people are in, such as furniture, paint, walls, yard, background, etc.; basically, the entire world.
In order to keep up the world, the user will need to do basic things like controlling the bathing, feeding, and social interaction of the people.The Sims Gameplay
To make things interesting, users can exchange sims online and watch them interact.The Sims Gameplay
The major negative about this game is that is a single user game. However, EA Games does plan on coming out with a multiplayer version of the game (if they haven’t already).The Sims Gameplay
The set of behaviors consist of a procedure that implements it, a procedure that checks to see whether or not it is possible, and a set of advertisements that describe its properties in terms of what need(s) of a Sim it will satisfy.The Sims Design
Once they choose a behavior, the procedure for that behavior (which is part of the object) is then run in the thread of the Sim itself, so that it has access to that Sim’s parameters in addition to those of its defining environment (the object the behavior is from).The Sims Design
Sometimes there are a number of intermediate objects to implement behaviors.
For instance, Social Interaction is an object that is created and used when two Sims interact.The Sims Design
When SimSam decides to run the kiss behavior (which is in SimMary) an invisible social interaction object is created.
The execution of SimSam’s thread is then passed into this object (as is SimMary’s if she’s not busy).
(Access to the parameters
of the chosen Sim is
provided through a
pointer in the Social
Interaction object.)The Sims Design
Notice that this means objects can be dynamically created and destroyed during the execution of a behavior.The Sims Design
That is what provides the illusion of simultaneous activity in the simulated world.
This is also why there is a fair amount of setup that must be done when entering a routine that uses animation, and careful checking on exit.The Sims Design
Behaviors are implemented in terms of procedures, called trees because of the visual programming language that Edith uses.
The intent of the visual programming language is to make it easier for content developers to create objects, and perhaps someday support end-user programming.
Statements in this visual language are represented by boxes.The Sims Design