Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I mean the mechanics of the game. Would it be possible?

-Pokemon GBA series, rendering the world would be easy, but what about battle mechanics? -MapleStory, after seen dragonbound.net which is an identical copy of Gunbound I would think it's rather possible, but I'm still not sure if javascript can handle all the mechanics of the world. It would be heavy on resources I guess?

I'm asking this because I'm really interested in html5 game develop(I really think in a future will destroy flash on game dev ground). I want to have an idea of how far games developed with the html5/javascript technology can go. I got especially inspired by dragonbound. I really think it pushes htmlt/javascript to the limits (game dev).

share|improve this question
    
Thanks for all the answers guys they are all really good. –  RufioLJ Oct 8 '12 at 12:36
2  
This question is polling for opinions which isn't a good fit for this site according to the FAQ. –  bummzack Oct 8 '12 at 18:35
add comment

3 Answers

HTML5 can do basically anything, with the Canvas you can manipulate every pixel of the display, if you have the right techniques and skills you can do all you want. It even suports WebGL, as soon as browsers add hardware acceleration, you will be able to use all the rendering power of the user machine.

But keep in mind that I'm talking about the future, currently HTML5 suffers the same problems of any web development, each browser interprets things their own way, and they are not made to be rendering softwares. So on a more realistic perspective, canvas can be used to make 2D games, almost any of them.

There are some good people working on making 3D dev easier with PlayCanvas, and the power of HTML5 2D can be demonstrated with the Bastion version for Chrome.

Hope I helped.

share|improve this answer
2  
Well I really really care less about cross browser compatibility. Many people use chrome or firefox especially gamers. And it's most likely that the default code will render the same on both, plus a recommended browser image could do the trick for people that really want to play. Thanks for the answer man, that Bastion link is blowing my mind... I thought DragonBound as the most advanced html5/javascript until now. lol –  RufioLJ Oct 8 '12 at 12:42
1  
There are some points I don't agree with. 1. "HTML5 suffers the same problems of any web development" - Java and Flash are much more cross-browser/system compatible; it may, or may not change in future. 2. I don't know HTML5, but I guess as a new technology it has a limitation of only few libraries (that will change). It also probably has no text metrics system, and you can't store data on user's hard drive (unless it's cookies that are removed together with browser's cache). –  Markus von Broady Oct 8 '12 at 15:14
    
Also I find HTML5 much more laggy than java or flash. In my user experience HTML5 just isn't smooth. @RufioLJ "Many people use chrome or firefox especially gamers. And it's most likely that the default code will render the same on both" - My friends have many chrome/firefox compatibility issues... –  Markus von Broady Oct 8 '12 at 15:16
    
@MarkusvonBroady: 1st, You can store data on the client side. 2nd, JavaScript is one of the most developed for languages in terms of "libraries" now. 3rd, it has a text metrics system. And lastly, HTML5 will improve. JavaScript as a language is getting blazing fast, Js engines are starting to compile it into Assembly code. –  akled Oct 8 '12 at 15:21
    
@Bane, You're right about Javascript being popular, but html5 (canvas) is still young. Thx for your comment, it might be a good time to dive into html5. –  Markus von Broady Oct 8 '12 at 15:29
show 3 more comments

In HTML5/JavaScript you can get input from user and display pictures. Just like in many other programming languages. And your are already on the internet, so internet stuff should be easy too. Which is all you need to make a game.

The problem is not what is possible and what is not, because in theory anything is possible, but whether trying many things together would be still fast enough. Which depends: on computer speed, on computer, on browser speed, perhaps even on internet connection speed. And all these data change from player to player, from year to year.

So you could start with an analysis: what do you want your game to be able to do, when the screen is most full? For example, to display 50 monsters, each of them 300x300 pixels large, plus 300 bullets, each of them 10x10 pixels large, animated at least 20 frames per second. Now you have something to be measured. And the answer would be that it requires computer with processor speed X and memory Y to do that.

If the number is realistic, just do it. If the number is just a bit high, do it anyway... it will take you some time to complete the game, and meanwhile the computers will become at least twice faster.

If the number is too high, you might rethink your game. Is it really necessary to have 50 monsters on screen at the same time? Could they be smaller? Could we get some speed by avoiding partial transparency in bitmaps? Less particles in explosions? Etc. You probably can make some sacrifice.

I think you can do it. Remember, the computers are getting faster.

share|improve this answer
add comment

By what grounds do you feel it would be resource intensive? There are plenty of RPG developed for AS3 and battle mechanics are not something you are limited to programming in any certain language. They are a collection of conditions and logic that could be expressed in any language.

MapleStory, any MMO that is not extremely heavy on 3d graphics that would require C++ to optimize performance could probably be implemented. The only limitation would be server capacity hardware wise. If you have a lot of clients, you may need several powerful servers to handle the load well.

If you are interested in html5 do not waste time making predictions about it's future and start making a game now.

There is no tangible limit to the things you can achieve with nearly any of the popular languages that are available today aside from some issues with performance.

The main variable is the game developer.

share|improve this answer
    
A good point Galvanize added is that support varies between browsers which is a known issue. –  Arthur Wulf White Oct 8 '12 at 12:27
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.