{"id":13307285,"url":"https://github.com/manno-xx/haxe-openfl-examples","last_synced_at":"2025-03-10T14:32:54.742Z","repository":{"id":87302392,"uuid":"56401645","full_name":"manno-xx/haxe-openfl-examples","owner":"manno-xx","description":"A collection of examples of all sorts in Haxe and OpenFL","archived":false,"fork":false,"pushed_at":"2017-06-14T09:53:33.000Z","size":17614,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2023-03-03T02:56:34.632Z","etag":null,"topics":["demo","haxe","openfl"],"latest_commit_sha":null,"homepage":"","language":"Haxe","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/manno-xx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-16T19:22:00.000Z","updated_at":"2023-01-26T16:24:20.000Z","dependencies_parsed_at":"2023-07-12T17:01:17.691Z","dependency_job_id":null,"html_url":"https://github.com/manno-xx/haxe-openfl-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manno-xx%2Fhaxe-openfl-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manno-xx%2Fhaxe-openfl-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manno-xx%2Fhaxe-openfl-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manno-xx%2Fhaxe-openfl-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manno-xx","download_url":"https://codeload.github.com/manno-xx/haxe-openfl-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242868662,"owners_count":20198526,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["demo","haxe","openfl"],"created_at":"2024-07-29T18:00:15.935Z","updated_at":"2025-03-10T14:32:54.729Z","avatar_url":"https://github.com/manno-xx.png","language":"Haxe","funding_links":[],"categories":[],"sub_categories":[],"readme":"# haxe-openfl-examples\nA collections of very basic examples in Haxe and OpenFL\n\nSee the [Wiki](https://github.com/manno-xx/haxe-openfl-examples/wiki) for a loose categorization as well as the occasional explanation with the examples.\n(all diagrams in the wiki are done with [Lucidchart](https://www.lucidchart.com/))\n\n* Actuate: Demonstrates the Actuate tweening engine. Tweening engines are mainly used for animation (movement, rotation etc.) but can do more. This demonstrates just the basics.\n* ArrayExampleOne: Using an array as a source of information. The application flicks through the items in the array until it is empty.\n* CelularAutomataMap: Map generation with Cellular automata (click the stage to step the algorithm).\n* CollisionDetectionAABB: Demo of the basic collision detection using OpenFL's hitTestObject() and a variation that allows for more control. (AABB = Axis Aligned Bounding Box).\n* CollisionDetectionDistance: Demo of the basic collision detection using basic mathematics: A squared + B squared = C squared.\n* EditableTextOpenFL: Demo of how to make an editable text field.\n* FontDisplay: Demo of how to show 'special' fonts in Flash and Neko.\n* Grids: Examples of how to build a basic grid of items (lovely magenta rects in this case).\n* KeyboardEvent_01: A very minimalistic example for registering keypresses (run it and press a key to see it work).\n* KeyboardMovement: The very basics of making something move based on keyboard events.\n* KeyboardMovement_02: Movement based on keyboard events and a velocity vector.\n* KeyboardMovement_03: Demo of better Keyboard controlled avatars with only _one_ class to do the registration of which keys are pressed. Each avatar has its own key set it responds to\n* MoveToFront: How to move one element in front of all others. For example when you click on it.\n* MoveTowardsBasic: Make one thing move towards another based on their relative positions and the direction from the one to the other.\n* PlaySound: Simple demo of how to play a sound file with pause functionality.\n* PlaySoundSimple: Even more Simple demo of how to play a sound. Also uses SoundTransform.\n* ScreenSwitcher: A demo to display screens defined in seperate classes. Uses enums and a kinda singleton pattern.\n* SingletonDemo: Demonstrates the use of the Singleton design pattern.\n* SpriteAnimation: Use of the Tilesheet example to play sprite sheet animations independent from application framerate.\n* StateMachine: Demonstrates the State pattern.\n* StaticVariables: A small demo on how to create and use your own static variables (opposed to the unavoidable Event.ENTER_FRAME, Keyboard.UP, etc.).\n* StringInterpolation: An example on how to combine variables into Strings (make sure you see the debug output).\n* TimeBasedAnimation: Simple example of making something move based on time instead of frames.\n* UIProgressBar: Example of a bar indicating progress of some sort.\n* URLLoader: How to load data (HTML, JSON, XML) from a remote URL.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanno-xx%2Fhaxe-openfl-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanno-xx%2Fhaxe-openfl-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanno-xx%2Fhaxe-openfl-examples/lists"}