• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
iBeMonkayy

Okay.. So.. What language(s) to learn?

15 posts in this topic

Hello,
I am looking to develop a simple political simulation game much like [url="http://www.nationstates.net"]Nationstates[/url]. Some what question is What language(s) do I need to develop this? I get the impression I need PHP but is that all I need? Also how would I go about developing the game?
**[b][u]EDIT[/u][/b]**
[url="http://www.youtube.com/watch?v=QAy9h1dSjZ0"]This video[/url] explains Nationstates very well if that would help my question (it is 6mins long but if you skip through it you can still get the idea) Edited by Monkayy
0

Share this post


Link to post
Share on other sites
[quote name='6677' timestamp='1344453076' post='4967487']
Where did you get PHP from? I've never actually seen PHP used for games other than proof of concepts to see if its even possible.

Is this your first game because a simulation often has hidden complexities in the game code which can be very difficult to overcome for a newcomer.

Anyway, some choices:
C#
C++
Java
Python
And many more are out there.
[/quote]
I think there was a post on another forum which mentioned PHP. Yes this is my first game. Also in effect isn't Nationstates just a dynamic webpage which is what PHP can provide?
0

Share this post


Link to post
Share on other sites
You could go with Python. If you're also planning to make a website, you can use it for CGI. Pretty sure it's the easiest way.
2

Share this post


Link to post
Share on other sites
[quote name='Serapth' timestamp='1344454652' post='4967497']
Not PHP. Anything but PHP!

As you are just starting out, picking one language is ideal. Keep focused as best you can.

[url="http://www.gamefromscratch.com/post/2011/08/04/I-want-to-be-a-game-developer.aspx"]This guide[/url] should help you choose.
[/quote]
But isnt Nationstates in effect just a series of dynamic webpages which is the point of PHP?
0

Share this post


Link to post
Share on other sites
[quote name='Monkayy' timestamp='1344455689' post='4967503']
[quote name='Serapth' timestamp='1344454652' post='4967497']
Not PHP. Anything but PHP!

As you are just starting out, picking one language is ideal. Keep focused as best you can.

[url="http://www.gamefromscratch.com/post/2011/08/04/I-want-to-be-a-game-developer.aspx"]This guide[/url] should help you choose.
[/quote]
But isnt Nationstates in effect just a series of dynamic webpages which is the point of PHP?
[/quote]


You know what, I know NOTHING about Nationstates, and I still realize that PHP is not the solution!

PHP is a bastard of a language and should go the way of the dodo. If you have a game that is basically a series of dynamic web pages, use something else... I would suggest Node/Express/Javascript personally in that case.
1

Share this post


Link to post
Share on other sites
[quote name='Serapth' timestamp='1344456838' post='4967512']
[quote name='Monkayy' timestamp='1344455689' post='4967503']
[quote name='Serapth' timestamp='1344454652' post='4967497']
Not PHP. Anything but PHP!

As you are just starting out, picking one language is ideal. Keep focused as best you can.

[url="http://www.gamefromscratch.com/post/2011/08/04/I-want-to-be-a-game-developer.aspx"]This guide[/url] should help you choose.
[/quote]
But isnt Nationstates in effect just a series of dynamic webpages which is the point of PHP?
[/quote]


You know what, I know NOTHING about Nationstates, and I still realize that PHP is not the solution!

PHP is a bastard of a language and should go the way of the dodo. If you have a game that is basically a series of dynamic web pages, use something else... I would suggest Node/Express/Javascript personally in that case.
[/quote]
Okay, I am new and you have a good reputation so I trust you :) How much does javascript have in common with java? (just wondering). [url="http://www.youtube.com/watch?v=QAy9h1dSjZ0"]This video[/url] explains Nationstates very well if that would help my question (it is 6mins long but if you skip through it you can still get the idea)
0

Share this post


Link to post
Share on other sites
[quote name='Monkayy' timestamp='1344457145' post='4967513']
How much does javascript have in common with java?
[/quote]
They both have "java" in their names. Seriously ... Javascript was originally called LiveScript, I think, but was renamed JavaScript because Java was cool at the time.
2

Share this post


Link to post
Share on other sites
[quote name='jwezorek' timestamp='1344457532' post='4967517']
[quote name='Monkayy' timestamp='1344457145' post='4967513']
How much does javascript have in common with java?
[/quote]
They both have "java" in their names. Seriously ... Javascript was originally called LiveScript, I think, but was renamed JavaScript because Java was cool at the time.
[/quote]

Basically this. Although it wasn't just because Java was trendy, it was actually a deal between Netscape and Sun.
0

Share this post


Link to post
Share on other sites
[quote name='Monkayy' timestamp='1344457145' post='4967513']
[quote name='Serapth' timestamp='1344456838' post='4967512']
[quote name='Monkayy' timestamp='1344455689' post='4967503']
[quote name='Serapth' timestamp='1344454652' post='4967497']
Not PHP. Anything but PHP!

