Project F games should be structured to separate game design, content and logic, in the goal to maximize hackability.
design
design is the audio/visual appearance of a computer game. separating design means a game can be re-skinned by only changing numbers in data files. example
content
content means levels and other digital assets that its continual release can prolong the playable lifetime of a game and provide a richer experience. content separation is done by moving all parameters out of source code into separate data files, and depending on the nature of the data, design tools should be offered to facilitate content creation. example, example2
logic
logic means system behavior of a game. sometimes, data files can contain parameters that can alter behavior. it is recommended not to represent game logic in plain text. javascript is special that data files (object literal) can contain function definition. source code should be commented with a format that can be processed to generate documentation automatically.
0 comments:
Post a Comment