09.15.05
Workage
Time: 1.5 hours
Total: 25.5 hours
———————
So I picked up where I left off last night. Mainly speaking I finally made it so the extention and the location would be pulled off, leaving the name. I realize this is hard to understand, but simply put, /images/bg.bmp becomes just ‘”bg”. This is hard coded, however, meaning if I wanted something in /images/backgrounds/bg.bmp then it would become backgrounds/bg, which isn’t totally bad, but there are ways around it.
Also added the PRGW/PRGH functionality to FILE/GENERIC bitmap scripting. Since this also seems to be a murky subject for some people, let me explain what this does.
Earlier I added the ability to specify the screen size in the script. Well, say you want the “bounds” of your background to be that size, and all of your sprites. This would give them full access to the screen. Simply put, its a time saver. Rather then going through and changing the bounds parameters of every sprite and the level as a whole, I just specify I want them to use the program’s width (PRGW) and its height (PRGH) and it does it for me.
I think just about everything that has width/height (save pure bitmaps) now can have the PRGW/PRGH parameters in scripting. If not, it will probably head that way as I find that I need them.