File System
Community Forums/Showcase/File System
| ||
I'm pretty proud of myself today. I acutally got a working demo of Operation 600 working! Well, of course, it wouldn't be a working demo unless it worked! Anyway, I finally developed this weird file system, and it reads *.op files straight from the program. The .op file holds all level information - title, ID, and the level mesh, and it holds attributes for unlimited amounts of dynamic objects. I've pretty much finished the whole file thing, and I plan to write a tutorial on it or something. Anyway, just thought you'd like to know - if any newbies are struggling with file/stream - come to me....or someone more professional. ;) |
| ||
Optomistic, I'm curious as to what system you elected to use in saving you dynamic object data. |
| ||
I wrote my own. If the code comes across the line "createobject" the lines below it are the parameters for the dynamic object. And the code repeats until the end of the file. So I have room in the file for unlimited amounts of dynamic objects. Currently I'm thinking on how to tackle level objectives. That would require scripting though, and it would be much easier to have the objectives in Blitz code. But that would get to be a mess. |
| ||
But now I'm having a problem with it. It won't load the file by the filepath it reads unless I put the full filepath starting from C:\ |
| ||
Problem fixed. :) |
| ||
I'm sure everyone is very excited by your announcement, but shouldn't this forum be used for showing Work In Progress or completed titles? |
| ||
It's a completed part of a title. ;) But, yes, I suppose you are right. |