We Are The Change We Seek
"i got this" - Kenny Wyland

This isn't where I thought I was going to be when I looked forward into my life, but here I am....

Yes We Can

Previous Entry :: Next Entry

Read/Post Comments (5)
Share on Facebook





We have directions!

My previous RoboRally progress was to get The Exchange board to render with some very simple images. That board however had some problems: it didn't actually reflect the directions of things like the conveyor belts, it didn't have walls, and it wasn't drawing the images properly spaced, so they were overlapping just a bit.

No more!



before screenshot





after screenshot



I've added an image manager to the game that will automatically load the images and cache them. When an image is requested that points in a different direction, it will pull the "north" facing one from the cache (so it doesn't have to read from disk again). Then it will apply some rotations and translations to the image copy and save that image in the cache for future reuse. It will do the same kind of thing for walls too. It's very efficient and very reusable and it makes me very happy. :)

Not being bleary with sickness makes coding much easier. :)


Read/Post Comments (5)

Previous Entry :: Next Entry

Back to Top

Powered by JournalScape © 2001-2010 JournalScape.com. All rights reserved.
All content rights reserved by the author.
custsupport@journalscape.com