Alpha's UI Pack

Alphalaneous

Alpha's UI Pack

Provides a bunch of extra nodes and tools:

AdvancedScrollLayer

  • Improved Scroll Layer compared to Cocos, Geode, and Geometry Dash's implementation.
  • Inertia scroll
  • Proper horizontal scroll
  • Keyboard scrolling
  • Top Left origin based
  • Scroll Units instead of manual content positioning
  • Easy to use

AdvancedScrollBar

  • Scrolls the AdvancedScrollLayer

RenderNode

  • Wraps a node and renders it to this as a sprite.

TouchDispatcher

  • Brings proper hover controls as well as Right, Middle, Button 3, and Button 4 click support.
  • Supports normal touch prio, staying consistent with Geometry Dash.

You can include everything with:

#include 

or add each header as needed.

Similarly, you can bring every namespace to the scope with

using namespace alpha::prelude;

or use each namespace as needed.

View the headers for proper documentation.

You can view the examples folder for some example code on how to use the provided classes.

1.5.0-beta.2

  • Fix hover in the editor

1.5.0-beta.1

  • 2.2091 Support

1.4.6

  • Add AdvancedScrollLayer::ScrollEvent to listen for when a scroll happens

1.4.5

  • Fix a rare crash

1.4.4

  • Fix another crash with AdvancedScrollLayer

1.4.3

  • Fix a crash
  • Fix a bug where scroll layer touch would also happen behind it and that would never get ended/cancelled
  • Code cleanup

1.4.2

  • Fix some touch issues

1.4.1

  • Fix includes

1.4.0

  • Add MirrorNode, a cleaner alternative to RenderNode
  • Fix clicking on scrollbar track with content smaller than the height of the scroll layer causing the scroll content to become invisible
  • Improve AdvancedScrollLayer touch logic, no longer relying on hacky touch prio stuff
  • Make TouchDispatcher safer
  • Add node IDs
  • Add the ability to disable keyboard scroll on AdvancedScrollLayer

1.3.4

  • Remove fix for iOS only for now

1.3.3

  • Clipping Node fix (Thanks Undefined)

1.3.2

  • Move render out of visit

1.3.1

  • Fix ABI

1.3.0

  • Add resetFBO method to RenderNode
  • Fix some RenderNode bugs
  • Fix culling being late by a frame when dragging
  • Fix crashes with QOLMod when scrolling and a RenderNode is on screen

1.2.2

  • Fix Premultiplied Alpha being false and causing dark edges on rendered nodes

1.2.1

  • Whoops, broke inertia, now I fixed it!

1.2.0

  • Add force cull method
  • Add offsetScroll methods

1.1.2

  • Revert scroll changes

1.1.1

  • Switch to events for mouse buttons and scroll

1.1.0

  • Add missing Scroll Delta getter and Setter

1.0.8

  • RenderNode fixes

1.0.7

  • Fix potential leak on orphaned RenderNodes

1.0.6

  • Fixes for Better Touch Prio mod

1.0.5

  • Fix a potential memory leak

1.0.4

  • Remove cursor support for all platforms. Too annoying to deal with.

1.0.3

  • Removing cursor support on MacOS for now. Restoring state is impossible currently.
  • Fix some ScrollLayer bugs

1.0.2

  • Reset cursor on close

1.0.1

  • Fix blending bleeding into RoundedScrollHandle and RoundedScrollTrack
  • Fix typo: AdvancedScrollLayer::setVeritcalScroll is now AdvancedScrollLayer::setVerticalScroll

1.0.1-beta.2

  • Geode Alpha 2 support
  • Switch to geode::NineSlice
  • Disable touch blocker by default (touch prio is funky), it is easier to handle that on your own as a dev
  • Bug Fixes

1.0.1-beta.1

  • 2.2081 Support
  • Fix minor bug when dragging with anything other than left click
  • Temporarily disable DevTools support

1.0.0

  • Initial Release

Original Site made by HJfod. Geode 2 parody-ish by MeFinity.

Geode-SDK is the property of the Geode Team.


This website (Geode 2, Codename Malachite) is not affiliated with the Geode Team in any way shape or form.