Actor persistence?

Non-platform specific questions.

Actor persistence?

Postby linux_man007 » Tue Mar 09, 2004 6:52 pm

I know that I had asked about having rooms stay exactly the same as you had left it when you come back, but how about saving an actor in memory, so that it may move from room to room without having to save its contents to a file before the move?

Is this currently possible? If it isn't, then how would it be done?
linux_man007
 
Posts: 59
Joined: Sun Nov 23, 2003 11:35 pm
Location: Rochester, MN USA
Score: 0 Give a positive score

Postby makslane » Wed Mar 10, 2004 12:36 am

I didn't understand :roll:
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby jazz_e_bob » Wed Mar 10, 2004 2:36 am

For example:

You enter a room.
You move a book from the table onto the bed.
You leave the room.

Later, when you go back into the room, the book should still be on the bed.

I thought GE already did this. :?
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby linux_man007 » Wed Mar 10, 2004 6:02 am

Sorry, what I really meant was ACTOR PERSISTENCE.
What this means that the PLAYER ACTOR'S CONTENTS ARE STILL IN MEMORY WHEN IT LEAVES THE ROOM, THUS AVOIDING THE PLAYER'S ACTOR FROM BEING DESTROYED WHEN IT MOVES FROM ROOM TO ROOM.
linux_man007
 
Posts: 59
Joined: Sun Nov 23, 2003 11:35 pm
Location: Rochester, MN USA
Score: 0 Give a positive score

Postby jazz_e_bob » Wed Mar 10, 2004 6:21 am

Hmmmm :(

What do you mean by "room"?

Image
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby linux_man007 » Wed Mar 10, 2004 2:59 pm

A room is the same as a level or stage. :)
linux_man007
 
Posts: 59
Joined: Sun Nov 23, 2003 11:35 pm
Location: Rochester, MN USA
Score: 0 Give a positive score

Postby jazz_e_bob » Wed Mar 10, 2004 8:36 pm

I imagine you are using the system where you view relocates to different areas on the game map. Each area is a "room".

By default, all actors live all the time unless destroyed, even when they are not currently in view.

The actors persist in memory.

I think part of what you are asking is if the system can "save" rooms not currently in view to file and restore them, when needed, in exactly the same state they were in.

Hmmmm

:idea:

It may be best to post a demo of what you are doing. So hard to describe system/programming concepts with words.... :)

Image
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest