User Tag List

Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 38

Thread: Random Map Generator?

  1. #1
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Random Map Generator?

    I'm sick and tired of always having to make another level just to make the player play my game for a minimum of 2 hours.

    A 5 minute game has no real impact and will not sell for anything.

    Is there a good series of events that will automatically create a level for me?

    Diablo and Worms use map generators.




    All I know about so far is:

    Pathfinder Extension: Generate Maze

    Setting an active's different directions to the different tiles of your game and spreading them everywhere and making them all different directions with one event is quite good too.

  2. #2
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Random Map Generator?

    It would depend wholly on what type of game you have. And no, just creating random tiles is an absolutely horrible idea. That way, you have a mess of a level, and in most cases it is unplayable. Now if you specify what type of game you plan on making a random map generator for, it makes it much easier to devise a method to accomplish it.

  3. #3
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Random Map Generator?

    I haven't decided exactly what type of game. Platform, Top-Down, Isometric or First Person.
    I'd imagine making a 2D Level Generator would be easier than making a 3D Level Generator but all 4 types of game perspectives stated above can use both 3D Levels and 2D Levels.

    So really this is more of an all-ideas-welcome rather than a just-help-me.

  4. #4
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Random Map Generator?

    Quote Originally Posted by dragonguy
    I haven't decided exactly what type of game. Platform, Top-Down, Isometric or First Person.
    I'd imagine making a 2D Level Generator would be easier than making a 3D Level Generator but all 4 types of game perspectives stated above can use both 3D Levels and 2D Levels.

    So really this is more of an all-ideas-welcome rather than a just-help-me.
    You don't know what type of game your making, you plan on selling it, and you want a map generator for it? And no more 3D, we are past that. But if you plan on making a random map generator, at least lay down the foundation for what type of game you are planning to make. We can't simply throw around ideas for 100 different styles of games that it is possible to make a map generator for. There is an isometric map generator example by Andos, which you can find on his website. And since Platformers are from the side and Top-Downs are from above, they have two totally different styles of maps. We aren't simply going to make them all.

  5. #5
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Random Map Generator?

    A 3D level is a completely different concept than a 3D Game, A platform game for example may consist of multiple platforms within the same area one in the layer 1 and one in the layer 2.

    3D level means it simply has a X Y Z axis to position everything to, it still has to have a static camera like any 2D Game.

    I looked at the Iso-Grid Extension Examples, they are 3D Levels but in a 2D Game and Wolfenstein 3D has 2D Levels but is a 3D Game, you understand?

    And one thing, Isometric and Top-Down Map Generators can be interchangeable.

  6. #6
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Posts
    2,023
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Random Map Generator?

    As someone said on the old forums: Here's a powertool for you to try!
    http://www.clickteam.com/CTforum/search.php3?Cat=

    Xinok or whatever he was called that made his own image format and the cypher object made some examples

  7. #7
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Random Map Generator?

    There is nothing in the old forums about a random map generator.

  8. #8
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Random Map Generator?

    Yes there is

  9. #9
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Random Map Generator?

    The search engine says there isn't.

  10. #10
    Clicker Multimedia Fusion 2

    Join Date
    Sep 2006
    Location
    Britain, South Coast
    Posts
    1,030
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Random Map Generator?

    OK!

    I'm full of tuna Sandwich, so I'm gonna make some suggestions!

    If you just create random tiles, the level will lack any kind of order. You need a way for randomness to create a kind of almost threaded structure.

    A technique for creating landscapes is to simply generate, say 4 points at random X and Y locations. Each point will have a random state set (mountain, water, valley, etc), and also a scale and randomnoscityness (heehee) setting.

    So the scale might determine how big the water spot is, what its radius is like. The randomnoscityness(tm) setting determines how rAnDOm will be the circumference. So 0 would make a nice smooth circle. 50 would cause a big wobble in the circumference. Just like drawing a circle with a compassus, and constantly shrinking and growing the arm distance.

    This lets us create a pond with random-looking edges.

    One of the random point types may be PATH NODE. This allows you to draw paths. You'd want to draw one path at a time, so perhaps start like this: (Peudocode I'm afraid)

    Set Number of Paths to (RANDOM)
    //This means we have only 1 path in the map, or many

    FOR EACH PATH
    Set Number of Nodes to (RANDOM)
    //Each path is assigned a random number of points, to a minimum of, say, 2.

    ...FOR EACH NODE
    ...Set position to X(random) Y(random)
    ...//Place that node randomly. You could enhance this by limiting the range, so the next node must be within a certain distance or angle from the previous node.


    Then, draw an imaginary, mathematical line between the points for each path in turn, and apply a random amount to work as an offset. This can cause wobbles in the path, so it doesn't look straight.

    Once all the data is collected together, render it.


    That's the mindset anyway. Use lots of low random numbers together, interpolate (join) them, and use another set of random numbers to create variations in the interpolations. This lets you have a random-looking map whilst still maintaining a measure of structure.

    Try playin with that and you should come up with some interesting results!!

    Tuna gone

Page 1 of 4 1 2 3 ... LastLast

Similar Threads

  1. Random Names Generator
    By byo in forum Released Extensions
    Replies: 18
    Last Post: 28th January 2014, 10:27 AM
  2. Random Color Generator App
    By Eliyahu in forum File Archive
    Replies: 4
    Last Post: 2nd January 2010, 09:15 PM
  3. Random Dungeon generator?
    By Jacob in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 17th May 2008, 01:52 AM
  4. Random object generator
    By maestro1 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 18th March 2008, 06:56 PM
  5. Random Number Generator
    By bkfitww in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 10th December 2006, 12:30 AM

Posting Permissions

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