AtariAge Forums: Dark Maze (Version 1.1) - AtariAge Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Dark Maze (Version 1.1) SSGC Entry

User is offline adamantyr Icon
Posted Tue Mar 9, 2010 1:41 AM


  • Icon
  • Chopper Commander
  • PM this member
  • View blog
  • Posts: 149
  • Joined: 01-February 08
Eh, doing regression fixes on my CRPG is bor-ring... I figured, why not do my own entry for the contest?

And here it is... DARK MAZE! And now in version 1.1!

VERSION 1.1 CHANGES:
- Random maze generation improvements (bigger chambers, less likely to make an impossible maze)
- The sword now lasts a limited time
- Multiple potions/swords possible per level
- When the sword is in hand, the monster runs away
- Three lives, random placement on same map if monster catches you
- Scoring system

Attached File  DM2.png (7.01K)
Number of downloads: 16
Attached File  DARKMAZE_11.zip (3.2K)
Number of downloads: 13

You are a fearless adventurer, braving the awful depths of a dark and sinister dungeon for precious treasure.

But beware! You are not alone in this foul place. You can hear something else moving down here... and it's getting closer... and louder!

Unfortunately, it's very difficult to see down in this place. You can scour around you and see everything close, but far away places are a mystery. As you traverse the dungeon, you uncover its secrets and learn its twisting passages.

There are a few things to help you. A bubbling potion is here, drinking it causes the monster chasing you to stop for a brief time, letting you catch your breath and get out of his immediate reach.

Better still is the mystical sword, a powerful blade that will frighten and drive the monster away from you, for with it you can vanquish him and explore at your leisure... but the sword will disappear after a short time, so move quickly to catch him!

To advance to the next level, you must collect all the treasure chests on the dungeon level. The first level had three, and one additional chest is needed for each level, to a maximum of eight.

You have three lives at the start of the game. Completing a level awards you one additional life, to a maximum of five. Each time the monster catches you, you reappear in a different portion of the maze, although areas you have already traversed will remain visible.

The game ends when your greed leads to your frightful doom...

Scoring:

When you finally perish, your final score will be displayed. Two values separated by a slash indicate that the point award goes up per level, to the given maximum.

Picking up a Chest ........................ 50 points
Picking up the Sword ...................... 10 points
Picking up the Potion ..................... 10 points
Completing a level .................. 100/1000 points
Killing the monster ................. 100/1000 points

Controls:
Joystick - Move any of eight directions

Enjoy!

Current High (Me): Level 9, 8210 points

This post has been edited by adamantyr: Wed Mar 10, 2010 11:10 PM

0

User is online sometimes99er Icon
Posted Tue Mar 9, 2010 2:05 AM


  • Icon
  • Dragonstomper
  • PM this member
  • Posts: 668
  • Joined: 25-October 06
  • Location: DK
Wow ! That one is amazing !

I was killed almost instantly the first 3 times. Then I got to level 5. Good solid fun !

Bravo !

:)

PS. Yes, it needs CPU Overdrive ...
0

User is offline adamantyr Icon
Posted Tue Mar 9, 2010 2:11 AM


  • Icon
  • Chopper Commander
  • PM this member
  • View blog
  • Posts: 149
  • Joined: 01-February 08

Quote

Wow ! That one is amazing !

I was killed almost instantly the first 3 times. Then I got to level 5. Good solid fun !

Bravo !

:)

PS. Yes, it needs CPU Overdrive ...


Glad you liked it. Yeah, it's all the GCHAR's to uncover the map that really slow it down. And much to my disgust, Extended BASIC doesn't support using LOAD for addresses and values, so I can't cheat and use a bit of machine language know-how to speed it up.

Adamantyr
0

User is online sometimes99er Icon
Posted Tue Mar 9, 2010 2:26 AM


  • Icon
  • Dragonstomper
  • PM this member
  • Posts: 668
  • Joined: 25-October 06
  • Location: DK

View Postadamantyr, on Tue Mar 9, 2010 9:11 AM, said:

