Results 1 to 5 of 5

Thread: rpg

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2000
    Posts
    20

    Post

    how do you stop the man from walking over the trees and stuff and how do you see cordinates of a image???

  2. #2
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088

    Post

    If you've stored your level-map in an array you can easy check if the tile where the player stands collides. (If you have them in an array you also know where this picture is).

    Demo projects:
    http://members.xoom.com/Der_Zirkel/

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 2000
    Posts
    20

    Post

    there is no arrays.
    the background is a image and the trees
    are images and the man is a image.

  4. #4
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088

    Post Bad idea

    Bad Idea

    Well, you can make this simple collision checking if any image collides with the player... I'm sure there are already some answers for this question on this board.

  5. #5
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    355

    Post

    indeed
    u need a 2d array like Map(100, 100) as TileData..

    i would have type with tile data in it
    eg

    Type TileData

    Walkable as integer
    etc.....

    end type

    I'm making an rts so i'm not too hot on rpg making, but a lot of the engine is the same.
    buzzwords are the language of fools

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