View Full Version : Easiest Way To Make A Game?


snikerz79
06-21-2003, 05:33 AM
What would be the easiest way to make a web based game?? Also, the simplest way??

designhazard
06-21-2003, 06:06 AM
you will need to learn javascript. if you want a more easyier way, learn a little bit of javascript and php.

Dude128
06-21-2003, 08:10 PM
it really depends on what you want to do. with JavaScript, you're pretty limited to basic games. for anything more complex, I would recommend learning Java, or you could also use Flash. to learn more about either, just do a search on the Internet and you should find most of the information you need. then if you have any questions, feel free to ask here and we'll see if we can help.

Mike
06-21-2003, 10:29 PM
Originally posted by Dude128
it really depends on what you want to do. with JavaScript, you're pretty limited to basic games. for anything more complex, I would recommend learning Java, or you could also use Flash. to learn more about either, just do a search on the Internet and you should find most of the information you need. then if you have any questions, feel free to ask here and we'll see if we can help.

C+++ all da way LOL. Its da best, and the hardest to learn!

You can still make a puzzle.

<SCRIPT language=JavaScript1.2>
<!--

var dragapproved=false
var z,x,y
function move(){
if (event.button==1&&dragapproved){
z.style.pixelLeft=temp1+event.clientX-x
z.style.pixelTop=temp2+event.clientY-y
return false
}
}
function drags(){
if (!document.all)
return
if (event.srcElement.className=="drag"){
dragapproved=true
z=event.srcElement
temp1=z.style.pixelLeft
temp2=z.style.pixelTop
x=event.clientX
y=event.clientY
document.onmousemove=move
}
}
document.onmousedown=drags
document.onmouseup=new Function("dragapproved=false")
//-->
</SCRIPT>

<img class="drag" src="IMG URL">
<img class="drag" src="IMG URL">
<img class="drag" src="IMG URL">
<img class="drag" src="IMG URL">
Then do a redirect in 1 min.

Pleas use the Edit button instead of replying within 5 minutes of posting :)
-Moderator

bellportal
06-23-2003, 01:37 PM
Before starting to program games, think:

1) Does your host support that language that you want to use?
2) Do the majority of users support the language (JavaScript especially.)

Then make your descision.

HTH,

Dude128
06-23-2003, 01:43 PM
Originally posted by bellportal
2) Do the majority of users support the language (JavaScript especially.)

this only applies to client-side scripting languages and stuff that needs plug-ins, though :)

all server side languages like PHP are processed on the server, and plain HTML is sent to the browser- so it doesn't matter what the visitor's browser supports. the problems come with things like JavaScript, which the browser has to support, and Java, which requires a plug-in. however, I think enough browsers support JavaScript and enough people have the Java plug-in for it not to be a problem, especially for a game. I'd only advise against their use if it was for a large part of the site- like navigation.

bellportal
06-28-2003, 03:34 PM
Your host should be able to tell you which plug-ins and languages (i.e. javascript) the majority of your users support. And as Dude128 says, this only applys to client-side scripting.

If your programming requires a plug-in, remember to create a link near to the program linking to the plug-in manufacturer's website so that users can download the plug-in if they are desperate to see your program!

HTH,