File System

Community Forums/Showcase/File System

wizzlefish(Posted 2005) [#1]
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. ;)


Techlord(Posted 2005) [#2]
Optomistic,

I'm curious as to what system you elected to use in saving you dynamic object data.


wizzlefish(Posted 2005) [#3]
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.


wizzlefish(Posted 2005) [#4]
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:\


wizzlefish(Posted 2005) [#5]
Problem fixed. :)


Caff(Posted 2005) [#6]
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?


wizzlefish(Posted 2005) [#7]
It's a completed part of a title. ;)

But, yes, I suppose you are right.