{"id":33169549,"url":"https://github.com/netgfx/Phaser-FloatingText","last_synced_at":"2025-11-20T19:00:59.763Z","repository":{"id":153618928,"uuid":"78105600","full_name":"netgfx/Phaser-FloatingText","owner":"netgfx","description":"A floating text plugin for Phaser, with many effects to choose from","archived":false,"fork":false,"pushed_at":"2020-07-20T16:47:32.000Z","size":301,"stargazers_count":49,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-17T04:33:36.824Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/netgfx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-01-05T10:59:57.000Z","updated_at":"2025-07-23T10:07:55.000Z","dependencies_parsed_at":"2023-05-20T10:45:22.470Z","dependency_job_id":null,"html_url":"https://github.com/netgfx/Phaser-FloatingText","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/netgfx/Phaser-FloatingText","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgfx%2FPhaser-FloatingText","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgfx%2FPhaser-FloatingText/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgfx%2FPhaser-FloatingText/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgfx%2FPhaser-FloatingText/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netgfx","download_url":"https://codeload.github.com/netgfx/Phaser-FloatingText/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgfx%2FPhaser-FloatingText/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285494607,"owners_count":27181443,"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","status":"online","status_checked_at":"2025-11-20T02:00:05.334Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-11-16T01:00:33.530Z","updated_at":"2025-11-20T19:00:59.756Z","avatar_url":"https://github.com/netgfx.png","language":"JavaScript","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=JCFPKZJ7Y23JJ\u0026lc=GR\u0026item_name=NetGfx%2ecom\u0026currency_code=EUR\u0026bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted"],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"\n# Phaser-FloatingText\nA floating text effect UI component for Phaser.io Javascript library\n\n## New Phaser Floating text v3 plugin! [grab it here](https://github.com/netgfx/FloatingNumbersPlugin)\n\n\u003ch3\u003eRun the floating text effect from anywhere\u003c/h3\u003e\n\n```javascript\nnew FloatingText(this, {\n    text: \"Hello Phaser!\",\n    animation: \"explode\",\n    textOptions: {\n        fontSize: 32,\n        fill: \"#ff18aa\"\n    },\n    x: 100,\n    y: 100,\n    timeToLive: 400 // ms\n});\n```\npass necesery options like: this or game (the state that the floating text will be created within), and the customization options\n\n\u003chr\u003e\n\n\u003cimg src=\"https://netgfx.com/trunk/randomPICS/ezgif.com-3ca0540923_zpsjqrkmldq.gif\"/\u003e\n\n\u003cstrong\u003eView example: \u003ca href=\"http://www.netgfx.com/trunk/games/tools/phaser-floatingtext\"\u003eComplete example\u003c/a\u003e\u003c/strong\u003e\n\n  \u003chr\u003e\n\n\u003cstrong\u003eGame Instance\u003c/strong\u003e\nThe game state that we want the floating text to appear to, such as \"game\"\n\n\u003cstrong\u003eGeneral Options:\u003c/strong\u003e\n\n\u003cul\u003e\n    \u003cli\u003e\u003cstrong\u003etext:\u003c/strong\u003e The information inside the floating text, can be String, Number\u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003ewidth:\u003c/strong\u003e The width of the floating text (default: auto)\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eheight:\u003c/strong\u003e The height of the floating text (default: auto)\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003ex\u003c/strong\u003e The x position of the floating text (default: auto based on alignment)\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003erotation\u003c/strong\u003e The amount of degrees to rotate the floating item (default: 0)\u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003ey\u003c/strong\u003e The y position of the floating text (default: auto based on alignment)\u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003eparentObject\u003c/strong\u003e The parent object that the floating text will appear at (default: null)\u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003eanimation: \u003c/strong\u003e The animation effect (default: up, options:explode, smoke, custom, directional: up, down, left, right, fade, physics)\u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003etextStyle: \u003c/strong\u003e Declares styles for the simple text element (default: {\n            fontSize: 12,\n            fill: \"#ffffff\",\n            stroke: \"#1e1e1e\",\n            strokeThickness: 1,\n            wordWrap: true,\n            wordWrapWidth: 200\n        }\u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003efixedToCamera: \u003c/strong\u003e Pins the floating text on the camera and moves with it (x,y are now camera offset) (default: false)\u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003esprite\u003c/strong\u003e Add a Sprite instead of a text to float (default: null)\u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003espriteAnimationName\u003c/strong\u003e If using an animation on the sprite, the name of the animation (default:\"\")\u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003espriteAnimationFrames\u003c/strong\u003e If using an animation on the sprite, the animation frames (default:[])\u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003espriteAnimationFrameRate\u003c/strong\u003e If using an animation on the sprite, the animation frame rate (default: 24)\u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003espriteAnimationRepeat\u003c/strong\u003e If using an animation on the sprite, if the animation should loop (default: true)\u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003espriteAnchor\u003c/strong\u003e The anchor to use on the sprite\u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003ehasBackground\u003c/strong\u003e A rounded rectangle behind the text (note: doesn't play well with explode)\u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003ebackgroundColor: \u003c/strong\u003e The color of the rounded rectangle background (default: 0x000000)\u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003edistance\u003c/strong\u003e The distance for the floating item to move (default: 40)\u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003eeasing\u003c/strong\u003e The easing function to use for animation (default: Phaser.Easing.Quintic.Out)\u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003etimeToLive\u003c/strong\u003e How much time (in ms) for the floating item to disapear (default: 600)\u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003ecustomPath\u003c/strong\u003e The custom path to use with bezier tweening, should be in the form of [{x:10, y:10},{x:20,y:20}] (default: [])\u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003ealign\u003c/strong\u003e Where to align the floating item, options: \"left, right, center\" (default: \"center\")\u003c/li\u003e\n\u003c/ul\u003e\n\n### Documentation is incomplete.\n\n\u003cstrong\u003eAPI Functions\u003c/strong\u003e\n\n\u003cul\u003e\n    \u003cli\u003e\u003cstrong\u003eshowFloatingText\u003c/strong\u003e Reveals the specific flowing text\u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003ehideFloatingText: \u003c/strong\u003e Hides the specific flowing text\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ci\u003e\n\u003c/i\u003e\n\n\u003chr\u003e\n\n\u003cstrong\u003eBuy me a coffee or tea!\u003c/strong\u003e \u003cbr\u003e\n\u003ca href=\"https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=JCFPKZJ7Y23JJ\u0026lc=GR\u0026item_name=NetGfx%2ecom\u0026currency_code=EUR\u0026bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted\"\u003e\u003cimg src=\"https://www.paypalobjects.com/webstatic/en_US/btn/btn_donate_92x26.png\"/\u003e\u003c/a\u003e\n\n\n\u003chr\u003e\n\n\u003eThe TODO list is diminising!\n\n\u003ePlease let me know if you come across some bug or have something to contribute\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetgfx%2FPhaser-FloatingText","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetgfx%2FPhaser-FloatingText","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetgfx%2FPhaser-FloatingText/lists"}