TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Why HTML5 is the best platform for rapid game development

81 点作者 austinhallock大约 13 年前

18 条评论

varelse大约 13 年前
All IMO of course, but programming HTML 5 Canvas apps today feels like having a late 1980s vintage CPU strapped to an early 2000s GPU. This is a really unbalanced combination IMO.<p>Given this imbalance, when I was at a recent employer, I suggested that exposing OpenCL or CUDA within the browser could lead to some really cool games and web apps. I was soundly shut down. Right around the same time, WebCL was announced: <a href="http://www.khronos.org/webcl/" rel="nofollow">http://www.khronos.org/webcl/</a>.<p>But it doesn't seem like it's moving particularly fast, sigh...
评论 #3996713 未加载
评论 #3998496 未加载
评论 #3997812 未加载
dsirijus大约 13 年前
As a rapid game producer, I'm calling this bullshit.<p>Fastest rapid game dev is with Flash, and nothing has come even close to it (just poke around game dev jams).<p>Now, if you need mobile support, go with HaXe, it has HTML5 target too. As well as native iOS and Android and much more.
jiggy2011大约 13 年前
With HTML5 you also have to worry about the cross browser compatibility mess , which doesn't seem to work well as "rapid" development.<p>Not to mention that I think writing something like a scene graph in JS would make me rage.
评论 #3996064 未加载
评论 #3995878 未加载
评论 #3995897 未加载
评论 #3996851 未加载
Dove大约 13 年前
<i>I don’t think anyone will argue the fact that the only other platform I would’ve been able to rapidly develop and deploy games like Nick vs Bus and Word Wars would be Flash.</i><p>I would argue it. The speed with which you can develop simple games has much more to do with how well you understand the platform itself (its tools, libraries, capabilities) than what the platform is.<p>I'm not saying platforms and languages don't intrinsically affect your pace. They do. But it also depends a lot on what you're doing. One language lets you write a web server in an hour; another allows fast and robust mathematical analysis. Writing a fun game in 24 hours is such a pliable goal that you could clear it with, say, a graphing calculator, an industrial robot, or a Word macro. To say nothing of languages people actually write games in!
评论 #3997122 未加载
bryceneal大约 13 年前
The "game" is bad and and this article is bad.<p>A lot of the points the author is making in favor of HTML5 are simply not true.<p>No Compiling - Languages like flash can build while you and work and compile in under 5 seconds. This is also not a compelling reason to choose a platform, and no intelligent person has ever chosen a platform based on how fast it compiles.<p>Easy Testing - HTML5 is no easier to test than anything else. Perhaps having to connect a device to test would be an exception. Simply not true.<p>It's not a plugin - This is irrelevant. If we're talking about browsers, flash has more penetration than HTML5 does right now. So which is worse -- a plugin that 99% of PC users already have, or an executable installer that needs to be run in order to update or change to a browser that supports canvas?<p>You can rapidly prototype with many languages. I am not arguing against HTML5 at all. Infact, I believe it is probably the future of casual web games. I am only arguing against this poorly written article. The author actually claims that HTML5 is better because of the "hype" around it. Give me a break.<p>The only final thing I will say is that javascript is a shitty language to write anything like a big game in. If you know anything about CS fundamentals, then you can't refute this fact.
tomjen3大约 13 年前
I have to call bullshit -- he could have made those games in Unity3D and gotten a better environment and better (and more extensive) math libraries.
评论 #3996047 未加载
评论 #3996265 未加载
epaik大约 13 年前
I love participating in game jams. For those who haven't heard, a game jam is an event where you have a limited number of time (maybe 48 or 72 hours) to develop a game.<p>One of my favorites to participate in is Ludum Dare. This past LD, I used HTML5 to develop my game. It was the first major project in which I used Javascript and Canvas, and the code could've been better, but I managed to quickly develop and prototype a game I'm proud of within 72 hours[1].<p>The biggest issue with HTML5 isn't the speed of development, but rather the fact that it's not a mature technology yet. I still haven't ironed out some issues with sound and resource loading that works consistently between Chrome, Firefox, and Safari.<p>[1] <a href="http://ekun.nukenine.com/two/game.html" rel="nofollow">http://ekun.nukenine.com/two/game.html</a>
tagawa大约 13 年前
A couple of issues:<p>1. "assuming you’re with the rest of us in the 21st century" - that's pretty insulting to the millions who can't afford a smartphone.<p>2. "it’ll run from your phone’s browser" - but only if it's WebKit.
评论 #3997404 未加载
pacomerh大约 13 年前
Wether this is the fastest way to make games or not, the demand for HTML5 game engineering is gaining traction in several ways. HTML5 framework makers are promising one time develop and multiple platform deploy, which in theory sounds very nice. And 'optimist' game developers are really having fun using their already mastered web standards skills to create one page games. Why is there so much interest?, you have to wonder. I have these assumptions.
Skoofoo大约 13 年前
As a platform for game development, there is much better out there than HTML5.<p>With HTML5 you have to deal with many serious faults that do not exist when working with many other platforms. HTML5 canvas doesn't feature the ability to turn off anti-aliasing, HTML5 audio has only one channel per instance, has latency issues and is inconsistently implemented, JavaScript has many various faults, performance leaves something to be desired, you cannot do things that are common in most games like going fullscreen or grabbing the mouse, and overall it just feels like you have to wrestle with your web browser to write a game on top of it.<p>It is convenient to simply link a game to someone and let them play without manually downloading it, but is it really worth hacking around all these issues? Like the web browser was designed decades ago to share formatted text and images, we should design a modern, open browser that makes sense for video games. Perhaps something that combines the best qualities of web gaming and Steam, and distributes data through decentralized P2P?
bonyt大约 13 年前
The awesome love2d lua game engine ( <a href="https://love2d.org/" rel="nofollow">https://love2d.org/</a> ) has an html5 port, love-webplayer, that can play a lot of the games written in lua for love2d.<p><a href="https://github.com/ghoulsblade/love-webplayer" rel="nofollow">https://github.com/ghoulsblade/love-webplayer</a>
stesch大约 13 年前
Funny. It's an empty page with NoScript.
评论 #3996755 未加载
dc-tech-fan大约 13 年前
Doodle or Die is all HTML5.<p>Doodles are stored as JSONP: <a href="http://doodles.s3.amazonaws.com/d2/5iSFn-ME/8qp73zuBe.js" rel="nofollow">http://doodles.s3.amazonaws.com/d2/5iSFn-ME/8qp73zuBe.js</a><p>This json renders in canvas as the page loads like these amazing drawings: <a href="http://doodleordie.com/profile/underwearhero" rel="nofollow">http://doodleordie.com/profile/underwearhero</a><p>We want to make a native mobile app because we've heard that HTML5 is slow enough to frustrating. I tried a Lua-based framework and it was fun to use but the resulting drawing too was too slow to be usable because every line had to be created as a new object, instead of Canvas-like pixel manipulation.
评论 #3997332 未加载
novalis大约 13 年前
The poster says on the Flash topic: "but I can see HTML5 being favored over something that is completely beyond their control." ...and further down, on security as a flaw: "you can make your game secure, you just need a backend that can be done fairly easily with node.js."<p>This strikes as an incredible double standard for appreciation that permeates the article top to bottom. I do understand why the poster is so enthusiastic for developing games rapidly in HTML and went about it cutting some corners when having to compromise. But enthusiasm is just that, doesn't make said games any good by default or the plat to magicly be mature to the point it should.
freditup大约 13 年前
I feel that the error the compiler will find will more than make up for the very few seconds it would take to compile a game like Nick vs. Bus. I also don't think the single corporation and plugin points makes a direct difference to game development (I would argue it does if you had to buy expensive tools just to develop for Flash or HTML5.)<p>My personal opinion is still that Flash is a better platform for games, at least right at the moment. I have nothing against HTML5, although I'm not a big fan of JS as a programming language. Undoubtedly ads and such should move to HTML5/JS. I'm still not convinced about it for games yet.
bazookaBen大约 13 年前
write about HTML5 game distribution, i'd love to hear input on this.
评论 #3995922 未加载
basicallydan大约 13 年前
Obviously, it's especially pretty awesome for multiplayer game development because you don't have to worry too much about figuring out what method of communication to use, firewalls, etc.
评论 #3996130 未加载
factorial大约 13 年前
"Honestly, HTML5 games get more attention just for being HTML5 – deserved or not."<p>...that's one of his arguments why HTML5 is the "best platform". I wish he would have gone more into detail how he defines "best" as his understanding of that adjective doesn't seem to take into account that more mature platforms have some benefits too. For instance, maturity.
评论 #3995699 未加载