Giter VIP home page Giter VIP logo

haxegon's Introduction

Haxegon (version 0.13.0 (2018-09-04))

Haxegon is a tiny haxe programming library aimed at beginners. Haxegon is starting to get pretty stable, so you can expect the API not to change too much more before 1.0!

The current update, 0.13.0, brings support for the latest versions of OpenFL (8.4.1), Lime (7.0.0) and Starling (2.4.1). The documentation focus has been pushed back to 0.14.0 to keep things up to date!

Haxegon compiles natively to HTML5 and Desktop (Win, Mac, Linux, Neko). Flash is also supported as a legacy/development platform. Other platforms (including Mobile and Switch) are possible, and may be coming in future!

Trying it out

Interested in trying it out? First install openfl via instructions here, then you can install Haxegon using haxelib:

haxelib install haxegon

Once the library is installed, use this blank project file to get started:

[blankproject.zip]

Documentation is available at haxegon.com, and a growing selection of example projects are available here. You can also extend Haxegon with plugins, available here. More coming soon!

Last Updates

0.13.0 (2018-09-04)

About version 0.13.0

Haxegon hasn't worked with the most recent versions of OpenFL for a couple of months now, so I decided to release this version to get things back up and running. Originally the idea was that this version would focus on documentation, but that's been pushed back. A lot of the changes in this version are advanced features added for OVERWHELM, and for my current project Dicey Dungeons - though there are plenty of other fixes and improvements that will benefit everyone who uses the library!

New features

  • This version brings support for the latest versions of OpenFL (8.4.1), Lime (7.0.0) and Starling (2.4.1).
  • Added Core.enablescreen, which allows you to turn off the Haxegon screen completely. Useful if you just want to use Starling display objects directly!
  • Added Core.imagesmoothing - when true, uses bilinear smoothing when displaying images. false by default.
  • Better, faster Starling Mesh batching. (thanks, @randomnine!)
  • Optimisations to Gfx.drawsubimage(). (thanks, @randomnine!)
  • Added Gfx.drawellipse() and Gfx.fillellipse().
  • Added support for paths with ../ in Data.load functions.
  • Added Core.mobilebrowser(), which returns true if the application is being played in a browser on a mobile device.
  • Added default parameters to Save.loadvalue - e.g. var musicVolume = Save.loadvalue("MusicVolume", .5);. (thanks @increpare!)

Bug fixes/Tweaks

  • Updated Starling to v2.4.1.
  • Fixed a bug where Text.width() wasn't giving reliable values for bitmap fonts.
  • Supress default backspace key behaviour on HTML5. (It usually acts like a "back" button in browsers, which you probably don't want)
  • Added Gfx.unloadimage(). (Unloads an image, freeing up its resources.)
  • Support for higher resolution TTF fonts with Text.setfont().
  • Added Debug.limitdrawcalls for display list debugging.
  • Fixed mouse deltas on touch controls.
  • Fixed Gfx.clearscreen(Col.TRANSPARENT) - it now works as expected on all platforms.
  • Fixed a memory leak with Text.display().
  • Fixed HTML5 Fullscreen button controls.
  • Fixed Music.currentposition.
  • Fixed autocomplete issues in HaxeDevelop with Text.display().

(For a full update history, see the changelog.)

haxegon's People

Contributors

terrycavanagh avatar mrcdk avatar randomnine avatar larsiusprime avatar doppp avatar increpare avatar greyvy avatar jgranick avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.