{"id":18271395,"url":"https://github.com/jandrad/CCLabelFX","last_synced_at":"2025-04-05T01:31:30.866Z","repository":{"id":141274589,"uuid":"1391687","full_name":"jandrad/CCLabelFX","owner":"jandrad","description":"CCLabelTTF subclass for Cocos2d with blurred shadow support.","archived":false,"fork":false,"pushed_at":"2012-07-24T00:48:56.000Z","size":716,"stargazers_count":50,"open_issues_count":1,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-25T06:33:25.306Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/jandrad.png","metadata":{"files":{"readme":"README.markdown","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}},"created_at":"2011-02-21T05:37:08.000Z","updated_at":"2016-10-16T05:05:44.000Z","dependencies_parsed_at":"2023-03-13T10:34:33.506Z","dependency_job_id":null,"html_url":"https://github.com/jandrad/CCLabelFX","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jandrad%2FCCLabelFX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jandrad%2FCCLabelFX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jandrad%2FCCLabelFX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jandrad%2FCCLabelFX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jandrad","download_url":"https://codeload.github.com/jandrad/CCLabelFX/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276043,"owners_count":20912286,"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-11-05T11:39:16.519Z","updated_at":"2025-04-05T01:31:25.853Z","avatar_url":"https://github.com/jandrad.png","language":"Objective-C","readme":"CCLabelFX\n==================\n\nCCLabelTTF subclass for Cocos2d with blurred shadow support.\n\n![](http://img51.imageshack.us/img51/7784/img0845.png)\n\n\nUsage\n-----------------------\n\nAdd the CCLabelFX folder to your project. Import \"CCLabelFX.h\" where needed.\n\nExample:\n\n\tccColor4B shadowColor = ccc4(255,0,0,255);\n\t ccColor4B fillColor = ccc4(0,0,255,255);\n        \n\tCCLabelFX *label1 = [CCLabelFX labelWithString:@\"Testing Labels with shadows\" \n                                              fontName:@\"Marker Felt\" \n                                              fontSize:30 \n                                          shadowOffset:CGSizeMake(-2,-2) \n                                            shadowBlur:2.0f \n                                           shadowColor:shadowColor \n                                             fillColor:fillColor];\n\nSee CCLabelFX.h ways to create a CClabelFX, also check out the sample project.\n\nWarnings\n-----------------------\n\n   * Since CCLabelFX is a subclass of CCLabelTTF it is expensive to create. \n   * Setting the shadow color, fill color and string is as expensive as creating a new one.\n   * When using large text with wrapping, make sure you don't use too much blur or a big shadow offset. It will generate unexpected results.\n   * Don't handle the CCLabelFX color with the color property. Instead, set the fill color.\n\nThat's it, I hope you find it useful. Suggestions and corrections are always welcome.\n\n\n\n\n\n\n","funding_links":[],"categories":["etc"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjandrad%2FCCLabelFX","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjandrad%2FCCLabelFX","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjandrad%2FCCLabelFX/lists"}