User Tag List

Results 1 to 3 of 3

Thread: moving through a infinite self-repeating map

  1. #1
    Clicker Fusion 2.5
    troshinsky's Avatar
    Join Date
    Jun 2010
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    moving through a infinite self-repeating map

    Hi,

    This is a simple problem I´m not sure how to approach.

    I´m making a top-down view game where you should be able to move infinitely in any direction. The map is randomly generated, it also generates copies of the map around it so it repeats as a tile. When you reach a border of the map you jump to the opposite border. It works nicely except for the fact that having the scrolling centerd on the character, when the jump happens all the sprites in the screen blink for one frame while being redrawn. Is there a better way to do this?

    Thank you very much!

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: moving through a infinite self-repeating map

    If you are approaching it this way you have to make a seamless border. The top screen has to be a natural continuation to the bottom screen ect. which might be a little difficult if it's randomly generated.

    Maybe simplify the outer border visuals to a grass plane or something.


    Edit:

    Silly me, you weren't having that problem where you.

    On your blinking sprites, go to properties - runtime options and set "Inactive if too far from the window to "no". Maybe that'll work.

    If not, try tinkering with the other check boxes in the runtime options, I've forgotten what most of them do.

  3. #3
    Clicker Fusion 2.5
    troshinsky's Avatar
    Join Date
    Jun 2010
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: moving through a infinite self-repeating map

    Ok, that works!

    Thanks, haven't thought it might be that, that was easy.
    And yeah, the borders do look seamless, so no problem with that.

    Thanks again.

Similar Threads

  1. Non Repeating Number Generating in IOS .
    By hcem in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 19th January 2013, 03:51 PM
  2. Non Repeating Number Generating in IOS - Possible ??
    By hcem in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 19th January 2013, 03:30 PM
  3. non repeating number?
    By gen in forum The Games Factory 2 - Technical Support
    Replies: 5
    Last Post: 31st May 2011, 04:23 AM
  4. Repeating a frame.
    By kjellm87 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 22nd May 2009, 04:11 PM
  5. No Repeating Names
    By SpineRaptor in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 20th March 2008, 03:37 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
  •