|
That is simpler.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Hahaha!
I think the specification seems a bit dry!
Just opened one of those object file and might appear so to you after all!
Go ahead[^]!
|
|
|
|
|
Text sucks in nearly every imaginable way, and users mucking with their data in such an unstructured/unchecked/arbitrary way almost guarantees a Massive F***up will happen. They could also edit binary files, but usually that's done with a hex editor or something, it's not as likely to destroy the structure then.
|
|
|
|
|
someone had a good argument as to why I should not bother anyway!
|
|
|
|
|
Can use SVG for the map.
Super Lloyd wrote: I am working, albeit very slowly, on my take over the world project. Have a similar pet project too
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|
|
ppolymorphe wrote: Have a similar pet project too
Haha, those are the best kind!
|
|
|
|
|
Super Lloyd wrote: Haha, those are the best kind! Yes endless fun
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|
|
A strategy-pattern; implement a serializer for each desired format. Give each one an extension, and have the user choose a serializer using the OpenFileDialog.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Yeah, might do that eventually!
In fact when I read it, it was so obvious that I immediately assimilated your idea!
But I have to say... I didn't think of it before!
|
|
|
|
|
Maps, grids and rich text - looks like a D&D campaign runner
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
"When you have eliminated the JavaScript, whatever remains must be an empty page." -- Mike Hankey
"just eat it, eat it"."They're out to mold, better eat while you can" -- HobbyProggy
|
|
|
|
|
Damn, you know it now!!
What is your address? For the hitman, you see!
|
|
|
|
|
Oops... I was thinking too to a D&D campaing runner but I'll wait to have experience as a dungeon master before designing it.
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
"When you have eliminated the JavaScript, whatever remains must be an empty page." -- Mike Hankey
"just eat it, eat it"."They're out to mold, better eat while you can" -- HobbyProggy
|
|
|
|
|
Damn, more competition, I should hurry up! :P
I am almost as good as a Javascrip Map editor I found (but on desktop: undo, redo, save, etc.. :P )
getting there....
|
|
|
|
|
There are two questions to ask:
1. Has the text format value over the binary (human reading, simple parsing)?
2. There is any reason not to make public the binary format (binary format will be smaller)?
Around these two questions you have to decide...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
For the binary: Writing the specification will be very tedious.. but sharing and documenting the reading DLLs will be easier and acceptable!
Plus it won't be that famous that it needs official spec.
Text value is only for the benefit of human tinkerer.. might be simpler to .. I dunno.. maybe write some quick script tool to generate dungeon or something....
|
|
|
|
|
Super Lloyd wrote: tool to generate dungeon Old, but good tool...[^]
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
good tool!
|
|
|
|
|
If you have multiple people editing a map at the same time, as long as it's well structured, you could gain some benefits from merge tools that are already available. Binary files you get no such benefit, and it will always be last in wins.
|
|
|
|
|
Maybe...But as I see you never merge files when you work with binary...You merge objects in the memory...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
I didn't mean in-app. I was thinking more along the lines of source control and working with contributors in a non-realtime setting.
|
|
|
|
|
Super Lloyd wrote: I am working, albeit very slowly, on my take over the world project.
How is Pinky[^] anyway?
Mongo: Mongo only pawn... in game of life.
|
|
|
|
|
I only know from second hand....
Us, evil genius, are a secretive bunch!
|
|
|
|
|
I'd go binary for large data. If someone cares enough to edit that crap then they'll know enough about how to translate it anyway.
Jeremy Falcon
|
|
|
|
|
Right, indeed!
|
|
|
|
|
Nah, do what Microsoft did. Save everything as XML!
Marc
|
|
|
|