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.

MAKE_SPRITE - BMP question

Featured Replies

In a sprite object how do you keep the texture from repeating? On every sprite I make the texture tiles. I am doing an attitude indicator and the ball is repeating inside.Also, shouldn't I be able to make a sprite without a mask image or is it required. I thought you could use the IMAGE_CONTAINS_NO_MASK flag but seems as though it never shows up unless I use a mask image with it.

How about using one or more callback functions to limit the range for the vertical movement? This is how it's done in C. I must admit that I have no idea how it would work in XML.

  • Author
  • Commercial Member

Hey, A mask is not RGB 0,0,0. You have to use 0,0,0 only where you used 0,0,0 on the bitmap that is masked. For the other parts, use the special mask color RGB 1,1,1. I had the same problem, so this will help you out.Sincerely,Tiberiu Brasov

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.