{"author":"wiradikusuma","children":[{"author":"pjmlp","children":[{"author":"sakidev","children":[{"author":"hombre_fatal","children":[],"created_at":"2020-08-01T15:12:48.000Z","created_at_i":1596294768,"id":24021045,"options":[],"parent_id":24019862,"points":null,"story_id":24018097,"text":"Well, surely web-only means that it didn&#x27;t make concessions to work on other targets like UIKit.","title":null,"type":"comment","url":null},{"author":"pjmlp","children":[],"created_at":"2020-08-01T19:11:57.000Z","created_at_i":1596309117,"id":24023085,"options":[],"parent_id":24019862,"points":null,"story_id":24018097,"text":"Depends, many times, specially in what concerns games, it limps along.","title":null,"type":"comment","url":null}],"created_at":"2020-08-01T12:10:09.000Z","created_at_i":1596283809,"id":24019862,"options":[],"parent_id":24018708,"points":null,"story_id":24018097,"text":"I wouldn&#x27;t call it &quot;web only&quot;, since the web runs everywhere. What PlayCanvas is king on, is having the same codebase and being able to play it on your desktop, laptop, mobile, and even smart tvs.","title":null,"type":"comment","url":null}],"created_at":"2020-08-01T08:13:42.000Z","created_at_i":1596269622,"id":24018708,"options":[],"parent_id":24018097,"points":null,"story_id":24018097,"text":"It is a very nice engine, specially for those focused on Web only as target.","title":null,"type":"comment","url":null},{"author":"bluetwo","children":[{"author":"ovenchips","children":[],"created_at":"2020-08-01T11:26:31.000Z","created_at_i":1596281191,"id":24019616,"options":[],"parent_id":24018851,"points":null,"story_id":24018097,"text":"Yes. You can use it in conjunction with pretty much any other JS framework available.","title":null,"type":"comment","url":null}],"created_at":"2020-08-01T08:45:54.000Z","created_at_i":1596271554,"id":24018851,"options":[],"parent_id":24018097,"points":null,"story_id":24018097,"text":"Interesting. I assume you can hook whatever javascript into it you want?","title":null,"type":"comment","url":null},{"author":"apsdsm","children":[{"author":"wiradikusuma","children":[{"author":"hirako2000","children":[{"author":"apsdsm","children":[],"created_at":"2020-08-01T22:42:21.000Z","created_at_i":1596321741,"id":24024544,"options":[],"parent_id":24020605,"points":null,"story_id":24018097,"text":"Same cons that we came up with too. Which means it\u2019s that\u2019s much harder for anyone who isn\u2019t a developer to make contributions to things like level design.","title":null,"type":"comment","url":null}],"created_at":"2020-08-01T14:20:06.000Z","created_at_i":1596291606,"id":24020605,"options":[],"parent_id":24018908,"points":null,"story_id":24018097,"text":"I also went down that route and opted for three.js\nThe downside is no decent game engine nor IDE, you end up writing your own engine and tooling.","title":null,"type":"comment","url":null},{"author":"apsdsm","children":[],"created_at":"2020-08-01T14:21:32.000Z","created_at_i":1596291692,"id":24020616,"options":[],"parent_id":24018908,"points":null,"story_id":24018097,"text":"I left the company before that decision really formalized itself but I think the lead dev was leaning towards using Phaser. I believe they\u2019re using that now at least.<p>We had been using Unity for a long time but when the company decided pivot to HTML, we kept running into performance issues for for web (which left the Unity developer we had hired in a pretty awkward position).","title":null,"type":"comment","url":null}],"created_at":"2020-08-01T08:58:41.000Z","created_at_i":1596272321,"id":24018908,"options":[],"parent_id":24018873,"points":null,"story_id":24018097,"text":"what did you guys end up using?","title":null,"type":"comment","url":null},{"author":"ajdegol","children":[{"author":"rewq4321","children":[{"author":"ovenchips","children":[{"author":"rewq4321","children":[],"created_at":"2020-08-01T12:16:50.000Z","created_at_i":1596284210,"id":24019893,"options":[],"parent_id":24019652,"points":null,"story_id":24018097,"text":"Ahh, thank you for the correction.","title":null,"type":"comment","url":null}],"created_at":"2020-08-01T11:33:43.000Z","created_at_i":1596281623,"id":24019652,"options":[],"parent_id":24019053,"points":null,"story_id":24018097,"text":"PlayCanvas was started by ex-EA&#x2F;Activision&#x2F;Sony devs. But Mozilla partnered with PlayCanvas to open source the engine and later launch Firefox&#x27;s WebGL 2 support with the After the Flood demo: <a href=\"http:&#x2F;&#x2F;aftertheflood.playcanvas.com&#x2F;\" rel=\"nofollow\">http:&#x2F;&#x2F;aftertheflood.playcanvas.com&#x2F;</a>","title":null,"type":"comment","url":null}],"created_at":"2020-08-01T09:28:29.000Z","created_at_i":1596274109,"id":24019053,"options":[],"parent_id":24018924,"points":null,"story_id":24018097,"text":"The engine absolutely is open source, and there are no clauses pertaining to where the code must be hosted.<p>Their particular IDE may be closed-source, but the engine is not tied to it.<p>IIRC playcanvas was started by ex-mozilla people.<p>I played around with the engine a while ago and was quite impressed by the all-in-one-ness of it.","title":null,"type":"comment","url":null}],"created_at":"2020-08-01T09:01:44.000Z","created_at_i":1596272504,"id":24018924,"options":[],"parent_id":24018873,"points":null,"story_id":24018097,"text":"I think the engine is open source; but the real appeal is using the real time collab online tool, which is proprietary and had the drawbacks you mention.","title":null,"type":"comment","url":null},{"author":"redka","children":[],"created_at":"2020-08-01T10:12:30.000Z","created_at_i":1596276750,"id":24019273,"options":[],"parent_id":24018873,"points":null,"story_id":24018097,"text":"It&#x27;s certainly not super obvious to setup but there are ways to use PlayCanvas with local setup[1]. I have Redirector[2] rules in my browser and that basically handles it.  \nSo with some tinkering you can have hot module replacement and front-end libraries integrated for a very smooth and web-dev-y modern workflow.<p>[1] <a href=\"https:&#x2F;&#x2F;github.com&#x2F;thisredone&#x2F;coffeescript-playcanvas-template\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;thisredone&#x2F;coffeescript-playcanvas-templa...</a>  \n[2] <a href=\"https:&#x2F;&#x2F;chrome.google.com&#x2F;webstore&#x2F;detail&#x2F;redirector&#x2F;ocgpenflpmgnfapjedencafcfakcekcd?hl=en\" rel=\"nofollow\">https:&#x2F;&#x2F;chrome.google.com&#x2F;webstore&#x2F;detail&#x2F;redirector&#x2F;ocgpenf...</a>","title":null,"type":"comment","url":null},{"author":"ovenchips","children":[],"created_at":"2020-08-01T11:38:10.000Z","created_at_i":1596281890,"id":24019677,"options":[],"parent_id":24018873,"points":null,"story_id":24018097,"text":"I recommend checking out the newly released playcanvas-sync tools which let you map your PlayCanvas project&#x27;s assets to your local machine&#x27;s file system: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;playcanvas&#x2F;playcanvas-sync\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;playcanvas&#x2F;playcanvas-sync</a>\nAlso, last month, the plans received a major upgrade: <a href=\"https:&#x2F;&#x2F;blog.playcanvas.com&#x2F;plan-updates-more-storage-more-features-same-price&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;blog.playcanvas.com&#x2F;plan-updates-more-storage-more-f...</a>","title":null,"type":"comment","url":null},{"author":"mentos","children":[{"author":"apsdsm","children":[],"created_at":"2020-08-01T22:27:00.000Z","created_at_i":1596320820,"id":24024433,"options":[],"parent_id":24022010,"points":null,"story_id":24018097,"text":"I think they ended up using Phaser. I left before they actually released a game with that new stack. As mentioned below the cons are that you will need to invest more in making your tooling and it\u2019s way harder for anyone whose not a programmer to use it. The pros were that it was very easy to work with, HTML first, and had a long enough track record to have ironed out a lot of common developer problems.<p>I recall our unity engineer quite liked Defold, which had an integrated builder tool, but for some reason the lead dev didn\u2019t want to go with it.<p>I don\u2019t want to be throwing shade on Play Canvas though, it\u2019s possible if we did the same assessment today we would have gone with that engine.","title":null,"type":"comment","url":null}],"created_at":"2020-08-01T17:01:23.000Z","created_at_i":1596301283,"id":24022010,"options":[],"parent_id":24018873,"points":null,"story_id":24018097,"text":"I\u2019m a game dev looking for something like PlayCanvas can you recommend alternatives? What did your studio end up going with?","title":null,"type":"comment","url":null},{"author":"mrmaxm","children":[{"author":"apsdsm","children":[],"created_at":"2020-08-01T22:32:09.000Z","created_at_i":1596321129,"id":24024470,"options":[],"parent_id":24023305,"points":null,"story_id":24018097,"text":"A bit over a year ago now, so at least that much time has passed. It looked like a very good product then, looks like a very good product now. When I spoke to their support I was actually helped out by their CTO so I always felt it was a pretty rooted place.<p>But, at that time it didn\u2019t meet our requirements.","title":null,"type":"comment","url":null}],"created_at":"2020-08-01T19:44:19.000Z","created_at_i":1596311059,"id":24023305,"options":[],"parent_id":24018873,"points":null,"story_id":24018097,"text":"How long ago that decision were made? PlayCanvas is still here, doesn&#x27;t look like it is going anywhere.\nFor many years it existed, many people resist, some don&#x27;t. But business is still here. And community grows. Portfolio of commercial projects as well.","title":null,"type":"comment","url":null}],"created_at":"2020-08-01T08:51:11.000Z","created_at_i":1596271871,"id":24018873,"options":[],"parent_id":24018097,"points":null,"story_id":24018097,"text":"For what it\u2019s worth, when I was working at a mobile game studio, we looked at this as an engine for a project. At the time we decided not to go with it since all your code needs to live on their server and there\u2019s no easy local dev environment.<p>Not sure what the state of play for this product is now, but at the time we considered it too risky a proposition (what if they go out of business tomorrow?) and too limiting for the cost they were asking to use their platform.","title":null,"type":"comment","url":null},{"author":"swagasaurus-rex","children":[{"author":"ovenchips","children":[],"created_at":"2020-08-01T11:28:50.000Z","created_at_i":1596281330,"id":24019627,"options":[],"parent_id":24019478,"points":null,"story_id":24018097,"text":"There&#x27;s no networking built-in to the core engine but there&#x27;s a tutorial to get started with Node.js:\n<a href=\"https:&#x2F;&#x2F;developer.playcanvas.com&#x2F;en&#x2F;tutorials&#x2F;real-time-multiplayer&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;developer.playcanvas.com&#x2F;en&#x2F;tutorials&#x2F;real-time-mult...</a>\nPlayCanvas also works great with third party networking solutions like Nakama from Heroic Labs:\n<a href=\"https:&#x2F;&#x2F;heroiclabs.com&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;heroiclabs.com&#x2F;</a>","title":null,"type":"comment","url":null}],"created_at":"2020-08-01T10:57:54.000Z","created_at_i":1596279474,"id":24019478,"options":[],"parent_id":24018097,"points":null,"story_id":24018097,"text":"Is there support for networking&#x2F;multiplayer games using this framework?","title":null,"type":"comment","url":null},{"author":"rvz","children":[{"author":"socialist_coder","children":[{"author":"endergen","children":[],"created_at":"2020-08-01T16:37:40.000Z","created_at_i":1596299860,"id":24021813,"options":[],"parent_id":24021606,"points":null,"story_id":24018097,"text":"Their lenses I think are all JavaScript, not sure if it\u2019s WebGl rendering though, but it would make sense to do that to be cross platform","title":null,"type":"comment","url":null},{"author":"mrmaxm","children":[],"created_at":"2020-08-01T19:45:28.000Z","created_at_i":1596311128,"id":24023314,"options":[],"parent_id":24021606,"points":null,"story_id":24018097,"text":"Check out on blog of released major features and releases on github for the engine. It is only growing.","title":null,"type":"comment","url":null}],"created_at":"2020-08-01T16:17:19.000Z","created_at_i":1596298639,"id":24021606,"options":[],"parent_id":24019745,"points":null,"story_id":24018097,"text":"I wonder how this has affected the development of PlayCanvas. I don&#x27;t see any statements about the acquisition or even just a roadmap or statement about the future.<p>It looks like Snap bought it + a game studio and then launched a few html5 games inside of Snapchat. But I dont see anything after that. Seems like maybe gaming inside of snapchat just fizzled out? That doesn&#x27;t bode well for PlayCanvas development...","title":null,"type":"comment","url":null}],"created_at":"2020-08-01T11:51:01.000Z","created_at_i":1596282661,"id":24019745,"options":[],"parent_id":24018097,"points":null,"story_id":24018097,"text":"Interesting to see that PlayCanvas is now owned by Snap Inc recently: [0]<p>[0] <a href=\"https:&#x2F;&#x2F;techcrunch.com&#x2F;2018&#x2F;03&#x2F;23&#x2F;snap-reportedly-buys-its-own-3d-game-engine&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;techcrunch.com&#x2F;2018&#x2F;03&#x2F;23&#x2F;snap-reportedly-buys-its-o...</a>","title":null,"type":"comment","url":null},{"author":"cma","children":[{"author":"kuon","children":[{"author":"__m","children":[],"created_at":"2020-08-02T08:48:10.000Z","created_at_i":1596358090,"id":24027350,"options":[],"parent_id":24021256,"points":null,"story_id":24018097,"text":"In Safari","title":null,"type":"comment","url":null}],"created_at":"2020-08-01T15:36:10.000Z","created_at_i":1596296170,"id":24021256,"options":[],"parent_id":24019868,"points":null,"story_id":24018097,"text":"Really? For webviews?","title":null,"type":"comment","url":null}],"created_at":"2020-08-01T12:12:19.000Z","created_at_i":1596283939,"id":24019868,"options":[],"parent_id":24018097,"points":null,"story_id":24018097,"text":"Apple still blocks multitouch in fullscreen unfortunately.","title":null,"type":"comment","url":null},{"author":"mekkkkkk","children":[{"author":"OmarShehata","children":[{"author":"terrycody","children":[],"created_at":"2020-08-02T02:35:44.000Z","created_at_i":1596335744,"id":24025866,"options":[],"parent_id":24021209,"points":null,"story_id":24018097,"text":"thank you so much for this reference, yeah really worth a reading, still very relevant today!","title":null,"type":"comment","url":null}],"created_at":"2020-08-01T15:32:10.000Z","created_at_i":1596295930,"id":24021209,"options":[],"parent_id":24020037,"points":null,"story_id":24018097,"text":"Compiling from most major non-web game engines to the web leads to incredibly bloated products. See: <a href=\"https:&#x2F;&#x2F;blog.playcanvas.com&#x2F;playcanvas-versus-unity-webgl&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;blog.playcanvas.com&#x2F;playcanvas-versus-unity-webgl&#x2F;</a><p>The blog is 4 years old but I think it&#x27;s still relevant.","title":null,"type":"comment","url":null},{"author":"hombre_fatal","children":[{"author":"hoten","children":[{"author":"esperent","children":[],"created_at":"2020-08-02T00:57:08.000Z","created_at_i":1596329828,"id":24025364,"options":[],"parent_id":24022725,"points":null,"story_id":24018097,"text":"Unreal no longer supports the web as a publishing target. They&#x27;ve marked that feature as deprecated. Unity still does, however, from what I&#x27;ve heard it&#x27;s not a great platform to use for the web. Godot&#x27;s wasm compile target is very new, I&#x27;m looking forward to seeing what comes from it.","title":null,"type":"comment","url":null}],"created_at":"2020-08-01T18:25:06.000Z","created_at_i":1596306306,"id":24022725,"options":[],"parent_id":24022196,"points":null,"story_id":24018097,"text":"&gt; You don&#x27;t see the USP of websites, apps, and games that run at a browser url instead of requiring app download?<p>Unity, Unreal, Godot ... they all support the web as publishing targets. Without downloading a plugin. supporting the web is not unique. but if you design for the web, the engine will run better than compiling to it.<p>&gt; Runescape is finally beta-testing native mobile apps, and it&#x27;s hard to imagine it rising to so much fame for such a long time without its decision to run in the browser.<p>They&#x27;ve had a mobile version of &quot;Old School Runescape&quot; for over a year now I think, and it certainly did get me to play again for a bit. Mostly out of a curiosity of how they managed to fit all that UI on a mobile screen (turns out, pretty well).","title":null,"type":"comment","url":null},{"author":"mekkkkkk","children":[],"created_at":"2020-08-01T19:07:50.000Z","created_at_i":1596308870,"id":24023051,"options":[],"parent_id":24022196,"points":null,"story_id":24018097,"text":"The choice of hosting the game on a website seems like an orthagonal decision to whether or not to build it using web tech nowaday, as I mentioned.","title":null,"type":"comment","url":null}],"created_at":"2020-08-01T17:21:07.000Z","created_at_i":1596302467,"id":24022196,"options":[],"parent_id":24020037,"points":null,"story_id":24018097,"text":"You don&#x27;t see the USP of websites, apps, and games that run at a browser url instead of requiring app download? I encourage you to throw out your prejudices and try to answer that one yourself.<p>Runescape is a good example. It ran on the school and library computers when nothing else could (much less anything that needed installation). Runescape is finally beta-testing native mobile apps, and it&#x27;s hard to imagine it rising to so much fame for such a long time without its decision to run in the browser.","title":null,"type":"comment","url":null},{"author":"mschuetz","children":[],"created_at":"2020-08-01T17:21:24.000Z","created_at_i":1596302484,"id":24022199,"options":[],"parent_id":24020037,"points":null,"story_id":24018097,"text":"Traditional game engines work in ways that aren&#x27;t suited for browser based gaming. There is quite a bit of work that needs to be done in optimizing asset streaming without the need for long wait times.","title":null,"type":"comment","url":null},{"author":"mrmaxm","children":[{"author":"esperent","children":[],"created_at":"2020-08-02T00:52:14.000Z","created_at_i":1596329534,"id":24025326,"options":[],"parent_id":24023334,"points":null,"story_id":24018097,"text":"What about Godot to wasm?","title":null,"type":"comment","url":null},{"author":"terrycody","children":[],"created_at":"2020-08-02T02:29:19.000Z","created_at_i":1596335359,"id":24025828,"options":[],"parent_id":24023334,"points":null,"story_id":24018097,"text":"Thanks for the explanation, I simply get the idea now, so for a serious web based game, playcanvas would be the No.1 choice as of now?","title":null,"type":"comment","url":null}],"created_at":"2020-08-01T19:48:24.000Z","created_at_i":1596311304,"id":24023334,"options":[],"parent_id":24020037,"points":null,"story_id":24018097,"text":"Many native engines &quot;can&quot; compile. But really it is only experimental and commercially non-viable option.\nUnreal engine decided not to continue support webgl target.\nUnity lifted off &quot;experimental&quot; from webgl target, but really nothing changed - it is still huge build, crashes mobile, and development process for web in unity, simply awful. So it can compile, but commercially it can&#x27;t compete with webgl-first engines on similar projects.","title":null,"type":"comment","url":null}],"created_at":"2020-08-01T12:45:28.000Z","created_at_i":1596285928,"id":24020037,"options":[],"parent_id":24018097,"points":null,"story_id":24018097,"text":"Could someone explain the USP of utilizing the browser platform for game dev? As far as I know, the usual suspects in the game engine world can compile to web as well as the other major platforms. Wouldn&#x27;t relying on web runtimes and all the bloat associated be a detriment?<p>Is it the JS ecosystem and [insert framework] UI that&#x27;s tempting? Or just the shared dev environment?","title":null,"type":"comment","url":null},{"author":"Shared404","children":[],"created_at":"2020-08-01T17:41:59.000Z","created_at_i":1596303719,"id":24022378,"options":[],"parent_id":24018097,"points":null,"story_id":24018097,"text":"I&#x27;ll admit to being one of those anti-JS stick in the mud&#x27;s, I really hate when people overload what should be a text doc with JS. However, this looks really cool.<p>I think partially it&#x27;s that once you are doing something at this level, you are no longer just turning a document into an app, you are writing an app that can be deployed almost anywhere.<p>I think the future will trend in this direction to be honest.<p>edit: tend -&gt; trend","title":null,"type":"comment","url":null},{"author":"zonf","children":[],"created_at":"2020-08-01T19:06:36.000Z","created_at_i":1596308796,"id":24023040,"options":[],"parent_id":24018097,"points":null,"story_id":24018097,"text":"An example of what could be done with it:\n<a href=\"http:&#x2F;&#x2F;venge.io\" rel=\"nofollow\">http:&#x2F;&#x2F;venge.io</a><p>A competitive FPS shooter made in Playcanvas.","title":null,"type":"comment","url":null},{"author":"thelazydogsback","children":[],"created_at":"2020-08-02T00:46:08.000Z","created_at_i":1596329168,"id":24025297,"options":[],"parent_id":24018097,"points":null,"story_id":24018097,"text":"Anyone know how compares to Godot webasm target?","title":null,"type":"comment","url":null},{"author":"__m","children":[],"created_at":"2020-08-02T08:54:14.000Z","created_at_i":1596358454,"id":24027376,"options":[],"parent_id":24018097,"points":null,"story_id":24018097,"text":"I\u2018d love to be able to use their scene editor offline, uploading assets is a deal breaker","title":null,"type":"comment","url":null}],"created_at":"2020-08-01T06:13:24.000Z","created_at_i":1596262404,"id":24018097,"options":[],"parent_id":null,"points":136,"story_id":24018097,"text":null,"title":"PlayCanvas, the Web-first game engine","type":"story","url":"https://playcanvas.com/"}
