Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Masks in C

Featured Replies

Ok I have a problem trying to use 2 MAKE_SPRITE images over each other with each having a mask. Im making a HUD and the problem is with my attitude card and my horizon line which goes over the attitude card. One is always blocked by the other no matter which order I list them in. They both use the same exact mask image, but each MAKE_SPRITE image of course has its own mask, Is there a way to have both images use only one mask so the masks dont overlap each other and block the other one out?

 

Thanks,

Chris

  • Author

Figured it out! Had IMAGE_CONTAINS_MASK listed in the draw flags when I didnt need one.

 

Chris

  • Moderator

Thanks for coming back to report your success, and what the proximate cause was... B)

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
  • Author

Got overjoyed to quickly! The images show up as the are supposed too statically, but moving they are jumpy and disappear and reappear repeatedly. Not sure why.

  • Author

Ok, so apparently you cannot stack images with masks over each other and put them in the same element header. they must each have a seperate element header. Works good now!

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.