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

Dragonfly


atari2600land

209 views

Last night I had an idea for a new screen in my Fruit Fly game. So there's this giant ice wall and Frank can't get past it. Luckily for him, there's this fire-breathing dragonfly coming along. Using the fire coming out of him, the dragonfly can melt the ice blocks so Frank can get past it. Just make sure Frank doesn't get burned though. So dragonflies are just like dragons and can emit fire. They just don'r choose to because the whole earth would have been burned a long time ago.

 

So actually programming that in was a tough task. I woke up at 1 a.m. or so with an idea: Use a space of the tile map (after the 9 digit. There was room for one more thing.) as the individual ice blocks to be burned. Then if the fire comes into contact with one, only one block will go instead of the whole wall. So for three hours I worked, putting all this in. I thought I had finished once, but then discovered that Frank could move inside the ice blocks.

 

But finally after that, I completed it. Well, the code anyway. I had to ask for some help drawing the dragonfly and fire. That will be forthcoming. Here is my crappy temporary design of the screen. I'll work some more on the ice blocks as well.

ftffdragonfly.png.763873c72d04036950e6baa300fd5d3b.png

The dragonfly follows Frank so Frank can guide it to the wall. The dragonfly emits fire for about a second and then stops for a couple seconds before doing it again. It's pretty complicated code, about 500 lines or so, but they're pretty short lines, as all of them are. A line can simply contain the command "ret". Or be as complicated as this:


pm_header "frank thefly", IRQ_KEY_POWER | IRQ_MUSIC | IRQ_PRC_COPY, 0

 

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