Discuss the massively-multiplayer home defense game.
You are not logged in.
Version 0.2 of Castle Fortify released!
In this version I've added the Native Castle Doctrine format to the code section. Very excited about this release, because the goal from day one has been making the transition between CastleFortify and Castle Doctrine (And any other custom apps) as seamless as possible, and supporting the native Castle Doctrine format is a huge step in that domain. Superusers who once had to convert between CastleDoctrine to CastleFortify can now cut and paste!
Thanks so much to @Zegnat, for suggesting this feature and @Zegnat @dalleck @mjbarker for helping me navigate the tricky technical terrain! And thanks to everyone who's currently using CastleFortify to share designs - keep those suggestions coming!
Post any issues on the forum or (if you wanna be all geek about it) here: https://github.com/SethArchambault/CastleFortify/issues
Last edited by segarch (2013-05-17 15:49:48)
Share castle designs: http://castlefortify.com
Let me know about any Castle Fortify issues here: https://github.com/SethArchambault/CastleFortify/issues
Contributing is easy! Check the readme: https://github.com/SethArchambault/CastleFortify
Twitter: @SethArchambault
Offline
Great work segarch! Imports flawlessly now.
The rich aren't safe. Nobody is safe. -jere ...but the smell wafts out from the pit, obviously. - Jason Rohrer
And the more dickish they are, the more I feel like beating a house to destruction after finally figuring it out. -bey bey
Offline
Dinnanid wrote:I think that you should make the grey section tile or whatever you call it partially transparent so you can still see what tile you are over.
Yeah that would definitely be a valuable addition.. At some point I'm going to have to redo the whole display process. Since I'm using basic html Div tags instead of html5 console, I'm very limited on how to display elements. As things progress, we'll get there.
You can still do this with a really small change to your style definitions. Works on all decent browsers... so yeah that might exclude IE 7/8, but since your page is written with modern browsers in mind, I don't think that's an issue at all
Change this rule
.square:hover {
background: #333;
}
to (don't forget the :after part)
.square:hover:after {
background: #333;
opacity: 0.7; // <-- tweak the opacity value to your liking
content: "";
display: block;
height: 28px;
width: 28px;
}
A solution that works in all browsers would require you to clutter the HTML markup with extra empty divs inside every div.square and then applying a similar CSS rule (without the :after and content: "" part) to those empty divs.
Last edited by Matrix (2013-05-18 03:11:54)
Offline
Great work segarch! Imports flawlessly now.
Awesome!
You can still do this with a really small change to your style definitions. Works on all decent browsers... so yeah that might exclude IE 7/8, but since your page is written with modern browsers in mind, I don't think that's an issue at all
Sweet! Thanks for doing the legwork on this one! I'll test it out and get it up soon.
Share castle designs: http://castlefortify.com
Let me know about any Castle Fortify issues here: https://github.com/SethArchambault/CastleFortify/issues
Contributing is easy! Check the readme: https://github.com/SethArchambault/CastleFortify
Twitter: @SethArchambault
Offline
Sweet! Thanks for doing the legwork on this one! I'll test it out and get it up soon.
It's live!
EDIT: I have also been experimenting with greenish colors and lower opacity (like 0.25 - 0.3). Check it out and tell me what you think visibility-wise.
Last edited by Matrix (2013-05-18 08:17:42)
Offline
@Matrix Your code is up! Looks like it works great, thanks!
BTW - I rewrote the the readme to include a section on contributing. (https://github.com/SethArchambault/CastleFortify) For changes like this, it's really easy to contribute directly, just click the edit button on the file you want to change (in this case index.php), and then save. Easy as wikipedia!
Of course this is totally about whatever is easy for you - contributions on the forum are awesome too!
Share castle designs: http://castlefortify.com
Let me know about any Castle Fortify issues here: https://github.com/SethArchambault/CastleFortify/issues
Contributing is easy! Check the readme: https://github.com/SethArchambault/CastleFortify
Twitter: @SethArchambault
Offline
BTW - I rewrote the the readme to include a section on contributing. (https://github.com/SethArchambault/CastleFortify) For changes like this, it's really easy to contribute directly, just click the edit button on the file you want to change (in this case index.php), and then save. Easy as wikipedia!
Good to know!
Offline
Version 0.4 of Castle Fortify Released!
Major Release!! Features:
1. Drag to Draw
2. New Tiles
3. New URLS
1. Drag to Draw
With Jason's latest changes to the game allowing for much more expensive houses, I decided to fast track the drag to draw feature, lest people get carpel tunnel from clicking over and over. No more clicking for individual tiles! Thanks @mjbarker for bringing this up, and creating an issue on Github - were it not for that this is the kind of feature I may have put off for a far in the future release.
2. New Tiles
What good is a map sharing app if you can't share the maps exactly as they are? The new tiles are in!
3. New URLs
Okay, you probably won't notice this one, but instead of URLS being castlefortify.com/id=342432 they default to: castlefortify.com/c/342432
(The c is shorthand for "castles", which also works: castlefortify.com/castles/342432) Underneath the surface this is a major change to the code. I want to add an API next, so I have moved the code over to take advantage of the Slim framework http://www.slimframework.com/ and Redbean redbeanphp.com.
Proper API formatting will be like this: castlefortify.com/api/v1/castles/342432
So I wanted the site to function similarly. This is probably more than you wanted to know.. but basically you can sleep better knowing that the code is getting a little more structured (while maintaining simplicity) and will hopefully make it easier for other developers to get in there and see what's going on, and contribute.
Alright that's it for now - If you spot any bugs, just reply to this thread!
Last edited by segarch (2013-05-25 16:16:44)
Share castle designs: http://castlefortify.com
Let me know about any Castle Fortify issues here: https://github.com/SethArchambault/CastleFortify/issues
Contributing is easy! Check the readme: https://github.com/SethArchambault/CastleFortify
Twitter: @SethArchambault
Offline
Awesome additions.
Of course #1 and #2 are awesome, but I really like #3
I spotted a caching issue... I had to manually force a redownload of the new javascript code to get most of the new functionality. I guess just changing the fortifiy.js?v=1 to fortifiy.js?v=2 should do the trick.
EDIT: I made the change and sent a pull request on github.
Last edited by Matrix (2013-05-26 02:55:24)
Offline
@matrix you rule! Thanks for fixing that!
Oh, and also thanks to @mjbarker for finding some more issues and @matrix again for fixing them!!
Last edited by segarch (2013-05-26 12:22:24)
Share castle designs: http://castlefortify.com
Let me know about any Castle Fortify issues here: https://github.com/SethArchambault/CastleFortify/issues
Contributing is easy! Check the readme: https://github.com/SethArchambault/CastleFortify
Twitter: @SethArchambault
Offline
Version 0.6 of Castle Fortify Released!
Features:
1. Improved ease of uploading maps
Now instead of clicking "Code" you click "Import." Since I suspect more people are interested in using this tab for importing their maps, than messing around or exporting, this makes sense. Also added a wiki article on how to import your code from Castle Doctrine. https://github.com/SethArchambault/Cast … e-Doctrine
I'm on a Mac so the walkthrough doesn't cover PC or Linux in any detail. If you have experience with PC or Linux and want to write up a walkthrough of finding the Castle Doctrine map code, please post it here or on the wiki! I'm sure others have questions on how to do this.
2. New, clean code structure
This is mostly for my sake, but I probably fixed some glitches along the way, and now features can be added in a more logical way than just stuffed in there.
Alright, that's all I've got for now. Let me know if you see any bugs - or have any great feature ideas!
Share castle designs: http://castlefortify.com
Let me know about any Castle Fortify issues here: https://github.com/SethArchambault/CastleFortify/issues
Contributing is easy! Check the readme: https://github.com/SethArchambault/CastleFortify
Twitter: @SethArchambault
Offline
Thank you for continuing to work on this!
Offline
Thank you for continuing to work on this!
My pleasure! It's awesome to see people using it.
Share castle designs: http://castlefortify.com
Let me know about any Castle Fortify issues here: https://github.com/SethArchambault/CastleFortify/issues
Contributing is easy! Check the readme: https://github.com/SethArchambault/CastleFortify
Twitter: @SethArchambault
Offline
This is such a cool tool thanks for making it! One thing I noticed is that it doesn't seem to tabulate the total cost of the house anymore. Is this intentional?
Offline
This is such a cool tool thanks for making it! One thing I noticed is that it doesn't seem to tabulate the total cost of the house anymore. Is this intentional?
It does so! It is down the bottom.
The rich aren't safe. Nobody is safe. -jere ...but the smell wafts out from the pit, obviously. - Jason Rohrer
And the more dickish they are, the more I feel like beating a house to destruction after finally figuring it out. -bey bey
Offline
That's interesting. So it does show the total cost when I build it by hand, but for some reason, it's no longer showing me the total cost when I import the code from the stdout file. It used to before the latest version? Maybe it's something on my end.
Offline
That's interesting. So it does show the total cost when I build it by hand, but for some reason, it's no longer showing me the total cost when I import the code from the stdout file. It used to before the latest version? Maybe it's something on my end.
Hmm, I'll look into this - Thanks for the heads up!
Share castle designs: http://castlefortify.com
Let me know about any Castle Fortify issues here: https://github.com/SethArchambault/CastleFortify/issues
Contributing is easy! Check the readme: https://github.com/SethArchambault/CastleFortify
Twitter: @SethArchambault
Offline
That's interesting. So it does show the total cost when I build it by hand, but for some reason, it's no longer showing me the total cost when I import the code from the stdout file. It used to before the latest version? Maybe it's something on my end.
You were spot on with this. Castle Fortify was messing up in calculating price in certain kinds of imports, all fixed now - Thanks so much for reporting it!
Share castle designs: http://castlefortify.com
Let me know about any Castle Fortify issues here: https://github.com/SethArchambault/CastleFortify/issues
Contributing is easy! Check the readme: https://github.com/SethArchambault/CastleFortify
Twitter: @SethArchambault
Offline
Thanks to you for creating this in the first place!
It works great now!
Offline
Thanks to you for creating this in the first place!
It works great now!
Glad you find it useful!
Share castle designs: http://castlefortify.com
Let me know about any Castle Fortify issues here: https://github.com/SethArchambault/CastleFortify/issues
Contributing is easy! Check the readme: https://github.com/SethArchambault/CastleFortify
Twitter: @SethArchambault
Offline
Bumpity bump!
importing a map with a dog on another tile (pit, trapdoor, grid, etc.(?)) produces a blank tile!
i'll go put together an example quick..
http://castlefortify.com/c/5348357
998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#103#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#110,72:3!#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#0#0#0#0#111,72:2!#0#0#0#0#0#0#0#0#0#999#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#112,72:2!#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#1#0#0#0#0#0#0#0#0#0#1#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#1#30,72#104,72#105,72#106,72#109,72#107,72#100,72#108,72#101,72#1#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#1#1#1#1#1#1#1#1#1#1#1#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#1023#1042#1011#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998
this is actually..
(two merged screenshots, not client haxing )
Last edited by largestherb (2013-07-22 10:16:10)
Offline
thanks so much largestherb! Definitely helps to have such a clear example - will give me something to test on... Not sure when I'll be able to get around to fixing it, as I'm in the process of moving between states, but will make sure it's on the list!
Share castle designs: http://castlefortify.com
Let me know about any Castle Fortify issues here: https://github.com/SethArchambault/CastleFortify/issues
Contributing is easy! Check the readme: https://github.com/SethArchambault/CastleFortify
Twitter: @SethArchambault
Offline