Jump to content
  • entries
  • comments
  • views

Open pod bay doors HAL



Test of preliminary routines that open the center pod and show the "energy field" that can be hit to destroy the station in one shot.





The energy field is drawn using a missile. If the station is drawn with player0, the energy field is drawn with missile1. Likewise missile0 is used for stations drawn with player1. I did this as we can't control the color of the missiles, so this gives us a chance for the energy field to be a color other than green.


At the time the stations are drawn, the "draw shots" routine has yet to run, so the energy field has a higher priority than shots. I think this will be OK most of the time, though for levels like 4 this might cause a problem as shots could be invisible when they cross the horizontal zone (boxed in red in the screenshot) with the energy fields. It depends on whether or not other sprites are flickering in that section - in this screenshot the player's ship is part of the flicker with the stations, so a station shot does show up in the zone on the left.


This also shows a minor issue with these preliminary routines - the energy field is only drawn if the sprite is drawn, and which of the two energy field shapes is selected by bit 1 of the FRAME counter, so at certain sprite flicker rates the energy field doesn't appear to alternate between its two shapes. To fix this I'll just keep track of which energy field was shown last for each station.


I've turned off collision detection for the station shots to make it easier to view the changes. Right Difficulty=A will stop your ship from moving, which also helps to see what's happening.


I think it works out quite well, though will probably change it so that each station can have a different energy field shape as the current shape doesn't look quite right with the Vertical Station.


There are some quirks that I've not yet looked into




I've ordered a Treadmill Desk that will be delivered on the 5th. Starting tomorrow I'm going to move everything out of my office. I figure it'll take a few days, but I want to shampoo the carpet next weekend before the new desk is delivered. Over the course of the week of the 5th I'll be setting up the Treadmill Desk and figuring out how to arrange everything (except the old desk) back into my office.


The weekend of the 10th I'll have family in town for the Houston Art Car Parade. I've posted photos from prior years of this parade in my Houston blog entries.


Due to all this, I suspect it'll be a few weeks before the next Draconian build is posted.








Recommended Comments

Added an explanation of how the energy field is drawn, along with another screenshot to explain a potential issue with invisible shots as well as another known issue.

Link to comment

Done for today. I've moved the 7 computers(6 work, 1 personal) to my dining room and reconnected everything back up so I'll be able to work tomorrow. It's amazing how much dust builds up on these things.

Link to comment

Got to thinking I've had problems in the past with too much power draw in my office. On cold days in the winter, cold for Houston that is ;), I'll often use a space heater to heat up my office instead cranking up the furnace to heat up the whole house - I'm fine with watching TV wrapped up in a blanket, but don't care to program with cold hands. I found it best to not plug the space heater into an outlet in my office as it'll invariably trip the circuit breaker.


So yesterday I called up an electrician and they're coming by today to see about moving an outlet to a new circuit. Maybe even add 2 circuits, depends on the price. Having that done now means I won't have to move things out of the way a second time.


Last night I moved the desk and book case out of the room so the two outlets I'm interested in changing are now accessible. That puts me a couple days ahead of schedule for clearing out my office.

Link to comment

2 new circuits installed. Just finished emptying my office and Roomba is busy vacuuming it.


Might see another Draconian update this week.

Link to comment
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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...