{"action":"opened","issue":{"url":"https://api.github.com/repos/LuizZak/JelloSwift/issues/1","labels_url":"https://api.github.com/repos/LuizZak/JelloSwift/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/LuizZak/JelloSwift/issues/1/comments","events_url":"https://api.github.com/repos/LuizZak/JelloSwift/issues/1/events","html_url":"https://github.com/LuizZak/JelloSwift/issues/1","id":66455865,"number":1,"title":"Switch rendering engine for the demo scene","user":{"login":"LuizZak","id":6502879,"avatar_url":"https://avatars.githubusercontent.com/u/6502879?v=3","gravatar_id":"","url":"https://api.github.com/users/LuizZak","html_url":"https://github.com/LuizZak","followers_url":"https://api.github.com/users/LuizZak/followers","following_url":"https://api.github.com/users/LuizZak/following{/other_user}","gists_url":"https://api.github.com/users/LuizZak/gists{/gist_id}","starred_url":"https://api.github.com/users/LuizZak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuizZak/subscriptions","organizations_url":"https://api.github.com/users/LuizZak/orgs","repos_url":"https://api.github.com/users/LuizZak/repos","events_url":"https://api.github.com/users/LuizZak/events{/privacy}","received_events_url":"https://api.github.com/users/LuizZak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-05T16:35:23Z","updated_at":"2015-04-05T16:35:23Z","closed_at":null,"body":"Currently, the demos are rendered using SpriteKit by flushing all the polygons into a SKShapeNode, but that has a heavy cost and about 70% of the time is spent rendering the scene. This can be verified by disabling rendering of the scene by commenting out the [polygon render call](https://github.com/LuizZak/JelloSwift/blob/master/JelloSwift/GameScene.swift#L218) in the main scene.\r\n\r\nA new rendering engine has to be chosen to render the demo scene, a hardware accelerated engine is preferable because of the simple polygon nature of the engine."}}