Re: World Builder Type Application
Re: World Builder Type Application
- Subject: Re: World Builder Type Application
- From: Erik Buck <email@hidden>
- Date: Wed, 9 May 2007 15:53:41 -0400
I am not familiar with "World Builder", but what you are describing
sounds like Flash games reminiscent of Myst, and there are literally
thousands of them available: <http://www.flash-game.net/free-games/
adventure-games.php>
There are even more available via a simple Google search.
One simple game engine in Cocoa would use a custom view to display
scenes and a text view to display rich text describing the scene and
player options. Using child windows and transparency, the text could
be layered over the scenes. The text could be read to users via
Apple's speech synthesis.
Core data could be used to store the connected graph of scenes...
[off the top of my head]
Scene Entity:
Picture [attribute]
Description [attribute]
Player choices [to many relationship (inverse of Player Choice Scene)]
Previous choices [to many relationship (inverse of Player Choice
Next Scene)]
Player Choice Entity:
Player Choice Description [attribute]
Some script to execute [attribute]
Scene [to one relationship (inverse of Scene Player choices)]
Next Scene [to one relationship (inverse of Scene Previous choices)]
- The user interface would display a scene picture, scene
description, and list of available player choices.
- Player would select a choice.
- The script for the selected choice is executed followed by display
of next scene
Use an existing script language like F-Script. The Scene Picture
could be just an NSImage displayed in an NSImage View. Choices could
be displayed in a table view carefully configured to not look like a
table view. I think this application could be built using Cocoa with
almost no code. Just add the content: the artwork (images) and
textual descriptions.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden