• 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
Adrisim

2D/3D Programming related topic.

1 post in this topic

Hello, everyone. Here is a new beginner for all of you.

 

Well. Lets put this straight. 

I'm currently researching on how videogames are done. For that matter, I still don't understand how 2D/3D art, characters and such things are implemented in games. Is it part of the Engine features? Or is everything programmable? I really am confused on this. 

 

Mi idea is as follows: The programmer works with 2D/3D graphics libraries on his chosen language and use it to import art from 3Ds Max, Maya or so, on the main code for being manageable from there. That means, pressing any button move character from A to Z, while its animation is taking place. Okay, lets be clearer. The user presses any button, then the code runs that character's animation for start moving from A and then walking while the button is till pressed on, to finally run the animation for stopping when arriving at the giving Z point. 

 

Is this how it really works?.

Who does this?

How can it be done?

Is it too hard?

What does it take to accomplish such task? 

 

And then, how programmers make all that to happen on a 3D/2D full environments will complex scenes and NPL character all over the place, plus, collision detection systems and on and on. 

I really still don't get how all this is accomplished. 

Any feedback will be appreciated. 

0

Share this post


Link to post
Share on other sites

A game can be roughly divided in 3 parts:

 

- common logic

Reusable stuff that you bought, downloaded, or programmed yourself. This could be a complete engine, or at least standard libraries such as DirectX/OpenGL(3D graphics), Newton(physics) or FMOD(sound). Although the borderline is vague sometimes, this part should be isolated from the actual game more or less, meaning it can be reimplemented in another game, as it does not contain specific rules or restrictions.

 

- game logic

This part tells how the actual game is played. Game rules, how to control the "player"(whatever that is), when to win or lose, enemy AI, et cetera. It's based on what the common logic provides you, so the implementation depends on it as well. It could be just some more code in the same application. But also DLL's or script files.

 

- resources

3D models, 2D textures, animations, audio, game maps, and everything else you could load from a disc. Usually these assets are made by the artists, and loaded into your game depending on the game-mod, current level or current location the player is.

 

 

 

>> Is it part of the Engine features? Or is everything programmable?

That really depends. If you program your own game or game-engine, then of course everything is programmable. In that case, you are responsible for rendering ("drawing") your 3D stuff, as well as for loading the resources (image, animation and 3D model files). When using an engine, those functions are likely done for you. Though you still have to tell which files to load, or what drawing options are used to render something. As said, its really different for each approach, although the raw basics are the same.

 

 

As for your 3D example. This is how I would do it:

1- Artist makes a 3D file in Max, Maya, or whatever

* This contains: the 3D model itself, one or more textures(images) applied on that model, some animations eventually

 

2- Some editor or convertor tool provided by the engine, or self-made, will convert the Max/Maya/Image/xyz/ file to our own internal format

* This internal format is basically the same, but is assured to contain everything we need in our game, and loads fast.

 

3- In another map-editor, I place this 3D object I just imported into a map. So, an instance of this object is placed at a certain location. This is saved within the map data.

 

4- Now when playing the game, the engine loads the map files, and creates those object instances I made in step 3.

* This creation basically means that I'll make usable "objects" in engine & computer memory. An object for the map(s), an object for the player, objects for enemies, decodations, audio fragments, textures et cetera

* The engine knows what to do with those objects. How to play them, or how to draw them in case of visual objects.

* Visual objects are usually a bunch of vertices & triangles (a "mesh"), linked to a material (textures & shader) and maybe some animation. All this data is available in the computer RAM and/or videocard memory now.

 

5.- X(60?) times per second, the engine draws everything you should see.

* This is based on the loaded resources, how the graphics pipeline in the engine was made, shaders, and the underneath rendering API (OpenGL, DirectX, ...)

 

 

 

>> Who does this?

Someone who can draw textures, someone who can model 3D meshes, and someone who can code its own engine or at least knows how to use an existing engine. Look at any game "credits" screen.

 

>> How can it be done?

>> Is it too hard?

Hard? Yeah, I'm programming 13 years and still don't know half of it. But you don't have to start with super advanced things of course. What is your role in this? Are you a programmer? Ifso, just start with some basic programs. Tons and TONS of OpenGL / DirectX demo's that show you how to setup a first drawing screen.

 

Or, another route is to start editing existing games. Just make your own map in Halflife Source, Unreal UDK or CryEngine Sandbox. You don't have to code anything, but you get in touch with very typical game engine design. How a map is made, what kind of resources are needed, and in which programs to make them. 

 

 

>>What does it take to accomplish such task? 

Patience my friend. And a lot of love for the subject. If your goal is to quickly create something to earn some cash or whatever, then forget about it.

 

Good luck!

Rick

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