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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T05:53:04+00:00 2026-06-03T05:53:04+00:00

I am thinking of doing a platform game in flash. The approach towards level

  • 0

I am thinking of doing a platform game in flash. The approach towards level design I am thinking of is to have each level as an image with either a transparent or solid colour background.

Using regular hittest functions determines if one object has touched another object. In this case this will always return true.

My question is, I want a hitTest function to return true if the player character collides with any non transparent / solid colour on the level.

If I do have a transparent background I will probably have another image as a background that would move a little more than the level image to create a simple parallax effect. If I do this, the hitTest function would need to ignore the background image (I don’t think this will be an issue, but still better to specify and be called an idiot than not).

  • 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-06-03T05:53:06+00:00Added an answer on June 3, 2026 at 5:53 am

    Consider using the AS3 Collision Detection Kit as it can detect hits on colours.

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

Sidebar

Related Questions

I'm doing PHP development and I'm thinking of using one of these. I have
I have to secure a WCF RESTful service i'm thinking of doing it in
I have been thinking of doing some development with backbone.js javascript framework and i
I have been thinking of trying out component based architecture for game development. I
I was thinking of doing a head request with cURL, was wondering if this
So, I was thinking of doing something like this: zones#show /map/map_id/zones/zone_id And this: zones#index
I'm doing a layout for an account page. And I'm thinking my code looks
I was wondering, what was a good cross-platform utility for doing audio recording/ playback/
I'm thinking of doing some work in the Android space and was looking at
I need to combine an int with a void*. I was thinking of doing

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.