{"id":13742796,"url":"https://github.com/zmLiu/StarlingFeathers","last_synced_at":"2025-05-09T00:31:51.326Z","repository":{"id":8189250,"uuid":"9617353","full_name":"zmLiu/StarlingFeathers","owner":"zmLiu","description":"整合Starling+Feathers 还有一些Starling扩展","archived":false,"fork":false,"pushed_at":"2015-09-25T01:24:52.000Z","size":4475,"stargazers_count":60,"open_issues_count":0,"forks_count":50,"subscribers_count":22,"default_branch":"master","last_synced_at":"2024-11-15T13:39:42.153Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zmLiu.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}},"created_at":"2013-04-23T07:13:48.000Z","updated_at":"2024-07-28T20:02:49.000Z","dependencies_parsed_at":"2022-08-06T21:15:15.810Z","dependency_job_id":null,"html_url":"https://github.com/zmLiu/StarlingFeathers","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmLiu%2FStarlingFeathers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmLiu%2FStarlingFeathers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmLiu%2FStarlingFeathers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmLiu%2FStarlingFeathers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zmLiu","download_url":"https://codeload.github.com/zmLiu/StarlingFeathers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253171018,"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.331Z","updated_at":"2025-05-09T00:31:49.542Z","avatar_url":"https://github.com/zmLiu.png","language":"ActionScript","funding_links":[],"categories":["User Interface"],"sub_categories":["Starling"],"readme":"StarlingFeathers\n================\n\n#####整合Starling+Feathers 还有一些Starling扩展\n#####Starling 1.7.1+ Feathers 2.0.1\n\nStarling源码的优化\n================\n\n1.关闭Enterframe事件。\n-------------------\n    (1.3的包 1.4引擎自己已经优化)\n\tstarling本身会每一帧遍历所有对象派发enterframe事件。如果对象很多效率自然下降。\n\t改用starling.events.EnterFrameManager统一管理无需每帧遍历所有对象。\n\t注册enterframe事件的方式不变。\n2.VertexData优化。\n----------------\n    (1.3的包 1.4引擎自己已经优化)\n\tmRawData改为bytearray上传数据速度提升.\n3.为DisplayObjectContainer添加了3个方法\n-------------------------------------\n\taddQuiackChild()快速添加子对象\n\tremoveQuickChild()快速移除子对象\n\tclearChild()一键清理子对象\n\t使用上面3个方法都不会派发ADD_TO_STAGE,REMOVE_FROME_STAGE事件。当平凡添加和移除子对象时效率可大大提升.\n4.使用跳帧策略.\n-------------\n\t当任务繁忙的时候渲染部分主动丢帧。\n\t\t\t\t\t\n应用级别优化\n==========\n\n1.简化starling创建流程.\n---------------------\n\t程序主类继承STLStarup\n\tStarling入口类继承STLMainClass\n\tSTLStarup主类中调用\n\tinitStarlingWithWH-\u003e根据宽高初始化starling\n    或\n\tinitStarling-\u003e初始化的starling将会充满屏幕\n\t进行初一键初始化自动适应屏幕大小。具体效果请运行查看\n\n2.封装了一部分手势\n---------------\n\tlzm.starling.gestures包\n\t\n3.添加动态纹理\n------------\n\tlzm.starling.texture.DynamicTextureAtlas\n\t可以很好的优化drw数量。底层是renderTexture\n\n4.添加一些自定义组建\n-----------------\n\tlzm.starling.display\n\tDistortImage，DistortImageContainer四角拉伸图片可拉升的图片\n\tImageViewer类似于手机上的图片查看器\n\tScrollContainer,ScrollContainerItem优化过的feathers滚动面板\n\tBaseScene通用场景 做手游比较试用.\n\t其他。。。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FzmLiu%2FStarlingFeathers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FzmLiu%2FStarlingFeathers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FzmLiu%2FStarlingFeathers/lists"}