View Full Version : cheesy game that Im working on
kwhubby
11-21-2002, 07:13 AM
Ive been working on a game in java script thats has soom minor problems and innaficieces but works well so far. It only works on IE (I think) 5.0 + . It has glitches in how fast the bullet and the mosters go (bullet sometimes goes reallly slow). Its not nearly finished yet but when I finish it, it should be pretty cool. I would really like some suggestions to make this not such a resource hogging game, so that it will go faster. here it is: http://65.191.29.213/mr%20h/fun5.htm
edit ( I changed the title to make sound better)
Hi kwhubby:
This category should only be used to post fully completed, working script. To get feedback on something you're working on, please use the main JavaScript programming category instead. Moving thread.
kwhubby
11-21-2002, 11:25 PM
oh, ok
x_goose_x
11-22-2002, 01:54 AM
Quality, pure quality.
kwhubby
11-26-2002, 06:15 AM
The game is even better now, It has sounds and a point system, I hope somebody reads this post and checkes out my game
x_goose_x
11-26-2002, 06:52 PM
I can't get the last coin.
kwhubby
11-26-2002, 09:32 PM
yah, he he he that coin is too high to get lol!
I am working on completing the games script on my computer so that I can start designing levles.
ps.
tell me some more about the game goose (is it going slow (the bullet and monsters)??, are any other errors occuring??)
the status of the game on your computer + your op + your browser and clockspeed and ram, would greatly help me see the range of its perfomance so that I might make a function to regulate the speeds of things depending on factors that slow it down or speed it up or whatever.
kwhubby
12-02-2002, 06:26 AM
newest version at here (http://65.191.29.213/mr%20h/fun7.htm) . It now has working stage shifting, and a bunch of glitches that I found have been corrected. The newest one on my computer is currently working with new more complex monsters (I need to work out errors first before I post that one).
Note** since there is no 3rd stage to the first levle yet, it just does nothing but move the guy to the beginning of stage 2 and freeze the monsters when you pass on to the right
The game is about 75% finished in its "game engine" after completing I can then design lots of levles and stages.
A1ien51
12-02-2002, 01:34 PM
rather hard to jump and move to the right or left in the air
jdavidw13
12-02-2002, 11:32 PM
Your game is really cool, being javascript and all :thumbsup:. Might you be interested in doing a project with me? I don't have anything specific in mind, maybe another game? Just let me know if you'd be interested and we can talk about it.
jdavidw13@hotmail.com,
JD
kwhubby
12-03-2002, 03:59 AM
Just to let you know, this only works with IE 5.0 + and with windows, I currently am using IE 6 with xp. The errors that occur are mostly because of the browser you are using. The slight difficulty of moving is because the way it works, requires you to Increase the repeat rate and decrease the repeat delay, in the control panel! If you dont do that, it should be very slow going right and left, and it would take about a second before you really started moving left or right. There are strange random errors, from no jumping, to no shooting, and now this one, I dont know why some of these errors occur, But I am 100% that it works with at least xp with ie 6, and I have tested it many times on computers with 98, and ME, and 2000 and with IE 5 + . Anybody who can fix or improve the script from these strange errors that I have not noticed personaly I would be very thankful of. For those who have trouble and yet comply to the compatablitiy range, try a different computer if availabe.
ps: you should only get that message if you hit a monster and die, getting up is kindov hard, but if you stay real close to the edge its easy. Note just quickly taping the jump is enough to jump, holding does not do anymore accept imidiatly repeat after you hit ground, but you need to hold the left/right keys to move right/left
kwhubby
12-03-2002, 08:57 PM
I figured out that its embeded objects that dont work on some browsers, Its wierd because on IE 5.0 the game works on some computers and not on others, because of the embeded wave files
skeatt
12-04-2002, 02:22 PM
I'm using IE 5 with the debugger going and when you use the up arrow key it said line 414 it doesn't support this property or method:eek:
kwhubby
12-04-2002, 08:46 PM
yes thats because your version of IE (even though its 5!!??) wont suport the embeded object and when the object has the play() or the stop() it gives an error. Does anybody know a way to do sounds without embeded objects, because some computers dont like the embeded object. I would rather not turn off sounds for older, but I may have to.
Eternity Angel
12-04-2002, 09:02 PM
This.... Game (idea).... ROCKS!
If only I KNEW how layers worked, I would so try making a game like that :thumbsup:
It works fine for ME, using IE 6.0, WinME :)
EDIT:
Also, I noticed a typo that really doesn't affect much:
var chet = prompt("Type in a cheat-code (if you know one)to cheat","")
if (chet == "undifined") {
}
it should be "undefined" :)
glenngv
12-05-2002, 03:03 AM
the syntax should be:
var chet = prompt("Type in a cheat-code (if you know one)to cheat","")
if (typeof chet == "undefined") {
//code here
}
but prompt() returns null when Cancel button is pressed, thus:
if (chet == null) {
//code here
}
kwhubby
12-05-2002, 03:48 AM
ah, ok thanks I will do that. beta version 8 will come out soon with new objects to collect, new monsters, and a little more work on the stages for levle one. Any suggestions for monsters? here are some of my ideas: monster that chases you (I figured out a formula to do it, just need to apply it), zig zag monster, up and down monster (already made), and of course multiple different appearances and such of the monsters. Pieces ideas: lives increase, better laser, higher jumping, temporary invincibility. Only few of these will be in version 8, probobly wont be till 9 that I get those, and then that will be all for the game accept making the final wich will just need level desighning
edit: I will make those fixes on version 8, probobly not the version 7.
kwhubby
12-13-2002, 07:31 AM
VERSION 8 is now posted http://65.191.29.213/mr%20h/fun8.htm
The changes made were fixing wierd per computer issues with embeded sound. A new monster (up and down) a new object (lives) and some other miscalanious little things that were fixed because they were done poorly. Its not much different, but I have not been working on it much, there is no new stages or levels or anything yet, becaus I am still working on making the system for the game.
Any ideas for the version 9 will be greatly appreciated!
Tails
12-13-2002, 08:15 PM
This game is cool. I haven't thought of making action games with JS before. I make puzzle games. I would make board games too if I knew some way to design AI for the computer (which is pure rules based perfection -- problem). Take a look at what I've got so far.
http://XFox_Prower.tripod.com/games/js/
I hope this isn't off topic with the other game, but I'd like suggestions and constructive criticism too.
kwhubby
12-13-2002, 09:12 PM
thats really cool!!!. I have one suggestion: for the sliding puzzles, make it random each time. Not the same order of the pieces every time.
Tails
12-17-2002, 07:16 PM
That's the great idea I've been trying to get started. But how can I do it without taking 5 minutes of scrambling? I can't even figure out how to pick a random number without using the getTime method (which isn't random), and then how do you not pick the same number twice (as in a deck of cards)? Any random set of pieces is not always winnable (some kind of odd/even thing), and I know there is some sort of equation to figure this out, but I'm still working on it. Any advice?
whammy
12-18-2002, 02:37 AM
Wow, that MILES puzzle is extremely cool. :)
kwhubby
12-18-2002, 05:14 AM
just do this for a random numer Math.random()
it gives you a one digit number folowed by like 18 digits. lets say you want to make it from a range of 1 to x, just do this
Math.Floor(Math.random()*x)
if you want it from a range of n to x do this
Math.Floor(Math.random()*(x-n) + n)
Tails
12-19-2002, 10:45 PM
I'll try that. It's on my list of things to do. My most complex task is one here:
http://XFox_Prower.tripod.com/s3kc/edit/
It is supposed to be an editor for a game, but of course JS can't read and write files. And unfortunately, only a millionaire possesses a compiler and programming experience. So I have the JS pasting the hex code which you can paste into a hex editor. Pretty pathetic work around, huh? Anyway, the problem is checkboxes. In 99% of all HTML tutorials, forms were not explained at all since they use buttons and JS events. But then 80% of all JS tutorials say you should have learned about how to use checkboxes if you know HTML. How do I check the value of a checkbox? Do I have an onClick function to change a variable? And if I double click a checkbox or click try to click it on and off too fast, it treats it as 1 click. That would ruin any onClick event with a wrong value. There's an easier way, isn't there? Checkboxes aren't just decorative things that do nothing without variables, etc (like buttons) are they?
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.