Thread: Could you help me structuring this. Game Design newbe :/

  1. #1
    Registered User
    Join Date
    Oct 2011

    Question Could you help me structuring this. Game Design newbe :/

    Hey guys.

    I've recently started writing a little game. My problem arrived when im about to create a world loader(level loader). More specifically when i want to persist world user interaction if i could called it ("ai invoking "). Image a sidescroller game, the player moves forward and some enemy appear with an specific task. How can i persist those behaviors and invoke them after loaded? i mean which mechanism could i use to handle level predefine events.
    I hope i made it clear.

    Help would be appreciated

  2. #2
    Registered User
    Join Date
    Nov 2011
    I am struggling a bit with your question. It sounds like what you are looking for are game triggers based on proximity.

    If you are using an engine, such as Unity, UDK, CryEngine, etc... such things are built in. If you are not, you will need to roll your own, which will be composed of an event mechanism ( these vary from language to language ) that is fired when your object goes within a certain proximity of another object. This would require you to create some form of scenegraph to store your game objects in, then an iteration through it to test things such as your proximity test, which then fires the event you also need to implement.

    All told, its a non-trivial process, unless fo course you are using an engine, then simply search for "trigger" in it's documentation.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to design a game?
    By jerimo in forum Game Programming
    Replies: 9
    Last Post: 02-15-2010, 01:32 PM
  2. Game design question
    By h3ro in forum Game Programming
    Replies: 6
    Last Post: 02-28-2008, 08:20 AM
  3. Game Design
    By plutoismyhome in forum A Brief History of
    Replies: 15
    Last Post: 09-30-2007, 01:22 PM
  4. game design
    By ElastoManiac in forum C++ Programming
    Replies: 7
    Last Post: 11-14-2006, 09:31 AM
  5. Quick ? on Game design
    By Traveller in forum Game Programming
    Replies: 2
    Last Post: 09-04-2002, 08:56 PM