This site requires JavaScript, please enable it in your browser!
Greenfoot back

lordhershey's Comments

Back to lordhershey's profile

That is pretty cool.
I like this concept, RockKnight! Master of Heavy Metal! :D
How did I come up with the idea? I remember the java.util.random which I have used in games before will always give you the same starting point if you do not seed the random number generator. I would leave it with the initial 0 seed to test since bugs had to be easy to reproduce to fix them, after I took care of them up to the point I would then I would seed the random number generator.
You just helped me figure out how I am going to save the maze in Bezerk. Thanks :D
I do not know anything about the user info - you only get 250 chars? Well then I would be way off. How about keep track of the random number seed that generated the maze, you can do that in 4 bytes and then use 192 bytes from rooms visited?
Looks like you did the wall pieces like so, there are 16 points on the room that, if every piece has to exist you can use 2 bits to represent which way they point, even if you ensure that 2 pieces of wall cannot overlay each other there will be no way to block any exit from any other entrance. so it only takes 32 bits to describe the inner part of the room, deciding which exits to open take 1 bit each, that is 36 bits, 1 bit to say if it was visited, you can also have a bit to say the player is 'here' for a total of 38 bits, 5 bytes per room, 7.5k of store needed for the whole maze. I do not know if user info lets you save odd bytes encoded as chars. I am trying to work through something like this now.
I know what you mean about having to code around life in general. :D
I also thought of another thing it needs: Sound Effects and a way to turn them on or off. I really do have a long way to go.
These are great ideas that I do want to put in the game. There are a few things that I do not have like the arcade: I do not block off the door you came in (the arcade game put a barrier so you could not exit the way you came); I do not have a Evil Otto . I need to figure scoring and free guy awarding. In the high score I would want to keep the following info, if the user made it out, and hw many robots they have killed; I may have a break down of types. I do nt know f you have noticed, by sometimes a robot will not walk into a wall, and when one of these sense ou in a room, thy will not leave you alone. I need to put some kind of marker on these robots.