The Second Apocalypse

Miscellaneous Chatter => RPG Discussion => Topic started by: Callan S. on November 28, 2013, 12:23:24 am

Title: Programming is lonely...
Post by: Callan S. on November 28, 2013, 12:23:24 am
In a way this fits the writing section more than anything.

Anyway, programming is a lonely affair - you can write alot of code, but have very little to show off. So you start up a thread to must the barest level of attention (the viewed count rising above 1!!1!)

I started this code awhile ago and thinking ahead, both wrote it out neatly and commented it, so when I came back I didn't have to decypher my past workings (seriously, you leave code for a few months, when you come back it's just alien to you). Having aquired a free, reliable host recently I'm working on it again. Recently added the code to give names of other players and the count of any sranc present (it's funny to name a database entry 'manorsranc') as well as the code to inflict an attack/damage. Right now it's not a combat system, just the ability to be able to deal damage to another character on the same tile as you. I'm probably going to take inspiration from Urban Dead (http://www.urbandead.com/). In that you have a flat percentage (can be boosted with skills) and deal a fixed amount of damage on a hit. Having played it a fair bit, I think it works out okay, but I'm open to toying with ideas anyone else has.

The whole thing is asyncronous play - you have action points and the other players/sranc remain in the world even when they are not playing. You use action points to move around and attack and can only attack so many times because of it.

Finally the screen shot involves no nifty CSS formatting of any kind. You have to use your imagination that I'll employ a free CSS sheet I found somewhere, latter on. I've used the amazing made up name of 'Two Too' as a secondary character that is present with the played character. If someone wants to rename the test character, feel free to post the new name.

Thanks

Title: Re: Programming is lonely...
Post by: Cüréthañ on November 28, 2013, 07:31:12 am
Guess that's why XP dev teams work in pairs, man.
http://en.wikipedia.org/wiki/Extreme_programming (http://en.wikipedia.org/wiki/Extreme_programming) 
My son started a club at his uni for game development, you could have a look around for something like that in your area.

That said I'm doing a web app solo atm for my internship.  Thus I'm pretty active here atm when I should be working ;)
Title: Re: Programming is lonely...
Post by: sciborg2 on November 28, 2013, 03:56:49 pm
Callan, was there supposed to be a link in that post?
Title: Re: Programming is lonely...
Post by: Srancy on November 28, 2013, 05:52:14 pm
Urban Dead. Havent heard of that in a long time. A long time.
Title: Re: Programming is lonely...
Post by: Wilshire on November 28, 2013, 06:18:14 pm
This is pretty awesome.
Title: Re: Programming is lonely...
Post by: Callan S. on November 29, 2013, 01:50:16 am
I should explain that the map has the character in the top right corner of the main map - that's why there is so much black around it (placeholder graphic for the end of the scalper world, for now...)

Callan, was there supposed to be a link in that post?
No, I don't have anything online for it at the moment - I've done very little in the way of getting it secure and it's not even a game right now, just map navigation code. I'm actually working on the code for making a new character when you die.

I'm actually going to have two modes to choose from: Perma death (default) and 'Conspired' - the latter is the traditional model that your character can't die, but here you gain XP at 1/10th the rate - and if brought to zero HP, you still have to play as a sranc until that sranc is defeated in the right way (at which point your character, having shaken off his terrible pursuers, returns to play)

Need to pop in a way of making a new name for a character, after having been killed and finished playing as a sranc.

Also, if the tradition is to put surnames ahead of firstnames, what are firstnames called when they aren't actually first?
Title: Re: Programming is lonely...
Post by: Callan S. on November 30, 2013, 04:25:12 am
Just a fun attachment. In the order of posting to this thread. Don't worry, Srancy - you're there...just in a certain form! Currently the user names are still 1, 2, 3, etc, to keep it simple, so the nicknames are just numbers.

I'm currently working on the results recording - showing who attacked you (if anyone) since your last log in. Since you don't want to log in to a dead character and have absolutely no idea why you are dead! But it takes some fiddling to record all the little hits and stuff, as well as compile them into a neat one line where possible. I've actually written it, but don't have the heart to test run it right now - I'll set that as a task for latter!

The table border will be turned off in latter code. It's there so I can see what I'm doing more easily.