Jump to content
  • entries
    4,962
  • comments
    2,719
  • views
    1,810,622

Nice Mice


atari2600land

751 views

My ChuChu Rocket-inspired game has a new name: Nice Mice. In it, your goal is to guide the mouse to the cheese. The mice always turn right when faced with an ability to turn. If you'd like to try the first level out, check out the link in my signature. If you don't have a Virtual Boy emulator handy, here's a screenshot. I've made the mice into little wind-up mice, that's what the thing sticking out of the mouse is. And I've made the number of blocks you have left to place over there at the top left corner. And, now the mouse doesn't move when you place the blocks. When you're done placing the blocks, you press Start to move the mouse. Select resets the level so you can try again, and, when setting blocks, B undoes your last block placement. Next up what I need to do is (try to) get rid of the goto statements in the code (which I don't know why goto statements in C are so bad. Why not use them if the designer of C put them in there?) and some level designing. I want to have this done by the end of the year, and I think I can easily do that. GoSub for VB took about 8 months to complete.

2 Comments


Recommended Comments

I don't know why goto statements in C are so bad

 

It comes down to maintainability. When you use goto, it's not obvious when you are looking at a destination label, where all of the goto references to that label are. Also, goto breaks the nested structure of C, since it makes it possible to jump into the middle of a nested block.

 

For an similar example, when I originally programmed Skeleton+ I reused a label as the address of the end of the "YOU WIN" bitmap. Unfortunately, at some point I ended up moving the bitmap to a different address. So instead of drawing 262 lines, the code ended up drawing far more. So if you actually won the game, the screen would roll! All because I was lazy and re-used a label.

Link to comment

I just had to make a mock up of what Chu Chu Rocket would look like on the Virtual boy. The tiles are 24x24 and it fit with Virtual Boy's 384x224 resolution quite well.

 

11m7sx2.png

 

Here are the tiles and the sprite.

 

ftj4gi.png

 

Chuchu:

 

2ah8bdi.png

 

Cat:

 

2afgxtv.png

Link to comment
Guest
Add a comment...

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