Page 1 of 2

Basic Fantasy Character Generator

Posted: Thu Aug 07, 2014 12:28 pm
by EvilGenius
I have a working, if not as complete as I'd like, Character Generator up at http://basicfantasy.andrewcooperonline.com/. It should be fully functional and conforms with the standard rules. I wrote a bit more about it over here... http://www.andrewcooperonline.com/2014/ ... generator/. So, I won't rehash what I said over here.

What I would like to emphasize is that this is an Open Source work in progress and that I am perfectly willing to share with anyone and everyone. I'd also love to have collaborators. I think the Javascript code is fairly simple and don't mind working with folks who want to contribute.

In any case, enjoy.

Re: Basic Fantasy Character Generator

Posted: Fri Aug 08, 2014 12:46 am
by dymondy2k
Nice!!! If you could kick out the results to a formatted character sheet page that would be awesome!

Re: Basic Fantasy Character Generator

Posted: Fri Aug 08, 2014 9:23 am
by EvilGenius
A printable sheet is in the plans for the future. Glad you like it.

Andrew

Re: Basic Fantasy Character Generator

Posted: Fri Aug 08, 2014 11:08 pm
by Blazeguard
I like it...a lot. :P

Re: Basic Fantasy Character Generator

Posted: Sat Aug 09, 2014 3:40 pm
by mTeasdale
Very nice ! If I can be a bit picky, maybe it would be better if the stats were be in the same order than the rulebook ?

Re: Basic Fantasy Character Generator

Posted: Sun Aug 10, 2014 10:56 pm
by Delver
Really cool! I ran some of my characters through it to check whether what I'd calculated by hand jibed with your numbers, and it worked! Nice!

When I began rolling some random characters, I thought the Attributes were awful low, then I realized you are probably coding by the book which is straight 3d6 each. I almost always do 4d6 drop lowest, so I'm spoiled by seeing higher numbers! ;-)

Works great though, and I wish I had the time to help with some graphics... maybe this winter.

Thanks for doing that though, great contribution to the community!

Re: Basic Fantasy Character Generator

Posted: Tue Aug 12, 2014 10:10 am
by EvilGenius
One of the things I want to do is allow the user to pick a method of rolling. The standard would obviously be 3d6 for each stat. 4d6 and drop the lowest would be a common one as well.

I did give the ability to just pick scores which alleviates some of the issues.

Some help with the graphics would be awesome. I can do code. Art... not so much.

Re: Basic Fantasy Character Generator

Posted: Tue Aug 12, 2014 11:09 am
by Solomoriah
You need a "flip" option that subtracts all six scores from 20. Like I discussed in my post a few weeks back in GD.

As far as the layout goes, yeah, it needs some work. Let's see... looking at the source, it appears you started with a framework I'm not familiar with. You've laid things out with divs, but I think some of them need to be given classes or IDs.

... So. Just gave it a once-over. I don't know how your webserver is set up, but I've attached a zipfile with my approach to the main page and css.

Re: Basic Fantasy Character Generator

Posted: Wed Aug 13, 2014 4:54 am
by EvilGenius
I didn't actually use a framework. I just threw some basic div tags down to hold information and then used some really basic CSS to play with the location of the tags.

The javascript itself is just an object that holds all the current character information. When something changes, the object updates.

I'll look at your css and html and see what I can do.

Re: Basic Fantasy Character Generator

Posted: Wed Aug 13, 2014 5:10 am
by EvilGenius
All updated and much, much better. Thanks Solomoriah. I'll update the Github code soonish.