Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

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.

AGKz

Members
  • Joined

  • Last visited

  1. Greetings fellow earthlings, So I have a rather advanced question. I have a custom entity that is like the arrow. Though in my case it is all one color. In my render class I can do a simple GL11.glColor3f(1.0F, 0.0F, 0.0F) to change it all to red from code. (Or if I leave that line out then it defaults to the blank texture map thing I have created.) Thats almost to what I wanted to be able to do. My problem is once I register the entity, I can't think of a way to 're-render' it with a new custom color. I was thinking the best place to change the color would be in the entity's class. I just don't know how. I did think about multiple entities each with a different color, but that would create a lot of entities, and still not get the end effect I wanted of every color possible. Any thoughts?

Important Information

By using this site, you agree to our Terms of Use.

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.