Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: World Builder Type Application



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.