Sunday, September 2, 2012

Your mom is a collision

Today I got rid of a few major errors in my collision detection system. I had a terrible one where collisions from the bottom refused to happen and another one that made the character bobble in and out of the platform slightly. Those are now gone. There are still a few that need to be worked out however.  Somehow changing my movement class started creating bugs in my previously sublime collision detection system. Most of them have required me to add a little room for error to fix... once I've found the cause.

I also worked on the camera for ages trying to emulate Cave Story's cool inertia effect. I think it was coded  pretty simply it's just that that game doesn't have to account for the player speeding up a lot so it didn't have the issues I had when trying to code it. So I made my own version of things that I'm pretty happy with. Maybe I'll change it later.

I also changed the size of the window on start up. We now have an interesting 1200x675 which is quite sexy but not nearly as sexy as full screen mode. The scale of Centure was a bit big for the standard 800x450 so I bumped up the screen size 1.5 times while keeping everything else the same.

I don't think I should create the first level until I have all the collision stuff fixed. Urgh.

Here's a screenshot of the platforms I've been messing around with to test out movement.


Lol I've just realised this entire blog is me talking about collision detection and not making a game haha! Well my original game was a complete mess so I'm glad I started again and now I'm ridiculously close to being done with collision detection that works on slopes! It's waaay better than what I started with!

Here's a new To-do list so I can have fun crossing things off:


  • Fix up that gravity (90% done)
  • Fix collision issues
  • Cut down on collision checking using some variation of intercepting rectangles
  • Make sure collisions work in a way that the character can change size at any time
  • Entering polygons via CSV (probably)
  • Work out an animation class 
  • Get all of Centure's animations back (70% done)
  • Make a running animation for centure
  • Figure out how Centure's tranformation will work in different contexts
  • Create a better way to initialise levels
  • Draw some clouds (Yeah! Clouds!)
  • Create more platforms for the first level
  • Design the background art for the first level
  • Create animated and non-colliding objects
  • Rework the camera class
  • Make CenturePoly symmetrical since rare cases will cause collision issues
  • Think of more stuff for this list
  • 2 comments:

    1. Wild Casino has an FAQs web page for frequent queries and considerations, but have the ability to|you possibly can} always ship them an e mail too. The site also has a reside chat function obtainable 24/7, should you to|must you} wish to get a response quickly. All other cryptos besides Ethereum – minimal deposit of yesbet88 $20 to $100,000.

      ReplyDelete
    2. The state board that regulates racing also enacted model new} rule proscribing how often jockeys can whip horses, put extra limits on medicine horses can be given before races, among different modifications. [newline]For the Cahuilla Band of Indians, a tribe in Southern California, their on line casino and resort, mixed with a fuel station on their reservation, herald about 75% of the tribal government’s budget, mentioned Chairman Daniel Salgado. That goes to social services, like youngster dependency instances; common public} works department, which just paved the reservation’s first highway about a yr and a half ago; the fireplace department, and extra, mentioned Salgado. Because the tribe has fewer than 350 gaming machines, it receives $1.1 million a yr from the Revenue Sharing Trust Fund, which tribes with large gaming operations pay into for tribes with restricted or no gaming, Salgado mentioned. If both propositions cross, both may go into effect, 1xbet but odds are that a court docket would end up weighing in. Opening line– The earliest line posted for a specific sporting occasion. Limit – The maximum amount accepted by the house before the odds and/or pointspread are modified.

      ReplyDelete