Anyone work with javascript?

Narz

keeping it real
Joined
Jun 1, 2002
Messages
31,514
Location
Haverhill, UK
After experimenting with different languages I've decided perhaps Javascript would be the best for my game. Do any of you guys worked with Javascript, has anyone made any simple games with it? Let me know, I learn best from examples, especially games and fun programs because then I have the desire to figure them out. Please share some examples of your coding and any helpful sites you encountered along the way. Thanks in advance!

- Narz :king:
 
Javascript loads with a web page and runs entirely on the client's web browser.

I'm not sure what type game you have in mind but javascript is probably not your ideal choice. It is a language for scripting behaviors in a web browser and is generally used in combination with CSS and DHTML to make a site more 'dynamic'. True, i've seen some simple games done with it ... tic tac toe type stuff. It wouldn't be my choice for building a game though.

The fancier your scripting the more problems you're likely to encounter across differing browsers due to varying implementations of jscript across Explorer, NN, Opera, etc.
 
What about PHP? Thats what I planned to use but my friend/tutor told me it wouldn't be a good choice because the page has to reload anytime changes are made...
 
Java Java Java Java

It's definately the most portable, will work on mac and pc without glitch if done properly :)
 
And Linux and Solaris, etc.

Java Applets might be best for you. If you are willing to make a few hour trip down to Phila PA you can go to the Micro Center on 476. They have a whole bunch of Java books for cheap (2.99 - 5.99). Why are they so cheap? Because they are old editions but still valid for most things. Or you could send me a check to cover the books and shipping and I could get them to you. :)
 
Back
Top Bottom