Click here to Skip to main content
15,513,571 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: organizing everything visible on screen Pin
Calin Negru7-Aug-22 0:21
Calin Negru7-Aug-22 0:21 
GeneralRe: organizing everything visible on screen Pin
Gerry Schmitz7-Aug-22 7:54
mveGerry Schmitz7-Aug-22 7:54 
GeneralRe: organizing everything visible on screen Pin
Greg Utas7-Aug-22 8:11
mveGreg Utas7-Aug-22 8:11 
GeneralRe: organizing everything visible on screen Pin
Calin Negru7-Aug-22 19:18
Calin Negru7-Aug-22 19:18 
GeneralRe: organizing everything visible on screen Pin
Gerry Schmitz7-Aug-22 8:06
mveGerry Schmitz7-Aug-22 8:06 
GeneralRe: organizing everything visible on screen Pin
Calin Negru7-Aug-22 21:07
Calin Negru7-Aug-22 21:07 
GeneralRe: organizing everything visible on screen Pin
Greg Utas8-Aug-22 1:47
mveGreg Utas8-Aug-22 1:47 
GeneralRe: organizing everything visible on screen Pin
Gerry Schmitz8-Aug-22 8:23
mveGerry Schmitz8-Aug-22 8:23 
I hacked Ultima XX way back when: it was all tables. I find that even with OOP, tables (dictionaries) have their place. VB 6 was component based; sort of like dependency injection; a pattern often overlooked.

For my game blocks that have a "line of sight", I inject (attach) a line of sight control that can show in the UI.

Tables, components and (yes) I have some "adapters" that are descended from a base class, including virtual methods (different historical versions of various tables); so, it all "depends" and reworking is part of the path as the "mental model" evolves.

P.S.

You also need to think about the best / easiest way to save the whole "game state" and restore it at some point. Then we get into "programming" scenarios / map points, etc.


"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I


modified 8-Aug-22 13:50pm.

GeneralRe: organizing everything visible on screen Pin
trønderen8-Aug-22 9:28
trønderen8-Aug-22 9:28 
GeneralRe: organizing everything visible on screen Pin
trønderen8-Aug-22 9:10
trønderen8-Aug-22 9:10 
GeneralRe: organizing everything visible on screen Pin
Mohsin Ali Shah 202222-Aug-22 4:48
Mohsin Ali Shah 202222-Aug-22 4:48 
AnswerRe: organizing everything visible on screen Pin
Member 150787168-Aug-22 17:17
Member 150787168-Aug-22 17:17 
QuestionSecuring oAuth Client Id and Secret Pin
Kevin Marois27-Jun-22 8:29
professionalKevin Marois27-Jun-22 8:29 
AnswerRe: Securing oAuth Client Id and Secret Pin
jschell23-Oct-22 12:17
jschell23-Oct-22 12:17 
Questioncode organisation Pin
Calin Negru31-Jan-22 8:36
Calin Negru31-Jan-22 8:36 
AnswerRe: code organisation Pin
Bohdan Stupak4-Feb-22 5:05
professionalBohdan Stupak4-Feb-22 5:05 
AnswerRe: code organisation Pin
Richard MacCutchan4-Feb-22 5:56
mveRichard MacCutchan4-Feb-22 5:56 
GeneralRe: code organisation Pin
Calin Negru4-Feb-22 9:48
Calin Negru4-Feb-22 9:48 
GeneralRe: code organisation Pin
jschell17-Feb-22 12:12
jschell17-Feb-22 12:12 
GeneralRe: code organisation Pin
Calin Negru19-Feb-22 2:39
Calin Negru19-Feb-22 2:39 
GeneralRe: code organisation Pin
jeron119-Feb-22 8:03
jeron119-Feb-22 8:03 
GeneralRe: code organisation Pin
Calin Negru19-Feb-22 9:10
Calin Negru19-Feb-22 9:10 
GeneralRe: code organisation Pin
Richard MacCutchan19-Feb-22 22:44
mveRichard MacCutchan19-Feb-22 22:44 
GeneralRe: code organisation Pin
Calin Negru25-Feb-22 10:41
Calin Negru25-Feb-22 10:41 
GeneralRe: code organisation Pin
Richard MacCutchan25-Feb-22 23:17
mveRichard MacCutchan25-Feb-22 23:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.