And much to my disgust, Extended BASIC doesn't support using LOAD for addresses and values, so I can't cheat and use a bit of machine language know-how to speed it up.

I think there would be a way around that, but I’m not the one to delve into that.

And then I guess the SSGC doesn’t allow machine language routines.

Just for your information ... I got stuck on a level ... Didn't I !?

Posted Image

:)
0

User is offline adamantyr Icon
Posted Tue Mar 9, 2010 2:41 AM


  • Icon
  • Chopper Commander
  • PM this member
  • View blog
  • Posts: 149
  • Joined: 01-February 08

Quote

And much to my disgust, Extended BASIC doesn't support using LOAD for addresses and values, so I can't cheat and use a bit of machine language know-how to speed it up.


Hm, actually, I was wrong, but you have to CALL INIT before CALL LOAD works. And it's not much use, since it doesn't have VDP access. (Testing how much of a headache trying to manipulate the VDP ports is. So far, a real skull-cracker.)

sometimes99er said:

Just for your information ... I got stuck on a level ... Didn't I !?

Posted Image


Oh, I suppose you want your money back now? :) The random routine was pretty good about not creating trapped conditions when I was testing it, but it appears its possible...

Adamantyr
0

User is online sometimes99er Icon
Posted Tue Mar 9, 2010 2:52 AM


  • Icon
  • Dragonstomper
  • PM this member
  • Posts: 668
  • Joined: 25-October 06
  • Location: DK

View Postadamantyr, on Tue Mar 9, 2010 9:41 AM, said:

The random routine was pretty good about not creating trapped conditions when I was testing it, but it appears its possible...

Hehe. That’s something like 2 treasure chests in the same position !? That's an easy fix. Test before putting it there. But you know all about that.

My 4 first games had sound turned off, so I didn't know what was coming. A sorry excuse for dying so much ...

:cool:
0

User is offline The Codex Icon
Posted Tue Mar 9, 2010 7:40 AM


  • Icon
  • Dragonstomper
  • PM this member
  • View blog
  • Posts: 573
  • Joined: 02-February 10
  • Location: Richmond, VA
Looks great Adam! Will try it out when I get home. Clever concept too. The description sounds a little bit like Atari Adventure, only better. :) Hopefully some of the Atarians here will drift over to this thread and check it out as well.

Now that you've posted an RPG I'm less shy about posting the one I've been working on. I started it over the weekend and it's about half done, I'll start a thread when it gets closer. But enough about my stuff, good job on this and I'm looking forward to giving it a thorough playing.
0

User is offline JamesD Icon
Posted Tue Mar 9, 2010 10:29 AM


  • Icon
  • Stargunner
  • PM this member
  • Posts: 1,977
  • Joined: 20-August 06
Looks like 'The Sword of Fargoal'.
0

User is offline matthew180 Icon
Posted Tue Mar 9, 2010 11:24 AM


  • Icon
  • Moonsweeper
  • PM this member
  • View blog
  • Posts: 288
  • Joined: 18-November 09
  • Location: Marshall, Michigan
Very cool! Another I found much more enjoyable in CPU Overdrive. :-) I had more than 1 instance of being started right next to the monster though, which is a little frustrating since I died before I even had a chance to move. Even still, I spent at least 30 minutes trying to reach level 5. :-)

Matthew
0

User is offline adamantyr Icon
Posted Tue Mar 9, 2010 12:58 PM


  • Icon
  • Chopper Commander
  • PM this member
  • View blog
  • Posts: 149
  • Joined: 01-February 08

JamesD said:

Looks like 'The Sword of Fargoal'.


Oh yeah. I wrote my maze generation system based on how Fargoal's worked... albeit in a much simpler fashion.

matthew180 said:

Very cool! Another I found much more enjoyable in CPU Overdrive. :-) I had more than 1 instance of being started right next to the monster though, which is a little frustrating since I died before I even had a chance to move. Even still, I spent at least 30 minutes trying to reach level 5. :-)


Yeah, I can't do much in 30 lines to make the randomness, er, less random. :) Maybe give you three lives instead of just one, and you gain one for each successful level? Hm...

