Jump to content
IGNORED

the secret government waffle project


Recommended Posts

I solved this by myself. As it turns out the wafflewaitseconds variable wasn't being reset so of course it didn't stop. But now I have a new problem. Is there a way to make the waffles go behind the machine? I want the appearance of the machine is spitting them out.

post-9475-0-63540300-1500090989.gif

Link to comment
Share on other sites

I tried the +MB_A_PRIO thing and it looked like little orange lines.

Edit: As it turned out, the screen was printing white S's when I didn't tell it to. I had to erase them by telling it to print blank lines and everything works well for now.

 

Edited by atari2600land
Link to comment
Share on other sites

OK, it's technically a game now. I added the guy in and he must dodge the waffles otherwise the game ends. But it isn't a very interesting game. So I have to work some more on it later today (after I sleep.) Stuff left to do:

+ add powerups

+ add game over screen

+ add in-game music? (would people want this? If so, will there be enough room?)

 

To start the game, press 1 for fixed waffle y positions or 2 for random waffle y positions.

post-9475-0-82496100-1500110183.gif

 

secret.rom

Link to comment
Share on other sites

Power ups added in.

I found that if you eat a waffle with the fork powerup on it automatically added 3 to the score even though I put in #score=#score+1 in the code. So to fix this, I had to put in a few frames of it not adding 1 (called "digesting" in the code). The digesting process takes 3 frames to do, then adds three (or whatever) to the score. Seems kind of silly to do this even though it adds three to the score anyway, but I did it. The jam disappearing does something slmilar: it adds 2 instead of the 1 I tell it to do. I just left it like it is. The bacon, oddly, adds what it's supposed to: 15. Thought of something I could add: Sound effects. Would sfx mess up the in-game music if I put it in? Another note about power ups is, the guy's shirt changes to green, and then to red to warn you the powerup value is about to expire, and finally back to blue. And I fixed it so the guy faces left when you pressed left and then let go of left. I also made the guy faster. Some feedback would be nice.

secret.rom

Link to comment
Share on other sites

Around line 96, you're not re-initializing some waffle variables when the game restarts. I saw that many of your game variables are initialized before the title screen, which only happens once.

for c=0 to 4
	wafflex(c)=146 : wafflespeed(c)=1
	wafflewaitseconds(c)=0
	waffletimer(c)=0
next c

There's another bug where #score gets trashed... Ok, now I know. When you die, you're exiting the Procedure ispower4 using Goto, which causes the stack to grow and overwrite data. You need to do that if/goto at the main loop.

 

I recommend using Option Explicit, define constants, and please, add more comments. (only 2 in almost 1000 lines of code...).

 

The title screen (red one) looks great. Game is showing promise again. I'd recommend adding lives, an objective, then divide the game in rounds. Things should change after a new round (for example, bouncing waffles). You can get ideas from other games, for example, on the 2600 I remember Journey Escape and Fast Food.

 

 

 

Link to comment
Share on other sites

The title screen (red one) looks great. Game is showing promise again. I'd recommend adding lives, an objective, then divide the game in rounds. Things should change after a new round (for example, bouncing waffles). You can get ideas from other games, for example, on the 2600 I remember Journey Escape and Fast Food.

OK, I've started work on rounds, in this game called waves. Why call them waves? So they can be waffle waves. Alliteration is good. A little tune will play indicating a new wave will start. Right now it's set to start every 300 points, but I can change that. Right now, the different waves don't do anything, but wave 2 will feature diagonal-moving waffles. I'm not too keen on the lives idea, though, but perhaps I'll add it in anyway sometime in the future if there's room. The objective is not to hit the waffles. I changed the sfx so they're not as scratchy, I tried the envelope sample program, and it looks like #1 (the piano notes) is scratchy.

Edited by atari2600land
Link to comment
Share on other sites

I thought the game as it was, while fun, was a bit too easy. So I shortened the screen width and added more data to the left side. What do you think? Or should I go back to how it was? The reason I did this is because there was a "safe spot" you could go on the wave where the waffles went diagonally. One of the datum is "lives." That doesn't work yet. I'll hold back on releasing this ROM because I've been releasing too many now. Here's a picture of the current version.

post-9475-0-30309200-1500368616.gif

Link to comment
Share on other sites

The diagonal waffles have now been implemented. So they stretch out the entire screen, the waffles are more like a 22.5 degree angle rather than a 45 degree one. Makes one wonder why we didn't just stick to the square TV sets we started out with. When you get past the second wave, it just repeats itself since I haven't come up with an idea for a third wave. I need some wave ideas. By the way, the ROM is just an amazing 12.06k, the version I had earlier was 13 k! Next, I'm going to be working on a game over screen.

Edit: Discovered and fixed a bug pertaining to wave 2 movement. I also have the Game Over screen in place, so you get to see it.

secret.rom

Edited by atari2600land
Link to comment
Share on other sites

Added in the "circular" waffles. For testing purposes, press 1 to start on wave 1, 2 for wave 2, 3 for wave 3, and 4 for wave 4. This won't be in the final version. Almost at that 16k limit and need for bankswitching stuff.

Edited by atari2600land
Link to comment
Share on other sites

I like the diagonal waffles of yesterday's rom, I haven't seen today's rom. I have many crazy ideas for new levels. I agree with sine curves, waffle wall (think of Zaxxon, or Dolphin/2600, both use hints unlike the unplayable Flappy Bird), accelerating waffles, one very slow waffle that follows you, warn and split the screen in 2, etc. A death animation, or blink, is also a good idea. I also recommend intermission screens, you can just print something funny or display pictures at each wave.

My last game was 61 KBytes, mostly code, because enemy source is repeated 6 times - avoiding IntyBasic arrays (they can be slow). I did program an utility to generate the extra copies.

 

You don't need to bankswitch, check "contrib/42k.bas" to see how to use other ROM segments. IntyBasic/assembler won't tell you if your code exceeds any segment, you'll start getting weird crashes. One trick I used in the past was something like ASM ORG $($FFFF - size): when code exceeds size, the assembler will error out. On my last game, I created a memory map, by declared label/data at the end of each segment.The last segment is tricky: it ends with IntyBasic_epilogue.asm and not your code - you'll need assembly to get the address of its last label (if game has music, use "_music_vol3").

Link to comment
Share on other sites

Since there wouldn't be anything very useful for the overlay, I added back in my original concept. Which is completed and in the game. You press 1 at the title screen to get to it. For the zanier version with waves you press 2. I also moved all the data to $D000 which works well for now. The data ends at about $E100. I didn't know I had that much data in the game! The game ends at $5FE4, so I have about $6100-$6fff left to complete the game. Unless I don't get too extravagant with the game, I should be able to fit it in a manageable way.

Link to comment
Share on other sites

"...and your goal is to get the waffle machine under control"

 

Make that possible. Add a special item that is a key or keycard. Collect enough and it stops the machine. Then have something(robot)/someone(evil waffle chef) come out as an intermission and restart the machine. Then throw out square waffles. Keep track of the number of times the machine has been stopped as well as score. Alternate between round and square waffles.

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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...