Greg Hauptmann
Registered User
Join date: 30 Oct 2005
Posts: 283
|
12-12-2005 19:58
Hi, Regarding putting in place separate scripts to hold data only, and using either (a) llMessageLinked or (b) llSay/Shout/Whisper to pass values between the CONTROLLER and the data script...is there a good sample script / framework that is available to use here? i.e. generic/re-usable script. Or in fact, following the MVC design concept (separate Model [data], View[e,g, scoreboard] and Controller functions) whether there is a good set of scripts that follow this approach/framework that could be used as a solid starting point? Tks
|
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
|
12-12-2005 21:06
I created a set of scripts that sticks to those design principles (for the most part) for the SL Public Library's in-world book terminal. I have yet to release the scripts opensource, mainly becuase I think they really need commentary. I havent had a lot of time on my hands recently, so things havent progressed on that front. Look for them in the coming few weeks. ==Chris
|
Alondria LeFay
Registered User
Join date: 2 May 2003
Posts: 725
|
12-12-2005 21:11
How much storage are you needing?
|
Greg Hauptmann
Registered User
Join date: 30 Oct 2005
Posts: 283
|
12-12-2005 21:16
Alondria - not a huge amount - just storing high score and status for say 10-20 people. So say 20 x (3 strings/numbers) for example. I am interested in the re-use concepts & best ways of doing things, hence the reason for my post.
|
Greg Hauptmann
Registered User
Join date: 30 Oct 2005
Posts: 283
|
12-12-2005 21:18
From: Christopher Omega I created a set of scripts that sticks to those design principles Chris - you wouldn't consider shooting (private mail say) me a copy I don't support - just to look at approach/technique? (i.e. I'm trying to do something now)
|
Greg Hauptmann
Registered User
Join date: 30 Oct 2005
Posts: 283
|
12-13-2005 21:12
What about this as an approach? (see designs embedded - 2 JPEGs)
|