I also need to work on the maze generator a bit, make it a bit less likely to make impossible mazes. I know WHY it's possible; it's currently able to traverse its own path so it will stop immediately. I may see if I can make larger chambers as starting points as well, although the HCHAR and VCHAR's involved would be pushing it out of 30-line territory.

Since I knew CPU Overdrive would be popular, I also had to slow the monster down... he moved WAY too fast before. I used PEEK statements to check the VDP timer and make him wait at least 1/4 of a second between moves. This makes you slightly faster than he is on a straight-way.

Adamantyr
0

User is offline The Codex Icon
Posted Tue Mar 9, 2010 5:58 PM


  • Icon
  • Dragonstomper
  • PM this member
  • View blog
  • Posts: 573
  • Joined: 02-February 10
  • Location: Richmond, VA
Good game, nice mix of strategy and arcade. It's particularly nice when you find the sword and turn the tables. After be stalked across several levels it's a pleasure to dispatch that little bastard. :)
0

User is offline adamantyr Icon
Posted Wed Mar 10, 2010 10:20 PM


  • Icon
  • Chopper Commander
  • PM this member
  • View blog
  • Posts: 149
  • Joined: 01-February 08
Just updated to version 1.1! This should be a little more playable and less lethal.

Adamantyr
0

User is offline InfernalKeith Icon
Posted Thu Mar 11, 2010 1:18 AM


  • Icon
  • Chopper Commander
  • PM this member
  • Posts: 225
  • Joined: 21-September 08
  • Location: Toledo, OH
Dude, if you can do this in 30 lines in XB, I want to put money down now to pre-order your real CRPG! Impressive and a lot of fun.
0

User is offline jchase1970 Icon
Posted Thu Mar 11, 2010 2:04 AM


  • Icon
  • Chopper Commander
  • PM this member
  • View blog
  • Posts: 122
  • Joined: 06-March 10
  • Location: Newburgh IN
what are these peek calls accessing?

PEEK(-31808,R,C)

PEEK(-31879,T2)
0

User is offline adamantyr Icon
Posted Thu Mar 11, 2010 2:18 AM


  • Icon
  • Chopper Commander
  • PM this member
  • View blog
  • Posts: 149
  • Joined: 01-February 08

View Postjchase1970, on Thu Mar 11, 2010 12:04 AM, said:

what are these peek calls accessing?

PEEK(-31808,R,C)

PEEK(-31879,T2)


The first accesses part of the random number seed in the scratch-pad, so it gets you two random values from 0-255. You have to call RANDOMIZE first, though. It's much faster than using RND, but I probably didn't need to bother... the game's not all that fast without CPU overdrive.

The second is retrieving the current VDP timer value. I use that to check timing and slow the monster down... otherwise on CPU overdrive he's way too fast.

Adamantyr
0

User is online sometimes99er Icon
Posted Thu Mar 11, 2010 2:56 AM


  • Icon
  • Dragonstomper
  • PM this member
  • Posts: 668
  • Joined: 25-October 06
  • Location: DK
V1.1 :cool:

Darn monster !

I have the monster chasing me down the corridors et al at my own travelling speed ? I liked it better before, with the monster being a bit slower.

One moment I’ve got the sword, the next it’s gone, and I’m being chased again. Arrghh ! Well, there has to be a challenge.

More time generating the levels. That’s all fine.

Movement a bit slower. Well, that’s okay too.

The first version was more of a exploring kinda game. This one is too much cat and mouse inevitable. Just my 2 cents.

Otherwise great work ! :thumbsup:
0

User is offline jchase1970 Icon
Posted Thu Mar 11, 2010 9:31 AM


  • Icon
  • Chopper Commander
  • PM this member
  • View blog
  • Posts: 122
  • Joined: 06-March 10
  • Location: Newburgh IN

View Postadamantyr, on Thu Mar 11, 2010 2:18 AM, said:

View Postjchase1970, on Thu Mar 11, 2010 12:04 AM, said:

