Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6875301
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:18:19+00:00 2026-05-27T04:18:19+00:00

I`m trying to make a game like Doodle Jump and I need to generate

  • 0

I`m trying to make a game like Doodle Jump and I need to generate the lines, where the character can jump on, but I have no idea how to do it, or how to store the position of each line on what the character can jump on. And there should be something to limit the number of lines as the game advances to make it more and more difficult, but without have impossible situations.

My main question is what would be a good method to store the position of each line ?
Thanks in advice

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T04:18:20+00:00Added an answer on May 27, 2026 at 4:18 am

    There is a tutorial over here which shows you how to build a doodle jump style game using HTML5 Canvas http://michalbe.blogspot.com/2010/09/simple-game-with-html5-canvas-part-1.html.

    In that example the developer creates an array of platform objects and draws them to canvas and then does some simple collision detection:

    http://michalbe.blogspot.com/2010/09/tutorial-simple-game-with-html5-canvas_19.html

    var GameLoop = function(){
    clear();
    //MoveCircles(5);
    DrawCircles();
    
    if (player.isJumping) player.checkJump();
    if (player.isFalling) player.checkFall();
    
    platforms.forEach(function(platform){
    platform.draw();
    });
    
    checkCollision();
    
    player.draw();
    gLoop = setTimeout(GameLoop, 1000 / 50);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to make a game like Chain Reaction (http://www.yvoschaap.com/chainrxn/)with C#/winform, but i can't
Trying to make simple minesweeper game in python, but have one problem. I have
Im trying to make something like an Rpg game atm but im really stuck
I'm trying to make a pong game in pygame , but i can't figure
I'm trying to make a game and for the gun class, I need every
I am just messing around trying to make a game right now, but I
I'm trying to make a Tetris-like game in XNA, and currently I'm thinking of
I have read a book and am trying to make a game of tic-tac-toe
I am trying to make a simple game in C#/XAML. I have a worker
I have just started trying to make a simple game with XNA 3.1 to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.