(05 Nov 2005 at 19:57)
| Here is what I worked on today. I am thinking of making old Sierra-esque adventure games in Flash. So far, this is actually pretty convenient. Here is a little test I made: adventure3.swf. Use the keys to walk around (might need to click on it first to give it focus), and that's all you can do. Note that you can walk behind stuff with proper clipping. Observe the hilariously jerky animation and gratuitious alpha effect.|
Next I have to figure out how to use this OO nonsense so that I don't need to keep cutting and pasting code for each of the objects in the scene. Then, add inventory, and it's basically done! ;)
|The table/lamp z-drawing depth doesn't quite match its collision location, so if you get too close to it from the front you clip behind it.
The Lucasarts adventures at some point long ago started scaling the character up and down as he went further away in the scene. I bet you could do that pretty easily in flash.
|I expect that you eventually will remember that while I am moving left, the left key should stop me from moving.
Otherwise, awesome choice of secret project.
|nothings: Yeah, I noticed that right after I uploaded, but had to take off, so I didn't fix it. Anyway, having egregious problems makes it easier to show progress. ;) It's actually just a trivial issue with the registration point for the player and lamp being wrong. Scaling for depth should be really easy; I just need some convenient way of representing the axis along which he should be scaled.
jcreed: yup, naturally!
|I uploaded a new version that fixes the zorder problem.|
|I didn't notice the swinging lightbulb until now. Nice touch!|
|It's stolen straight from my animated featurette for CSL, a little in-joke.|
|hey, I'd missed that too, nice.|
|Man I can't beat this level, it's really hard.|