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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T14:50:30+00:00 2026-05-30T14:50:30+00:00

In my isometric flash game I have some models with long shadows. I want

  • 0

In my isometric flash game I have some models with long shadows. I want to ignore the mouse events (move, click, down and up) when the user performs any action on the shadow part of the image. (see sample image)

I know there is a way we can do it by creating a mask in flash. But what if I want to handle it on the .png images (bitmap)? Do I need to create a mask image for all such images? I think it will be very big deal unless there are easy ways (using tools in Photoshop).

Update:
Looking for a “codable” solution to handle the shadows (like the one Richie_W said

Get the pixel colour value where the mouse was clicked – If it is the
shadow colour you can then ignore the click

NOT a solution which involves art work, like creating mask asset or creating shadow asset etc

My friend told me cityville is not using masks but they are handling from code.

Does any one know how it can be done? OR

It can’t be programed and only way is to create masks?

Sample image

  • 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-30T14:50:31+00:00Added an answer on May 30, 2026 at 2:50 pm

    There are a number of options you could try (IMO in order of solution quality):

    • Update your system to seperate out the shadow asset from the thing casting the shadow. From there it is easy to only attach a click listener to the correct asset. This system allows for future improvements such as changing the shadow asset at runtime (Different times of the day etc) without having to deal with updating the click listener node.

    • Get the pixel colour value where the mouse was clicked – If it is the shadow colour you can then ignore the click. This is a pretty flaky solution but quick to implement.

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

Sidebar

Related Questions

I'm trying to extend an isometric Flash game based on as3isolib. The game does
I have a basic isometric map with some sprites loaded on the map in
Am updating a 2D game I made to have an isometric view, problem is
Yo everyone! I have been working on an Isometric Tile Game Engine in HTML5/Canvas
I have been working on an isometric minecraft-esque game engine for a strategy game
I am developing a axonometric (isometric, but with an angled view) tile-based game. I
What is the correct way to draw isometric tiles in a 2D game? I've
Is there a simple way to have isometric projection? I mean the true isometric
I'm working on an isometric game for fast browsers that support <canvas> , which
My problem is I Have an isometric grid, just based on the X,Y values:

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.