{"id":13742771,"url":"https://github.com/Gamua/Starling-Extension-Particle-System","last_synced_at":"2025-05-09T00:31:46.522Z","repository":{"id":55080265,"uuid":"2315855","full_name":"Gamua/Starling-Extension-Particle-System","owner":"Gamua","description":"A particle system for the Starling framework, compatible with the \"Particle Designer\" from 71squared.com","archived":false,"fork":false,"pushed_at":"2024-07-25T07:28:27.000Z","size":143,"stargazers_count":323,"open_issues_count":1,"forks_count":144,"subscribers_count":58,"default_branch":"master","last_synced_at":"2025-04-02T07:27:38.143Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Gamua.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2011-09-02T19:05:16.000Z","updated_at":"2024-11-05T13:59:21.000Z","dependencies_parsed_at":"2024-08-03T05:01:28.664Z","dependency_job_id":"0453bec0-13ee-407f-ac7d-a87b771ee466","html_url":"https://github.com/Gamua/Starling-Extension-Particle-System","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gamua%2FStarling-Extension-Particle-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gamua%2FStarling-Extension-Particle-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gamua%2FStarling-Extension-Particle-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gamua%2FStarling-Extension-Particle-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gamua","download_url":"https://codeload.github.com/Gamua/Starling-Extension-Particle-System/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253171004,"owners_count":21865275,"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":[],"created_at":"2024-08-03T05:00:36.044Z","updated_at":"2025-05-09T00:31:46.029Z","avatar_url":"https://github.com/Gamua.png","language":"ActionScript","funding_links":[],"categories":["User Interface","Multimedia"],"sub_categories":["Starling"],"readme":"Starling Extension: Particle System\n===================================\n\nThe Starling Particle System classes provide an easy way to display particle systems from within the [Starling Framework][1]. That way, adding special effects like explosions, smoke, snow, fire, etc. is very easy to do.\n\nThe extension consists of three classes:\n\n1. `Particle`: stores the state of a particle, like its position and color\n2. `ParticleSystem`: the base class for particle systems. Implements a very simple particle movement. To create a custom particle system, extend this class and override the methods `createParticle`, `initParticle`, and `advanceParticle`.\n3. `PDParticleSystem`: a particle system subclass that can display particle systems created with the  [Particle Designer][2] from 71squared.\n\nInstallation\n------------\n\nWhich version to download depends on the Starling version you are using:\n\n* If you work with a release version of Starling, download the Particle System with the equivalent tag (Starling 1.1 -\u003e Particle System 1.1).\n* If you work with the latest development version of Starling, download the head revision of the Particle System. \n\nAfter downloading, you will find the three classes described above in the `src`-directory. You can either copy them directly to your Starling-powered application, or you add the source path to your FlexBuilder project.\n\nDemo-Project\n------------\n\nThe `demo`-directory contains a sample project. To compile it, add a reference to the Starling library and add the source directory that contains the particle system classes.\n\nThe project contains 4 sample configurations. Switch between configurations in `Demo.as` by \nhitting the space bar.\n\nSample Code\n-----------\n\nThe class `ParticleSystem` extends `DisplayObject` and behaves accordingly. You can add it as a child to the stage or any other container. As usual, you have to add it to a juggler (or call its `advanceTime` method once per frame) to animate it.\n\n    // create particle system\n    _particleSystem = new PDParticleSystem(psConfig, psTexture);\n    _particleSystem.emitterX = 320;\n    _particleSystem.emitterY = 240;\n    \n    // add it to the stage and the juggler\n    addChild(_particleSystem);\n    Starling.juggler.add(_particleSystem);\n\n    // start emitting particles\n    _particleSystem.start();\n\n    // stop emitting particles\n    _particleSystem.stop();\n\nMore information\n----------------\n\nYou can find more information in the [Starling Wiki](http://wiki.starling-framework.org/extensions/particlesystem).\n\n[1]: http://www.starling-framework.org\n[2]: http://particledesigner.71squared.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGamua%2FStarling-Extension-Particle-System","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGamua%2FStarling-Extension-Particle-System","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGamua%2FStarling-Extension-Particle-System/lists"}