Archived

This topic is now archived and is closed to further replies.

Shadow_Of_Spawn

adventure engine

Recommended Posts

With all the responses to my previous post (going to make adventure, need a lil help) I thought I''d continue the thread. Hopefully the response here will be favorable as well. So now I''m making an engine... Well, actually only a part of it, because DelphiX handles a lot for me (drawing on screen, audio, animation). Any suggestions and stuff are very welcome. If you think I''m going about this all wrong, please do say so (and suggest how to do it better). I have made three units so far: Items, Scenes and Sprites. The first unit contains only two classes as of yet: TInventory this is basically a list of TItems. It has procedures for adding and removing things from the list. It also keeps track of what item is currently selected. TItem this is an ancestor for all items in the game. It contains the item''s name, status and comment the actor has about this item. The second unit contains two classes as well: TSceneManager this keeps a list of all scenes(TScene) in the game and what scene is currently displayed. It also has a procedure to display a new scene. TScene this keeps track of all sprites in the scene. This includes background, foreground and itemsprites. It has procedures for adding and removing items from the scene''s itemlist. The last unit contains more classes: all of these classes are children of DelhiX''s class TSprite, which controls location, animation, collisiondetection and drawing. TPlayer ment to control the main actor(s). TStatic ment to control and display static images. TInteractive ment to control moveable/clickable images. TBackground background. all ideas are welcome, S_O_S

Share this post


Link to post
Share on other sites
just wanted to comment on your signature. S.O.S used to stand for "Software of Sweden". Cool people.

Adventure games rule!

Share this post


Link to post
Share on other sites