How/Who create the GameObjects?

Started by
40 comments, last by Khatharr 11 years, 5 months ago
I love how no one seems to give a shit about the original question in this thread and are instead having a flame war. Icebone1000, was your question sufficiently answered or do you have further questions?
Advertisement
kunos: Learned from the masters: Andre Lamothe, Michael Abrash, Diane Gruber, etc. Yeah, living in the 90s, when programmer's used to write good code smile.png

slayemin: Very true. We must respect everyone who makes a good game/program in any language, even Javascript. "Since the programming language doesn't matter much anymore" - Thanks for sharing your opinion smile.png

Icebone1000: Hope you got your question answered. Sorry for changing the subject :|

"Who gives a shit? That's my response" - You can't respond to my claim that AA.RR.GG.BB is the best. Your response is basically, "Who cares?". RGBA requires additional instructions.

I’ll respond to it.

My engine runs on DirectX 9, DirectX 10, DirectX 11, OpenGL 3.2+, and OpenGL ES 2.0.
DirectX expects ARGB while OpenGL (and derivatives) expect RGBA.
In the grand scheme of things, those extra instructions are going to happen no matter what. If I use ARGB then I need extra shifts when I make a texture in OpenGL.
If I use RGBA then I need extra shifts when I make a texture in DirectX.

There is no right or wrong solution.
There is no “correct” way to go. If you plan on supporting both DirectX and OpenGL, you are going to lose on one side or the other.

If you plan on only supporting DirectX, ARGB is the correct solution.
If you plan on only supporting OpenGL, RGBA is the correct solution.

But neither ARGB nor RGBA is the universally correct solution. Stop saying ARGB is “the way to go”.


L. Spiro

I restore Nintendo 64 video-game OST’s into HD! https://www.youtube.com/channel/UCCtX_wedtZ5BoyQBXEhnVZw/playlists?view=1&sort=lad&flow=grid

Yo..
Ppl that draw and program are all faggots... Peace ¦D



I get most of the replies...but nox_pp post is really confusing to me, I dont get it..
Is he saying I should have not a common base? But them, how the design of the "engine" would be like..I really dont get it, and since he got 6 thumbs up, Im interested..

My first understanding of why my design is bad was that I shouldnt be so restrictive about the creation of the stuff, making my class less useful (based mostly on spiro post)
Then nox_pp says basically I shouldnt have a central management of game objects at all..i guess..??
"If you've got too many derived GameObjects for this to be feasible, that's merely an indicator that something else is wrong."
But of course it will have many derived GOs, that was the the idea since the beginning: give behavior to game objects (override Update()), give game objects to Game, Game will make them run/execute and interact..

Then uglybdavis raped some Unity design choices (o_o I see what you doing there!), but I also dont see the benefits of deriving components and adding to game objects over deriving game objects, looks like its just delegating it deeper in the hierarchy (if I get his idea correctly).

Thanks for the responses.
May I PLEASE respond to these FALSE rumors?

* "ASM IS HARD" - It's getting easier. Modern Assemblers have POWERFUL macro features to develop EASY CUSTOM syntaxes - IF, ELSE, LOOP, CLASS, etc - that are 100% PORTABLE to ANY CPU or OS. Honestly, C/C++/Java are easier overall and you should continue to use them. I'm only defending my use of ASM.

* "ASM IS NOT PORTABLE" - FALSE. Modern Assemblers are 100% PORTABLE and can generate custom code for absolutely ANY CPU or OS using special macros. Microsoft compilers produce executables that are ONLY FOR X86/WINDOWS OSs. Microsoft will NEVER support other OSs like Android, IPOD, Linux or Macintosh. We're working on Java currently. We have macros that output JVM instructions for Java-enabled CPUs, ARM, Universal ASM, etc.

* "ASM programmers are faggots" - You don't understand how ASM programmers get mistreated for being different and rejected from an entire community that used to accept us. I used to get along excellent with C++ programmers and would share inline graphics code... until the newer C++ programmers started calling me "stupid", etc. Now, new C++ programmers describe us as dumb primitive humans because they heard this from people who pretend to know ASM but don't understand its uses in the world today. In some cases, we're not allowed to post, defend ourselves or respond to FALSE statements about ASM. Is this fair? Please try to see both sides of the picture.

* "You have no argument to use ASM" - I'VE GOT A LONG LIST OF REASONS "WHY I USE ASM" BUT ASM PROGRAMMERS CAN'T DEFEND THEMSELVES AGAINST THE LIES AND MISCONCEPTIONS THAT YOU TELL BEGINNERS. YOU KNOW NOTHING ABOUT THE EVOLVED HL ASSEMBLER SYNTAXES THAT WE HAVE TODAY.

I WILL NOT RETURN HERE.
uart777:
You're perfectly welcome to respond to anything you like, the only thing people have been objecting to is the fact that you continually raise off-topic points. You decided to start talking about assembly in a completely unrelated topic, and when you were challenged part of your response was to randomly show some art, of all things.

Stop being such a drama queen -- you can respond to anything you like -- in return however you will have to respect the fact that other users may also respond to you, and will call you on it when you make false claims of your own such as insisting that only one pixel format is "correct". You should also learn to recognise a joke or sarcasm and not post lengthy serious responses to them, which you've done more than once now.


But you know what... this is all still off topic, and it isn't helping the original poster -- who isn't currently interested in learning assembly -- or anyone else. You can respond to whatever points you like, but start a new topic rather than dragging this one any further off course.


Any further responses to this topic must be on-point responses that are genuinely intended to help the original poster. Anyone wanting to continue a discussion of assembly should start a new topic -- you may post a link to it if you like.

- Jason Astle-Adams


If you plan on only supporting OpenGL, RGBA is the correct solution.

Also note that depending on chipset (i.e. PowerVR) with GLES 1.0/2.0 the native format is BGRA

Then uglybdavis raped some Unity design choices (o_o I see what you doing there!), but I also dont see the benefits of deriving components and adding to game objects over deriving game objects, looks like its just delegating it deeper in the hierarchy (if I get his idea correctly).


You should read this and search google for "composition vs inheritance".
Holy jeezus wtf happened in here ...
Sanity stack overflowed.
void hurrrrrrrr() {__asm sub [ebp+4],5;}

There are ten kinds of people in this world: those who understand binary and those who don't.

This topic is closed to new replies.

Advertisement