Game Coding Complete Community

This community site is a companion to Game Coding Complete, written by Mike "MrMike" McShaffry and David "Rez" Graham. Programmers of all levels are invited to participate.

Recent Activities

  • User Avatar

    chi251155 -

    Posted a new thread: Events confusion

    Thread
    Hello all, I have some confusion about events and I have come up with an idea but I don't know if this is correct. On actor creation and destruction, there are several events. 1. RequestCreateActor 2. RequestDestroyActor 3. CreateActor 4.…
  • User Avatar

    Wolkec -

    Replied to the thread actor template.

    Post
    Quote from xXNightEagleXx: “I have a question about how to deal with persistent entities that related to each other (eg. aircraft starting in flight that has a mission which is assigned to an specific arrival airport). I see two problem to deal…
  • User Avatar

    xXNightEagleXx -

    Liked mrmike’s post in the thread actor template.

    Like (Post)
    Yeah you pretty much have it. The instance attribute is a way to give particular instances of actors unique names. They make it easier to distinguish them in the editor for setting their unique properties, such as hit points. If you didn't do that you…
  • User Avatar

    xXNightEagleXx -

    Replied to the thread Mind Map Sharing.

    Post
    Quote from rezination: “ There are two benefits here. First, accessing a component doesn't require you to jump over the Lua -> C++ boundary, which is very expensive. You want to minimize the number of times you have to jump that boundary. The…
  • User Avatar

    xXNightEagleXx -

    Replied to the thread actor template.

    Post
    I have a question about how to deal with persistent entities that related to each other (eg. aircraft starting in flight that has a mission which is assigned to an specific arrival airport). I see two problem to deal with: 1- Maintain a persistent…
  • User Avatar

    mr makarini -

    Replied to the thread First Steps in Programming World.

    Post
    Thank you for all your suggestions! I really appreciacte that. I'll text you when i make my first tetris.
  • User Avatar

    rezination -

    Replied to the thread First Steps in Programming World.

    Post
    Quote from mr makarini: “I want to some day work in some company, i know it's a serious work and it's take a long time to learn it. But i want to know, is it to early? Am i still young and stupid? Because i'm still 14. I really enjoy play video games.…
  • User Avatar

    mr makarini -

    Replied to the thread First Steps in Programming World.

    Post
    I want to some day work in some company, i know it's a serious work and it's take a long time to learn it. But i want to know, is it to early? Am i still young and stupid? Because i'm still 14. I really enjoy play video games. And for me personally…
  • User Avatar

    rezination -

    Replied to the thread Implementing the Command abstraction between view and logic.

    Post
    Quote from Neurone: “Thinking about it more, I think I may have come up with a better solution.I'd probably want a state machine for the game logic to represent the fact different things should be done depending on what mode the game is in (e.g combat…
  • User Avatar

    rezination -

    Replied to the thread Implementing the Command abstraction between view and logic.

    Post
    Quote from Neurone: “Hi, 1. Should the event system be used for sending commands to the game logic? ” Yes, probably. It depends on the types of commands. The event system presented in the book is a broadcaster style of event system. It's purpose…