Jump to content
  • entries
    4,948
  • comments
    2,718
  • views
    1,808,802

Flying fly


atari2600land

623 views

I'm still a little woozy from that doozy of an eye ache I had. Nevertheless, I decided to work on the fly swatting mini game in Frank the Fruit Fly. I forgot that when it comes up, you need to press A to start it. I was all "how come I didn't make it so the hand moves? I thought I did." Then I remembered that you need to press A to start it. So a few hours later, and the fly can move in 8 directions and stand still. I wish I could get rid of the standing still part, but the way I programmed it, I have no choice.

 

To save room (since I don't know how much I have), I am getting two separate variables from random: the x position and the y position. If the x position is 0 then Frank will only move up and down. If the y position is 0 then Frank will only move left and right. And if both x and y are 0, then that means Frank stands still. I could program it so that it picks a direction between 0 and 7 which would solve the standing still problem, but that would take way more space and work.

 

Again, after I reset my computer a couple of days ago, the Pokemon Mini compiler is still on my computer as well as the emulator, which is weird because I had to reinstall Photoshop.

The numbers work. They are tiles. I am so glad we don't have 26 different numbers like we have 26 different letters. Working with base 26 would be weird, hard, and awful.

ftff155.png.c8b2d5b8c7f3f433e97aeb06be52be65.png

Now that I have the fly up and moving around, the next thing I'm going to work on is collision detection. I hope to have Frank the Fruit Fly completed by September in time for the 20th anniversary of the Pokemon Mini.

0 Comments


Recommended Comments

There are no comments to display.

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