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 3391514
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T03:48:43+00:00 2026-05-18T03:48:43+00:00

Hey guys, I’m trying to make a puzzle bubble clone but I’m stumped on

  • 0

Hey guys, I’m trying to make a puzzle bubble clone but I’m stumped on how to handle the background stuff. Mostly with the fact that the lines don’t match up (i.e: instead of a bubble having another no top of it, one on the upper-left and one on the upper-right, it has one on the upper left and one on the upper right http://dl.dropbox.com/u/680263/puzzle_bobble_2.jpg) and how to determine which bubbles pop when I make shot (and which fall) without making a brute-force algorithm that would make my i7 cry.

Can anyone give some sugestions on how to handle this?

  • 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-18T03:48:43+00:00Added an answer on May 18, 2026 at 3:48 am

    Does it have to be a multi-dimensional array? How about a “bubble” structure like this:

    typedef struct t_bubble_tag {
       t_colour colour; /* whatever else you want to store about your bubble */
       struct t_bubble_tag pUpperLeft;
       struct t_bubble_tag pUpperRight;
       struct t_bubble_tag pLeft;
       struct t_bubble_tag pRight;
       struct t_bubble_tag pLowerLeft;
       struct t_bubble_tag pLowerRight;
    } t_bubble;
    

    Then when you pop a given bubble, you can do a tree traverse down both ways and sideways both ways, and get rid of any “island” of bubbles that are not eventually attached to the top wall. Bear in mind bubbles can be supported by “arms” of other bubbles from the side or below.

    I suspect that this is less storage efficient, but more speed efficient, than using a multi-dimensional array.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey guys, am trying to write to do type casting in java, but i
hey guys, i'm getting an exception on the following inner exception: {Value cannot be
Hey guys i wrote a quick test. I want delete to call deleteMe which
Hey all. Newbie question time. I'm trying to setup JMXQuery to connect to my
Hey guys, I got the same error when I was using kiwi to install
hey guys, I have mypage.com/user-login.php?action=register and I want to be able to call mypage.com/register
hey guys, i have a usercontrol within the default email compose form, I want
hey guys, i have a string which contains say 100 words, now i want
Hey guys - I am having trouble setting up my Django urls file correctly
Hey guys, I'm just starting out with GWT and am getting the following error

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.