Swipe

Would you like to react to this message? Create an account in a few clicks or log in to continue.

Swipe Iphone Game Development Forum


    Infinite run!!!

    avatar
    Michael pw


    Posts : 202
    Join date : 2010-11-02

    Infinite run!!! Empty Infinite run!!!

    Post  Michael pw Wed Nov 10, 2010 4:01 pm

    Well im starting work on this, it works on a system where you can continuosly keep adding on blocks to it, so once it's done, we can make blocks for it after.

    i just need some probability.

    there are 10 tiers.

    10 will be rare, the main focus is the increasing speed of the ball.

    i will want to keep it around 2 to 4 tier levels and then 3 - 6 and then 5 - 8 but i want to keep a consistant balance of blocks, rather than taking early tiers out, just add in new ones.

    anyway the gradient of difficulty will also be small.

    TIER 1 - automatic, nothing needs to be done. ramps, flats. so you do nothing.
    TIER 2 - single event, either jump or speed.
    TIER 3 - single event with ramps and stuff.

    TIER 4 - two events, can be two the same or not.
    TIER 5 - Decisions, two ways to go.
    TIER 6 - Two events, more logic required.
    TIER 7 - two events still but timing will be more important.

    TIER 8 - stuff like super jump introduced.
    TIER 9 - three events.
    TIER 10 - two/three events, super jump and timing is crucial.

    Tier 1+2 blocks will always be used to connect events, most commonly only tier 1 blocks. three tier one blocks may occur in a row after a 10 tier block to give people a break.

    Just thought id outline the guidelines, im not going to bother writing the programming structure of this as i doubt anyone will actually read it and use it.
    avatar
    Michael pw


    Posts : 202
    Join date : 2010-11-02

    Infinite run!!! Empty Re: Infinite run!!!

    Post  Michael pw Mon Nov 15, 2010 5:36 pm

    BRAIN WAVE!!!

    i have worked out how to implement this!!!

    each room will be saved as a file, this file will then be copied out as a script.
    the script arguments will control the x position of the next block. the only tedious thing is saving the levels as a text file as we may end up with around 50 sections.
    avatar
    Michael pw


    Posts : 202
    Join date : 2010-11-02

    Infinite run!!! Empty Re: Infinite run!!!

    Post  Michael pw Sat Dec 04, 2010 1:49 pm

    PROGRESS UPDATE!!!

    I have got the infinite run working, it is truely infinite and every other section is a transition section.

    i am using the code:

    Code:

    if (global.section_calced) mod 2
          {
          //normal
          }
    else
          {
          //transition
          }

    the number 2 after mod can be changed, if it is set to 1, every block becomes a transitional, if it is set to 4 every 1 in 4 sections will be a transitional, this could be optimised in many ways.

    i put the latest version of the infinite run onto dropbox, it test runs a simple running demo.

    Sponsored content


    Infinite run!!! Empty Re: Infinite run!!!

    Post  Sponsored content


      Current date/time is Sat May 11, 2024 5:58 pm