Jump to content
Byte Knight

Evil Magician Returns (Adventure-type game)

Recommended Posts

One problem I noticed is that if you hold down game-select, the game number continuously changes. It should be a one-shot.

 

I have no idea how to fix that, although I see Cave In does the same thing... I had to put in a little delay otherwise hitting the select button would advance it to 3 instantly. Here's the code (BTW, I'm quite proud of my castle font!):

 

title
pfscore1=0
if switchselect then t = t + 1
if t = 15 then t = 0
gosub room11
COLUP0=14
if t < 5 then player0:
%01001100
%00111000
%00011000
%00011000
%00011000
%00011000
%00011000
%00011000
%00111000
%00011000
%00001100
end

if t > 4 && t < 10 then player0:
%01111000
%11111100
%01000010
%00100000
%00110000
%00011000
%00001100
%01000110
%10000110
%01001110
%00111100
end

if t > 9 then player0:
%00110000
%00011000
%00001100
%00001110
%00001100
%00011000
%00110000
%00010000
%00001000
%01111100
%00111110
end

player0x=77:player0y=57

drawscreen
v = (rand & 13) + 2
if joy0fire && t < 5 then temp=0:i{2}=1:i{0}=1:i{3}=1:goto level bank1
if joy0fire && t > 4 && t < 10 then temp=16:i{3}=1:goto level bank1
if joy0fire && t > 9 then temp=v*16:goto level bank1
goto title

Share this post


Link to post
Share on other sites

That would be something like:

 

if switchselect && !a{1} then a{1} = 1
if !switchselect && a{1} then gametype = gametype + 1 : a{1} = 0
if gametype = 4 then gametype = 0

Edited by MausGames

Share this post


Link to post
Share on other sites
That would be something like:

 

if switchselect && !a{1} then a{1} = 1
if !switchselect && a{1} then gametype = gametype + 1 : a{1} = 0
if gametype = 4 then gametype = 0

 

Thanks Maus! I'm still not quite sure how it works but it works... (Except the last line should read):

 

if gametype = 3 then gametype = 0

Share this post


Link to post
Share on other sites
I agree that the game is not all that graphically pleasing like your games (that shower game is incredible), but I think the gameplay itself is a lot of fun, especially level 3.

 

Thanks for checking out the game!

 

 

For instance, I play the game for time, and have a set route that I take every time. I basically just race down through the "serpentine" path on the left, grab the key, grab the skull, snipe the Red Wizard and go back the same way. Non-random Adventure was also about speed when you memorized the locations of everything, so I don't mind that at all.

 

So what is your best time? I just finished level one and killed both wizards in 1 min 15 sec...

Share this post


Link to post
Share on other sites
As far as variables, you have the last 4 playfield variables, they are unused in non-scrolling games, plus at least one of the AUX variables.

 

Ok, so you're saying var0-var3 are available. Can I rename these like other variables?

Share this post


Link to post
Share on other sites
As far as variables, you have the last 4 playfield variables, they are unused in non-scrolling games, plus at least one of the AUX variables.

 

Ok, so you're saying var0-var3 are available. Can I rename these like other variables?

Yes. You can rename any of the variables and registers-- e.g., a, temp1, player0x, var0, or even COLUBK, GRP0, TIM64T, etc. But the last four bytes of the playfield RAM aren't var0 through var3; they're var44 through var47.

 

Michael

Share this post


Link to post
Share on other sites
As far as variables, you have the last 4 playfield variables, they are unused in non-scrolling games, plus at least one of the AUX variables.

 

Ok, so you're saying var0-var3 are available. Can I rename these like other variables?

Yes. You can rename any of the variables and registers-- e.g., a, temp1, player0x, var0, or even COLUBK, GRP0, TIM64T, etc. But the last four bytes of the playfield RAM aren't var0 through var3; they're var44 through var47.

 

Michael

 

What about aux? Can it be made available?

Share this post


Link to post
Share on other sites

Hey guys,

 

Here's the latest version:

 

• Fixed explosion bugs

• Added title screen back in

• Added Easter Egg (levels 2 & 3)

• Level 3 "boss" is on 'roids (My kids were starting to beat level 3...)

 

emr7.bin

Share this post


Link to post
Share on other sites
? Fixed explosion bugs

Is that when you would kill a guy and the explosion would kill you? I had that happen once.

 

No, the bug was when there were two explosions at once... The explosion can still kill you - think of it as a toxic cloud!

Share this post


Link to post
Share on other sites

Is the boss supposed to appear every time? Sometimes he appears and sometimes he doesn't, though I haven't tried out the newest binary yet. It's hard enough as it is!

Share this post


Link to post
Share on other sites
Is the boss supposed to appear every time? Sometimes he appears and sometimes he doesn't, though I haven't tried out the newest binary yet. It's hard enough as it is!

 

