MinimapOverlays and bug fixing.
We are super glad to announce that thanks to @wowjeeez we just started to port ScaleformUI to the JS community! Keep an eye to the commits and releases! ScaleformUI for the V8 community is coming!!!!! 🥳 🥳 🎉 🎉
This release brings you the super awesome ability to stream any texture you want (both ytd and DUI) on Pause Map and Minimap!!
We added both in Lua and C# the new mega extreme MinimapOverlays
class!
2 simple methods/functions to throw your aweomse textures in minimap!
AddSizedOverlayToMap(string textureDict, string textureName, float x, float y, float rotation = 0, float width = -1, float height = -1, int alpha)
andAddScaledOverlayToMap(string textureDict, string textureName, float x, float y, float rotation = 0, float xScale = 100f, float yScale = 100f, int alpha = 100, bool centered = false)
The difference between the 2 is very simple:
- The first.. lets you decide the pixel size override of your texture (for example, the texture is 1920x1080 but you want it at 400x600) (default values are -1 to keep the size to the original texture)
- The second one lets you scale your texture (from a starting
default
value of 100 , you can downscale or upscale both width or height in percentage)
Lua users, don't worry.. you're not bounded to set only float values, ScaleformUI rounds every value adding a float if you push an integer value!
What's Changed
- C# MenuHandler: fix for CloseAndClearHistory
- (Lua) C# MenuHandler: make sure the InstructionalButtons are cleared when closing everything.
- C# / Lua: Added MinimapOverlays class with examples.
- Lua Notifications: NotificationIcon is useless remove it.
- C# RadialMenu: Added InstructionalButtons methods
- C#/Lua: UIMenu add switch for 3D animations
- patch: countdown handler renders itself by @Local9 in #163
- On Card Pressed Handler by @Morji789 in #164
- fix: syntax error in JobSelectionCard by @Local9 in #165
- C#: Spam protection and making sure that the previous menu isn't empty by @QuadrupleTurbo in #166
New Contributors
Full Changelog: 4.2.0...4.2.3
❤️❤️ If you enjoy my work and my menus, and you want to support me, you can contribute by donating via PayPal / ko-fi or by buying ScaleformUI on Tebex (You decide the price!)