what are these peek calls accessing?

PEEK(-31808,R,C)

PEEK(-31879,T2)


The first accesses part of the random number seed in the scratch-pad, so it gets you two random values from 0-255. You have to call RANDOMIZE first, though. It's much faster than using RND, but I probably didn't need to bother... the game's not all that fast without CPU overdrive.

The second is retrieving the current VDP timer value. I use that to check timing and slow the monster down... otherwise on CPU overdrive he's way too fast.

Adamantyr



ok, I knew you could check the rnd value with a peek but I didn't know you could access the time. That could be handy to know in the future.

Jchase
0

User is offline adamantyr Icon
Posted Thu Mar 11, 2010 2:25 PM


  • Icon
  • Chopper Commander
  • PM this member
  • View blog
  • Posts: 149
  • Joined: 01-February 08

sometimes99er said:

I have the monster chasing me down the corridors et al at my own travelling speed ? I liked it better before, with the monster being a bit slower.


I didn't notice him getting faster... but I did switch him to a sprite, which is faster to process, so that may be what did it. Also, at the moment, if you hit a wall it ignores the timer check, so I should probably fix that...

sometimes99er said:

One moment I’ve got the sword, the next it’s gone, and I’m being chased again. Arrghh ! Well, there has to be a challenge.


Yeah. Otherwise, killing the monster is ridiculously easy... he just flees to and cowers in a corner. I'd have to alter the chase algorithm, which I don't have the line space for now.

sometimes99er said:

More time generating the levels. That’s all fine.

Movement a bit slower. Well, that’s okay too.

The first version was more of a exploring kinda game. This one is too much cat and mouse inevitable. Just my 2 cents.


The mazes create chambers now of 3x3, which makes more permissible space. But they do spend a bit more time plotting... if I threw in a random direction change, that may make it finish quicker. I hadn't done anything to slow down movement... some other factors may be causing that.

The character of the game is different from the first version. Since your random chance of ending up right next to the monster was high, I introduced lives, which makes it more likely you can survive multiple levels. A point system is something else to brag about besides the level you reached. I think it was always "cat and mouse" though. :) My original plan was multiple monsters. ;)

Adamantyr

This post has been edited by adamantyr: Thu Mar 11, 2010 2:26 PM

0

User is online sometimes99er Icon
Posted Thu Mar 11, 2010 3:42 PM


  • Icon
  • Dragonstomper
  • PM this member
  • Posts: 668
  • Joined: 25-October 06
  • Location: DK
Thanks for your comments and great work.

View Postadamantyr, on Tue Mar 9, 2010 7:58 PM, said:

Since I knew CPU Overdrive would be popular, I also had to slow the monster down... he moved WAY too fast before. I used PEEK statements to check the VDP timer and make him wait at least 1/4 of a second between moves. This makes you slightly faster than he is on a straight-way.

Well, I overwrote the first version, but I recall being able to outrun the monster. Now, he's right there behind me.

;)
0

User is offline The Codex Icon
Posted Thu Mar 11, 2010 7:26 PM


  • Icon
  • Dragonstomper
  • PM this member
  • View blog
  • Posts: 573
  • Joined: 02-February 10
  • Location: Richmond, VA
Good update, the play is more balanced but also more challenging in the long run. Very nice game, and impressively done, especially the enemy AI.
0

User is offline InsaneMultitasker Icon
Posted Thu Mar 11, 2010 8:36 PM


  • Icon
  • Space Invader
  • PM this member
  • View blog
  • Posts: 45
  • Joined: 07-March 10
Very effective use of sound volume to evoke a bit of 'fear'. I had the speakers at a good level and playing this game gave me a few shivers down my back. Well done ;)
0

User is offline Opry99er Icon
Posted Fri Mar 12, 2010 3:57 AM


  • Icon
  • Stargunner
  • PM this member
  • View blog
  • Posts: 1,611
  • Joined: 18-November 09
  • Location: Elizabethtown, KY
Man, this is cool!!! Glad to have it in the contest!!! You really got some cool stuff figured out!!!
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users