The boss patrols the maze after you have killed the red wizard and picked up the chalice.

Share this post


Link to post
Share on other sites
As far as variables, you have the last 4 playfield variables, they are unused in non-scrolling games, plus at least one of the AUX variables.

 

Ok, so you're saying var0-var3 are available. Can I rename these like other variables?

Yes. You can rename any of the variables and registers-- e.g., a, temp1, player0x, var0, or even COLUBK, GRP0, TIM64T, etc. But the last four bytes of the playfield RAM aren't var0 through var3; they're var44 through var47.

 

Michael

 

Hi Michael,

 

I'm trying to use var44 as a timer in my game and it does not seem to work like a typical variable... If i do: var44=var44+1 it doesn't seem to work. var45-47 behave the same. Am I missing something obvious?

Edited by Byte Knight

Share this post


Link to post
Share on other sites

Some more commentary:

 

1) Is there a reason why I can't shoot fireballs up or down as well as right and left?

 

2) Adventure allowed the player to move laterally while thrusting against a wall. Here, that's not possible, which makes navigating mazes much more difficult.

 

3) Why are there stripes in the various walls?

Share this post


Link to post
Share on other sites
3) Why are there stripes in the various walls?

bB displays the playfield with those blank lines by default. You can get rid of them by using the "no_blank_lines" option but then you lose missile0.

Share this post


Link to post
Share on other sites

When you use the playfield variables, they are reset when the playfield is redrawn. That's why they don't seem to be working for you. You have to reset them to zero or whatever amount each time you define a new playfield. They can still be useful though, I'm sure your game has variables that have to be set each time the player moves to a different screen.

 

An alternative, if you choose not to use the playfield variables, is to add "pfscroll upup" before each playfield definition; this will increase your vertical resolution to 12.

 

If you use any kernel options that require the loss of either missile, you can then use the missile x/y/height for three more general use variables.

Edited by MausGames

Share this post


Link to post
Share on other sites
Some more commentary:

 

1) Is there a reason why I can't shoot fireballs up or down as well as right and left?

 

2) Adventure allowed the player to move laterally while thrusting against a wall. Here, that's not possible, which makes navigating mazes much more difficult.

 

3) Why are there stripes in the various walls?

 

Hi Frotz,

 

1) Because the sword in Adventure only points sideways... (I need to make a FAQ for this one!)

 

2) I wish I knew how to do this. Right now, if there's a collision with the playfield, the player bounces back to his previous position. Maybe someone else knows how to do it like Adventure?

 

3) See above.

Share this post


Link to post
Share on other sites
Some more commentary:

 

1) Is there a reason why I can't shoot fireballs up or down as well as right and left?

 

2) Adventure allowed the player to move laterally while thrusting against a wall. Here, that's not possible, which makes navigating mazes much more difficult.

 

3) Why are there stripes in the various walls?

 

Hi Frotz,

 

1) Because the sword in Adventure only points sideways... (I need to make a FAQ for this one!)

 

2) I wish I knew how to do this. Right now, if there's a collision with the playfield, the player bounces back to his previous position. Maybe someone else knows how to do it like Adventure?

 

3) See above.

 

In Adventure, I will frequently carry the sword in front or behind me. It works in those directions too.

Share this post


Link to post
Share on other sites

For all of you guys that like to play speed Adventure, I added a timer that ticks down in the lower right corner. To free up some variables, the red wizard will not shoot fireballs in this mode. Just set the right difficulty switch to A and try to beat the clock!

 

emr8.bin

Share this post


Link to post
Share on other sites

I just played your adventure game and I enjoyed it. I nearly jumped out of my seat when the boss romped across the screen at me. :-o I didn't expect a quad sized creature.

Share this post


Link to post
Share on other sites

I'm not a fan of the Adventure style games but after reading through this thread it sounds like this game is destined for a cartridge release.

Share this post


Link to post
Share on other sites
I just played your adventure game and I enjoyed it. I nearly jumped out of my seat when the boss romped across the screen at me. :-o I didn't expect a quad sized creature.

Cool! That was the effect I was hoping for! I'm thinking I may have to slow the "boss" back down on level 3. He's quite hard to beat now...

Share this post


Link to post
Share on other sites
I'm not a fan of the Adventure style games but after reading through this thread it sounds like this game is destined for a cartridge release.

I've been thinking about that... How about this for a cartridge label?

 

post-16548-1237522436_thumb.jpg

Share this post


Link to post
Share on other sites

Here's the latest version. I slowed down the "boss" in level 3 - he was kickin' my ass too much. I also made his patrolling of the maze more random, as you could predict which direction he was going to come from. I also added a little logo to the title screen. This will probably be the final version of the game. The next step is putting it on a cartridge and trying it out on the real hardware - should be fun playing it with a joystick and not the keyboard!

 

emr9.bin

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...