As you are just starting out, picking one language is ideal. Keep focused as best you can.

[url="http://www.gamefromscratch.com/post/2011/08/04/I-want-to-be-a-game-developer.aspx"]This guide[/url] should help you choose.
[/quote]
But isnt Nationstates in effect just a series of dynamic webpages which is the point of PHP?
[/quote]


You know what, I know NOTHING about Nationstates, and I still realize that PHP is not the solution!

PHP is a bastard of a language and should go the way of the dodo. If you have a game that is basically a series of dynamic web pages, use something else... I would suggest Node/Express/Javascript personally in that case.
[/quote]
Okay, I am new and you have a good reputation so I trust you [img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img] How much does javascript have in common with java? (just wondering). [url="http://www.youtube.com/watch?v=QAy9h1dSjZ0"]This video[/url] explains Nationstates very well if that would help my question (it is 6mins long but if you skip through it you can still get the idea)
[/quote]

To add to this, PHP is in fact all you need, it just is a horrible, horrible mess of a language(The only common web backend option i can think of that is more painful to work with would be ASP(the old one, not .Net, The general suckiness of the old pre .Net ASP is also the main reason why PHP got popular, it was the lesser of two evils back in the day, today there are plenty of better options to choose from), There are hower two really good reasons to use it even today:
1) There is a crapton of PHP code out there under permissive licenses that you can reuse for various purposes.
2) If you pick a random extremely cheap webhost odds are really good that they do support PHP but nothing else. (big webgames tend to need a more expensive host anyway though).

Personally my favourite for web development is python+django but i do use PHP alot, simply because it has been around for so long that it gets hard to avoid it completely.

JavaScript is , much like PHP quite a nasty language but for the frontend you don't have much choice, JavaScript is the only real option for dynamic web frontends (unless you go with some browser plugin solution but then your frontend is more of a traditional application that just happens to be embedded in a browser). (Java is, as has allready been mentioned a very different language (Both languages have C-style curly braces and the word Java in their names but thats pretty much where the similarities end (Java is a reasonably good language) Edited by SimonForsman
2

Share this post


Link to post
Share on other sites
In some regards JavaScript gets an unfair rap, because the DOM is such shit and people equate DOM == Javascript, which for many I suppose is true.

The language has its faults, its far too easy to create a global or mute an existing variable, there is a lack of needed data hiding abilities and the this pointer is a mess. That said, if you use Javascript with a good library, or outside the web browser, it can be a remarkably capable language. The data as code as data nature of JSON is freakishly powerful for example.

The lack of a solid IDE ( i use WebStorm and love it, but itcosts $ ), the webcentric nature of tutorials and a few horrible design features of the language do make it difficult to recommend to new devs though. To devs that have used it only for client side web programming, I recommend you give JavaScript another look.
0

Share this post


Link to post
Share on other sites
Why does your game need to be playable in a browser. If your looking to make a clone or generally similar game it may be easiest to write it as a traditional game where it will be easier to get help. Python+Pygame would make a fine choice, as would C# + XNA or half a million other languages and frameworks. C++ with SDL or SFML would also do it, only issue here is the general difficulty of C++ compared to other languages, as a beginner it is possible to dive in head first with C++ but its generally easier to stick to something like Python for your first language. The knowledge learnt in python can then be applied to other languages later on. You might even find that you never need to learn C++ (its still on my todo list)
0

Share this post


Link to post
Share on other sites
ASP.NET MVC, its fast, clean, easy framework to work with, works nicely with jQuery and you can take advantage of C# too, honestly I would stay away from ASP.NET and use ASP.NET MVC, as for PHP, well I could probably spend hours criticising the language the programmers who compliment it and the reasons why they consider it good.

Just be careful when you do your research, the internet is flooded with 'PHP is the best language ever' sites, where some still even compare PHP to classic ASP for some reason, I would say pick ASP.NET MVC (not the webforms) it is so nice and easy to work with, not only will you achieve your results faster, it will be easier to test and be much much easier to maintain.
0

Share this post


Link to post
Share on other sites
PHP has a ton of quirks and inconsistencies, the main problem is as mentioned earlier, its competition used to not be so formidable, but now other web development languages are ahead of the curve. I think all PHP should be separated completely from the presentation layer. Hell, it should be in its own files and do away with the opening/closing tags, and running/hosting scripts from the www root should be discouraged.

I'm a PHP web developer by profession and I would gladly take a .NET MVC job. Problem is, it's like the game industry. 99% of .NET jobs require that you already have some pro experience in .NET, they don't throw the no-experience juniors a bone [img]http://public.gamedev.net//public/style_emoticons/default/tongue.png[/img]
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0