• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
Icebone1000

How/Who create the GameObjects?

41 posts in this topic

"are you writing software renderers?" - Yes. Pure software rendering using only CPU instructions.

"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. Edited by uart777
-1

Share this post


Link to post
Share on other sites
[quote name='uart777' timestamp='1351183086' post='4993843']
"are you writing software renderers?" - Yes. Pure software rendering using only CPU instructions.

[/quote]

are you suggesting everybody should write software renderers?
0

Share this post


Link to post
Share on other sites
"are you suggesting everybody should write software renderers?" - No, just explaining my perspective. He asked, I answered. Why are we way off subject here? Edited by uart777
-1

Share this post


Link to post
Share on other sites
[quote name='uart777' timestamp='1351183506' post='4993846']
"are you suggesting everybody should write software renderers?" - No, just explaining my perspective. He asked, I answered. Why are we way off subject here?
[/quote]

but do you realize your "perspective" is based on a tech that nobody has been using for over 15 years? Current generation programmer just DON'T CARE about these things because they are hidden far far away.. and because they are probably trying to solve much more interesting problems.
Seriously, you should get out more and try to learn something else other than those 2 tricks you've learned 15 years ago. You have no idea how much software development has changed, and trust me, it's all good stuff.

Conservative programmer, is a contradiction in terms. Edited by kunos
1

Share this post


Link to post
Share on other sites
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?
1

Share this post


Link to post
Share on other sites
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 [img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img]

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 [img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img]

Icebone1000: Hope you got your question answered. Sorry for changing the subject :| Edited by uart777
-2

Share this post


Link to post
Share on other sites
[quote name='uart777' timestamp='1351183086' post='4993843']
"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.
[/quote]
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.

[i]There is no right or wrong solution.[/i]
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 [i]universally[/i] correct solution. Stop saying ARGB is “the way to go”.


L. Spiro Edited by L. Spiro
2

Share this post


Link to post
Share on other sites
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.
0

Share this post


Link to post
Share on other sites
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.
-2

Share this post


Link to post
Share on other sites
[b]uart777:[/b]
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 [i]art[/i], 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 [i]still[/i] 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 [i]new[/i] topic rather than dragging this one any further off course.


[b]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 [i]start a new topic[/i] -- you may post a link to it if you like.[/b]
0

Share this post


Link to post
Share on other sites
[quote name='L. Spiro' timestamp='1351214423' post='4993993']
If you plan on only supporting OpenGL, RGBA is the correct solution.
[/quote]
Also note that depending on chipset (i.e. PowerVR) with GLES 1.0/2.0 the native format is BGRA
1

Share this post


Link to post
Share on other sites
[quote name='Icebone1000' timestamp='1351295701' post='4994294']
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).
[/quote]

You should read [url="http://en.wikipedia.org/wiki/Composition_over_inheritance"]this[/url] and search google for "composition vs inheritance". Edited by Kamikaze15
0

Share this post


Link to post
Share on other sites
HEY GUYS

Remember when this thread was about "How/Who create the GameObjects?"

Right now, I just make the GameObjects myself, and use something like World::add(GameObject obj) to add it to the game world. I don't use any factories or anything, because my GameObjects have various types of subclasses depending on the game. For instance, a puzzle game has a BoardPiece, a space shooter has a Ship, a sidescroller has BouncySpring, etc. where all these would be subclasses of the class GameObject as defined by my framework.
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0