Have added theme music and an options screen where you can change the volume of music and sound effects.
quite a few changes to the game . please try to complete at least the first level (its quite simple) and leave feedback.
thanks
pretty good game. your next step should probably be AI ehancement. There were some ghosts that walked right past me several times, and there were some times when the ghosts just kinda loitered around the total opposite corner of the board!
one other thing, I had kind of a random game crash. During the second cutscene, as soon as yoshi touched the magic warp thingie, the game just disappeared =o
thanks for that woogley . you are right that the ghosts dont actually chase you . they just roam around aimlessly.
next step is due to be the ghost AI
another user had the same crash problem during the second cut-scene but hard to debug as i have tried to get the error again by playing that scene about 100 times. I will continue to look into it
Quite ok game, but framerate is hurting gameplay a bit on my laptop… (1.8GHz WinXP ATI) States ~ 145 fps but is more like 1pfs, especially when cam is paning
Also crashed after cutscene after first level:
java.lang.ArrayIndexOutOfBoundsException: -1
at TheSpacMan.spacman.Map.blocked(Map.java:172)
at TheSpacMan.entity.Player.validLocation(Player.java:172)
at TheSpacMan.entity.Player.move(Player.java:134)
at TheSpacMan.entity.Player.update(Player.java:337)
at TheSpacMan.spacman.InGameState.update(InGameState.java:599)
at TheSpacMan.spacman.GameWindow.gameLoop(GameWindow.java:243)
at TheSpacMan.spacman.GameWindow.<init>(GameWindow.java:77)
at TheSpacMan.spacman.GameWindow.main(GameWindow.java:331)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Seems like the thingie walks right past the teleport and out into nowhereland…
have just uploaded a new version with sweet AI on the ghosts .
have capped framerate at 60fps
looking into crash problems next … i think it was mainly due to the insane framerates some people were getting
wow nice update, pretty decent AI. now if only the AI was smart enough to run away when you have the powerup…
thanks for the wow , … officially my first wow
[quote]now if only the AI was smart enough to run away when you have the powerup
[/quote]
well, that would be the next logical step
I will look into that soon . I`m sure it will quite simple to implement now I have everything else sorted
no longer improving spac-man unless anyone has any major suggestions , it`ll just sit there on www.javagamesfactory.org gathering dust.
thanks for all your help and ideas . … now on to the next game
The new version won’t run on my XP box with Java 5. I only hear some fantastic music. The window is completely blank. Here’s the console:
Fri May 19 23:30:52 CEST 2006: Initialising sounds..
Fri May 19 23:30:53 CEST 2006: - Sound works
Fri May 19 23:30:53 CEST 2006: - Sounds source generated
Loading texture: res/stars.gif
Loading texture: res/font.png
Loading texture: res/font2.png
Fri May 19 23:30:56 CEST 2006: Loading: res/music/ChibiMoonTheme.ogg
Fri May 19 23:31:03 CEST 2006: Loading: res/crunch.ogg
- Morten
the game loads in all the resources before updating the screen . so it may take quite some time before you get anything actually displayed .
My newest game doesnt have that problem as it uses deferred loading
take a peek at a very early version here http://www.java.itsmyland.com/
It works now. I want you to know that I enjoy playing spac-man. The “hmm”-sound is ;D
[quote]My newest game doesnt have that problem as it uses deferred loading
[/quote]
That’s nice.
On now to your newest game.
Regards Morten
thanks Morten
- Runs fine on Ubuntu 6.06 dapper drake, stable release (out on june 10th)
- Movement’s not as smooth as you could expect
- To increase loading speed you could do some loading in the menu
thanks for the report BlueSky.
I have decided to stop making improvements to this game as there no longer seems any interest in it. I have incorporated better loading into my next game