Saturday, April 7, 2012

Moving Slowly Onwards

Things are gradually moving along. I've added a box around my character to cut down all the collision checking the game has to do. So now if something's in the box it can worry about a collision in the next frame, if not it can just idle along. Yep I'm saving processing power on a 2D platformer.

I uploaded a video where you can see what the box actually looks like and a nice glitch I've run into. I figured I'd be able to see why it happens in SLOOOW MOOOOOTIOOOON but no luck there.

The box wont actually be visible in the game I just made it like that so I know it's working as intended. Good. Great. Now to fix those bugs.



4 comments:

  1. Just out of interest... Why isn't the size of the box constant?

    ReplyDelete
  2. Ah, right. I made it resize based on how fast he's moving and in what direction to minimize the amount of collision checking. I don't think it's really necessary now that I can see how small the difference in size is but whatever. STOP JUDGING ME!! lol

    ReplyDelete
  3. In any proceeding to ascertain the worth of the property, the worth of each article shall be found so that judgment for such value may be be} entered. If the operator of a game promotion has obtained a surety bond in lieu of creating a trust account, the amount of the surety bond shall equal at all times the entire quantity of the prizes supplied. The date, hour, and place where the winner might be 온라인카지노 chosen and the prizes might be awarded, except the brochures, ads, notices, tickets, or entry blanks are not supplied to the public public} greater than 3 days prior to the drawing. Upon figuring out a winner, the caller shall ask, “Are there some other winners? ” If nobody replies, the caller shall declare the game closed. No different participant is entitled to share the prize except she or he has declared a bingo prior to this announcement.

    ReplyDelete