Results 1 to 4 of 4

Thread: Beginner Advice / Platform Examples?

  1. #1

    Question Beginner Advice / Platform Examples?

    Hello, I have heard of DelphiX for some time but never decided to make games using it in Delphi, until now

    I have installed the latest unDelphiX and looked through the samples provided...

    What is confusing me first of all though is how do you edit the levels for the games? All i see in the demos is the draw surface. If for example I want to make a simple platform game how do i place the monsters, characters, items etc for the levels. Is there some kind of visual level editor I am supposed to be using but cannot find or something

    I would like some help please, and also any basic platform game demos I could look at.

    Thanks in advance

  2. #2
    PGD Community Manager AthenaOfDelphi's Avatar
    Join Date
    Dec 2004
    Location
    South Wales, UK
    Posts
    1,246
    Blog Entries
    2
    Hi toon_mad,

    I'm not sure there are ready made editors as I've always written one that is specifically for the engine I was working on at the time. Typically, I think most people will do this... develop the engine and the editor in parallel so that the editor fits the engine perfectly. I don't have any example code unfortunately, but there are a number of tutorials available online about how to do this sort of thing in relation to platform games.


    Regards
    :: AthenaOfDelphi :: My Blog :: My Software ::

  3. #3
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    Quote Originally Posted by toon_mad View Post
    What is confusing me first of all though is how do you edit the levels for the games? All i see in the demos is the draw surface. If for example I want to make a simple platform game how do i place the monsters, characters, items etc for the levels. Is there some kind of visual level editor I am supposed to be using but cannot find or something
    Well how you edit your levels all depends on how you represent it. For example, if your "map" is a grid of tiles in a platform game that you can run and jump onto, like the old Super Mario Bros. games for example, then you would need an array of tiles values to represent what tiles fit into your entire game's play area. I recommend checking out Alexander Rosendal aka Travelers' game tutorials on his site. They make use of DelphiX though this is far from the standard these days. First check out the Tiles tutorial then How to create a platform game.

    It's pretty good and gives you all the basics of how to program your own tiling system and then incorporate a player that can move about your created world and run into walls and jump up onto other platforms.

    After that, if you want to read a bit more on 2D tiled game 'collision' you can check out the first issue of Pascal Gamer Magazine (free online magazine) in the Coder's Block section where Paul Nichols has an article on working with 2D tiled systems and collision detection. But don't read this first. First learn the basics by reading Alex's tutorials then you can learn the other tricks.
    Last edited by WILL; 20-01-2011 at 04:05 AM. Reason: Edited for correctness...
    Jason McMillen
    Pascal Game Development
    Co-Founder





  4. #4
    Hi, sorry for late reply.

    When i first started messing around with delphix i saw the draw surface component which i assume is where the graphics are drawn. i thought there might be a editor for the draw surface to add and move around things like enemies, platforms etc, similar to delphi form designer.

    i looked through the tutorials but cannot see download links for the platform game: http://www.gameprogrammer.net/index....c16d458d0014b9

    i cannot copy paste this as it will have the images on the dfm.

    is there any other sample i can look at?

    Thanks

Bookmarks

Posting Permissions

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