projectitis / heapsmore

Extension library for the heapsIO/heaps haxe game engine with advanced features

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Heaps::more

Heaps::more is an extension library for use with the Heaps Game Framework, written in Haxe and open-sourced under the MIT license.

Current status

Very much a work-in-progress.

Just finished developing an equation parser. It handles functions and variables, and has callbacks to support custom functions, variables and constants. It also supports useful functions for working with color, such as darken, lighten and tint. This EqParser will form the basis for my JX (Json eXpanded) parser.

Package structure

The package structure is similar to Heaps:

  • m2d - 2D-related classes
  • m3d - 3D-related classes
  • mxd - 2D/3D agnostic classes
  • examples - Examples :)

TODO

  • Working scroll bars

Changes

2020-05-29

  • Wrote an equation parser (mxd.EqParser)! Handles many common math functions, custom variables/functions/constants, and also color functions (like darken, lighten and tint)

2020-05-20

  • UI: Changed sockets to use drag/drop instead of click/click

2020-05-19

  • UI: Added Socket class to dock cables to
  • Examples: Added Socket example

2020-05-17

  • UI: Changed to use h2d.col.Bounds and removed custom Rect class
  • UI: Started scrollbars and scroll areas
  • Tools: Added easing equations based on AHEasing
  • UI: Started Cable class for approximated rope physics (catenary curves). Not intended to be accurate, just visually pleasing!

2020-05-05

  • UI: Added table formatting to flow. Added auto-height and width support to UI elements

2020-05-03

  • UI: Rudimentary Flow object (pinterest style columns)

2020-05-02

  • UI: Redo entire UI system from scratch using lessons learned so far!

2020-04-28

  • UI: Created Param for relative sizes (supports px, %, pw, ph, vw,vh)
  • UI: Started UIApp (extends hxd.App) specifically for an m2d.ui based app
  • UI: Working on creating UI DOM from JSON file (supports font loading and stylesheets). WIP

2020-04-21

  • Color: Added 140 predefined colors (the css3 colors). Added color helpers
  • Borders: Added border rendering (no radius support yet)

2020-04-20

  • TextArea: Fixed glyph alignment. Added JustifyFull. Added character spacing. Lots of improvements
  • Background: Fixed percentage-sized backgrounds. Added corner radius (only works with colored backgrounds)

2020-04-19

  • TextArea: Fixed width and maxWidth

About

Extension library for the heapsIO/heaps haxe game engine with advanced features

License:MIT License


Languages

Language:Haxe 100.0%