merveilles Posted June 13, 2010 Share Posted June 13, 2010 So I'm making a snes/Zelda inspired video game. My plan right now is to use a mix of things... Mostly Javascript, and then PHP, MySQL, XHTML, and CSS. I was thinking I would probably use Flash for parts that are super dependent on timing. Lately though I've been wondering if I'm going to have problems once my game gets more complicated. Would it be better to just write the entire game in Java and then use an applet or whatever they are to put it on a webpage? I don't know ANY Java though, so it would take me a while to rewrite everything I've made so far... What do you guys think?? Quote Link to comment https://forums.phpfreaks.com/topic/204661-best-language-for-a-video-game/ Share on other sites More sharing options...
Daniel0 Posted June 13, 2010 Share Posted June 13, 2010 Fuck Java applets. I don't have anything else to add. Quote Link to comment https://forums.phpfreaks.com/topic/204661-best-language-for-a-video-game/#findComment-1071511 Share on other sites More sharing options...
ignace Posted June 13, 2010 Share Posted June 13, 2010 Is this gonna be a text-based game? It really depends on how you want your game to look and work for us to give any proper advice on technology. Quote Link to comment https://forums.phpfreaks.com/topic/204661-best-language-for-a-video-game/#findComment-1071540 Share on other sites More sharing options...
xcoderx Posted June 13, 2010 Share Posted June 13, 2010 php.mysql.xhtml,css and javascript is more than enough i guess rest sucks man those flash games takes forever sometimes to load if net is slow. better have something wich will be fast for everyone. Quote Link to comment https://forums.phpfreaks.com/topic/204661-best-language-for-a-video-game/#findComment-1071586 Share on other sites More sharing options...
merveilles Posted June 14, 2010 Author Share Posted June 14, 2010 Have any of you ever played Zelda on snes? Or at least a snes or gameboy advance game? I'm thinking graphics/gameplay like that... Quote Link to comment https://forums.phpfreaks.com/topic/204661-best-language-for-a-video-game/#findComment-1071664 Share on other sites More sharing options...
JasonLewis Posted June 14, 2010 Share Posted June 14, 2010 Or you could use a decent game engine, with the good ol' SNES graphics, check this out. It's a great engine, powered by JavaScript. It has it's own API which can take a bit to get used to, but it's very good to code for. It works a treat. I've made a few simple games in it. The guys on the forum are great too, they'll help you out if you get stuck. (I'm Jaysonic over there ). That's just another option, depends how you want your game to run. Quote Link to comment https://forums.phpfreaks.com/topic/204661-best-language-for-a-video-game/#findComment-1071690 Share on other sites More sharing options...
merveilles Posted June 14, 2010 Author Share Posted June 14, 2010 If Javascript is capable enough I would rather keep writing it how I am.. I'm just worried if the game gets really complicated that Javascript wouldn't be able to handle everything/load things right/get the timing right/etc... That site looks interesting.. and I'll probably look at the code if I can, but I really want to make this entire game from scratch. I am using the jQuery library though.. Quote Link to comment https://forums.phpfreaks.com/topic/204661-best-language-for-a-video-game/#findComment-1071712 Share on other sites More sharing options...
JasonLewis Posted June 14, 2010 Share Posted June 14, 2010 you mis-understand sphere. you do write the game from scratch. sphere is the engine, that reads the javascript and execufes the game. download it, then go on the forums and download the game aquatis, then you'll see what javascript is capable of. its amazing. Quote Link to comment https://forums.phpfreaks.com/topic/204661-best-language-for-a-video-game/#findComment-1071748 Share on other sites More sharing options...
ignace Posted June 14, 2010 Share Posted June 14, 2010 If Javascript is capable enough http://code.google.com/p/o3d/ -- does this seem capable enough to you? Quote Link to comment https://forums.phpfreaks.com/topic/204661-best-language-for-a-video-game/#findComment-1071751 Share on other sites More sharing options...
merveilles Posted June 14, 2010 Author Share Posted June 14, 2010 If Javascript is capable enough http://code.google.com/p/o3d/ -- does this seem capable enough to you? So those applications are written in Javascript code?? I didn't know Javascript was already complicated enough for pretty good 3D graphics.. This is a relief.. and inspiration So I'm guessing I don't even need to use Flash at all? I was really hoping I could make the entire game using only those web languages.. Quote Link to comment https://forums.phpfreaks.com/topic/204661-best-language-for-a-video-game/#findComment-1071819 Share on other sites More sharing options...
merveilles Posted June 14, 2010 Author Share Posted June 14, 2010 you mis-understand sphere. you do write the game from scratch. sphere is the engine, that reads the javascript and execufes the game. download it, then go on the forums and download the game aquatis, then you'll see what javascript is capable of. its amazing. I've only reached the start screen so far, but it's pretty amazing. That game is completely written in Javascript? Also.. (all of this is so new to me! ) I really want my game to play in the browser though.. Would it be possible to make a game like Aquatis and it plays the same in the browser? Quote Link to comment https://forums.phpfreaks.com/topic/204661-best-language-for-a-video-game/#findComment-1071825 Share on other sites More sharing options...
Philip Posted June 14, 2010 Share Posted June 14, 2010 you mis-understand sphere. you do write the game from scratch. sphere is the engine, that reads the javascript and execufes the game. download it, then go on the forums and download the game aquatis, then you'll see what javascript is capable of. its amazing. I've only reached the start screen so far, but it's pretty amazing. That game is completely written in Javascript? Also.. (all of this is so new to me! ) I really want my game to play in the browser though.. Would it be possible to make a game like Aquatis and it plays the same in the browser? It IS possible, but remember not everyone will be able to load it. https://www.khronos.org/webgl/wiki/Getting_a_WebGL_Implementation Quote Link to comment https://forums.phpfreaks.com/topic/204661-best-language-for-a-video-game/#findComment-1071869 Share on other sites More sharing options...
JasonLewis Posted June 14, 2010 Share Posted June 14, 2010 Well according to KingPhilip you can, never heard of WebGL though, so that's new to me too. And yes, that game is written completely in JavaScript, as well as the Sphere API (which are just functions, but only related to Sphere). As well as making a game like that, you can implement networking into your game. There have been a few people on the forum getting it working, where you can play and see other people walking around. It was pretty cool, kind of like a MMORPG. But it is difficult to achieve. And Aquatis is a very complex game, there would be thousands of lines of code behind it. It's not easy to make a game, but it is pretty cool. Quote Link to comment https://forums.phpfreaks.com/topic/204661-best-language-for-a-video-game/#findComment-1071887 Share on other sites More sharing options...
merveilles Posted June 14, 2010 Author Share Posted June 14, 2010 As well as making a game like that, you can implement networking into your game. There have been a few people on the forum getting it working, where you can play and see other people walking around. It was pretty cool, kind of like a MMORPG. But it is difficult to achieve. And Aquatis is a very complex game, there would be thousands of lines of code behind it. It's not easy to make a game, but it is pretty cool. I might add some sort of MMO elements eventually.. right now though I'm already overwhelmed. So far I have at least a thousand lines of code and I don't even have all of the basic functions working yet! o_O You don't even realize just selecting items in a certain direction on a start screen is difficult until you try to do it.. lol It IS possible, but remember not everyone will be able to load it. https://www.khronos.org/webgl/wiki/Getting_a_WebGL_Implementation I'm not completely sure, but isn't WebGL for 3D graphics? My entire game will probably be in 2D.. btw, thanks for all the replies so far! Quote Link to comment https://forums.phpfreaks.com/topic/204661-best-language-for-a-video-game/#findComment-1072039 Share on other sites More sharing options...
JasonLewis Posted June 15, 2010 Share Posted June 15, 2010 As well as making a game like that, you can implement networking into your game. There have been a few people on the forum getting it working, where you can play and see other people walking around. It was pretty cool, kind of like a MMORPG. But it is difficult to achieve. And Aquatis is a very complex game, there would be thousands of lines of code behind it. It's not easy to make a game, but it is pretty cool. I might add some sort of MMO elements eventually.. right now though I'm already overwhelmed. So far I have at least a thousand lines of code and I don't even have all of the basic functions working yet! o_O You don't even realize just selecting items in a certain direction on a start screen is difficult until you try to do it.. lol True, there is more to it then meets the eye. It's good fun though, and you can learn a lot from doing it. Quote Link to comment https://forums.phpfreaks.com/topic/204661-best-language-for-a-video-game/#findComment-1072210 Share on other sites More sharing options...
.josh Posted June 16, 2010 Share Posted June 16, 2010 Just want to point out that (s)nes games were not network or mmo games... javascript is more than capable of making 8 and 16 bit style games. Now, whether or not you really wanna do it js.....personally for (s)nes type games I'd do it in flash. Quote Link to comment https://forums.phpfreaks.com/topic/204661-best-language-for-a-video-game/#findComment-1072743 Share on other sites More sharing options...
merveilles Posted June 16, 2010 Author Share Posted June 16, 2010 So... It IS possible then, to make a complicated 2D game with Javascript, play it in the browser, and not have any problems? Quote Link to comment https://forums.phpfreaks.com/topic/204661-best-language-for-a-video-game/#findComment-1072799 Share on other sites More sharing options...
Daniel0 Posted June 16, 2010 Share Posted June 16, 2010 Sure. Some guys from Google created a Quake II port using Javascript and HTML 5. http://code.google.com/p/quake2-gwt-port/ Quote Link to comment https://forums.phpfreaks.com/topic/204661-best-language-for-a-video-game/#findComment-1072831 Share on other sites More sharing options...
StedeTroisi Posted June 16, 2010 Share Posted June 16, 2010 So I'm making a snes/Zelda inspired video game. My plan right now is to use a mix of things... Mostly Javascript, and then PHP, MySQL, XHTML, and CSS. I was thinking I would probably use Flash for parts that are super dependent on timing. Lately though I've been wondering if I'm going to have problems once my game gets more complicated. Would it be better to just write the entire game in Java and then use an applet or whatever they are to put it on a webpage? I don't know ANY Java though, so it would take me a while to rewrite everything I've made so far... What do you guys think?? Stick with what you are doing or move to Flash, but don't bother with Java. Is there a reason you didn't use Flash to begin with? - Stede Quote Link to comment https://forums.phpfreaks.com/topic/204661-best-language-for-a-video-game/#findComment-1073026 Share on other sites More sharing options...
merveilles Posted June 16, 2010 Author Share Posted June 16, 2010 Stick with what you are doing or move to Flash, but don't bother with Java. Is there a reason you didn't use Flash to begin with? Mainly because I don't know how to write a Flash program.. And because some of the things I want to do I don't think are possible in Flash.. Quote Link to comment https://forums.phpfreaks.com/topic/204661-best-language-for-a-video-game/#findComment-1073035 Share on other sites More sharing options...
ignace Posted June 16, 2010 Share Posted June 16, 2010 Stick with what you are doing or move to Flash, but don't bother with Java. Is there a reason you didn't use Flash to begin with? Mainly because I don't know how to write a Flash program.. And because some of the things I want to do I don't think are possible in Flash.. ActionScript for Multiplayer Games & Virtual Worlds Quote Link to comment https://forums.phpfreaks.com/topic/204661-best-language-for-a-video-game/#findComment-1073039 Share on other sites More sharing options...
merveilles Posted June 16, 2010 Author Share Posted June 16, 2010 ActionScript for Multiplayer Games & Virtual Worlds lol do you know of any good books like that that are for Javascript? Quote Link to comment https://forums.phpfreaks.com/topic/204661-best-language-for-a-video-game/#findComment-1073055 Share on other sites More sharing options...
KevinM1 Posted June 16, 2010 Share Posted June 16, 2010 Mainly because I don't know how to write a Flash program.. And because some of the things I want to do I don't think are possible in Flash.. Such as? Also, ActionScript and JavaScript share a lot of similarities due to their shared lineage. Quote Link to comment https://forums.phpfreaks.com/topic/204661-best-language-for-a-video-game/#findComment-1073059 Share on other sites More sharing options...
merveilles Posted June 16, 2010 Author Share Posted June 16, 2010 Such as? Also, ActionScript and JavaScript share a lot of similarities due to their shared lineage. Hmm... I think the main reason is just that I don't know how to write anything in Flash. If Flash would work a lot better than what I'm doing now (combining Javascript/PHP/XHTML/CSS) then I might switch to that.. Quote Link to comment https://forums.phpfreaks.com/topic/204661-best-language-for-a-video-game/#findComment-1073078 Share on other sites More sharing options...
.josh Posted June 17, 2010 Share Posted June 17, 2010 Such as? Also, ActionScript and JavaScript share a lot of similarities due to their shared lineage. Hmm... I think the main reason is just that I don't know how to write anything in Flash. If Flash would work a lot better than what I'm doing now (combining Javascript/PHP/XHTML/CSS) then I might switch to that.. flash would be a lot easier than that combo, yes. I mean that's more or less the sort of thing it was built for: animation, interactive graphics and effects. Actionscript is a very powerful in-house language. Actionscript has a lot of the same or similar syntax as JS and it is an object-oriented scripting language...only main difference is the "DOM" of a flash environment is not really the same as a browser, so that will take some getting used to. You will still need to utilize php or some other server-side language if you're wanting to get a multi-player experience, or save score/progress etc...but flash can talk to the server easy enough. Common tutorial for that you can look up is a flash guestbook/address book, or chatroom type tut (for the flash-server interaction part). You can go to like for instance http://www.newgrounds.com/game/ to see a ton of user submitted flash games, get an idea of what flash can do. Quote Link to comment https://forums.phpfreaks.com/topic/204661-best-language-for-a-video-game/#findComment-1073190 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.