Results 1 to 5 of 5

Thread: problem with environtment

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Location
    Jakarta, Indonesia
    Posts
    1

    Unhappy

    hello...people

    Right now i'm writing a simple strategy game about mech. but i'm having a problem for environtment detecting. I want to make the mech I'm controlling be able to be aware of the object around it wether it's a tree, a wall, or an enemy mech. I don't have the slightest idea for the syntax nor the algorithm for it, anybody can help me with this problem ??

    PS : do you know the syntax in VB6 wich stands for the syntax GET in QBasic ??

  2. #2
    Guest
    If the game universe is not 3 dimesional (no flying or
    jumping), i would use a simple 2D array and fill it with
    vamues that say "i'm a tree", or "i'm a bad guy".

    Another point. Dont use the term "Mech". That word is
    owned by FASA (Microsoft, now?). Use "Mecha", or
    "Giant Robot Thing".

    Z.

  3. #3
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    They can't own a word! Mech is simply a short form for mechanized. Ah well, if they want to file a lawsuit against us then use mechanized infantry in a short form for your game title or something:

    --M.I.W--
    Mechanized Infantry Wars
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  4. #4
    Guest
    When your character moves to a new spot on the map, you could check the item beside you by checking the byte that follows yours or is behind your in your byte array.
    Code:
    Const OBJECT_TREE = &H2
    
    If Map(Mychar.X - 1, Mychar.Y) = OBJECT_TREE Then MsgBox "There is a Tree beside you"

  5. #5
    Guest
    No, really. FASA (Microsoft?) owns the words BattleMech, and Mech, and any other words that relate to BattleTech (and Im pretty sure theyd sue, if you tried to make money =).

    Z.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width