#GameDev update. Today I:
- Ported the project to .NET Core 2.1.
- Added JSON language files, a Settings class and a string loader, so text doesn't need to be hard-coded into the source any more and the game supports future localisation.
- Implemented simple terrain types, adding different glyphs and background colours depending on whether a cell is in FOV or not.
- Added a PlayerCharacter Component with a FOV property and changed FOV logic to use a radius (default: 10 cells).
Seasonal #GameDev 🤣 Scribbling notes with a festive scented candle burning and NOW Christmas on TV, as a roast cooks in t'oven for tea tonight. Ho, ho, ho. 🎄
More #RogueLike fiddling tonight, though I've had a rough day so I think I'll leave the rest for now.
The map remains unexplored until your character "sees" an area (the lighter ray-casting), then it greys out when it's no longer in the FOV.
Infinite FOV but easily tweakable to use a radius instead.
Procedurally generated "dungeons" and basic collision detection done!
I really need to be giving some thought to the bigger picture, but I'm having fun in the meantime.
I guess the next step is to decide whether to use fixed-width maps and join them up (like Caves of Qud does) or generate one much larger map and use a restricted viewport.
Well, that's the basics of messages done now and I've got some ideas for the game itself.
Strings are truncated to the width of the message area, which is a bit crap, but it is a POC at the moment. Colours are managed by a custom attribute on an enum + some basic Reflection code.
Next I'll move onto maps and collision detection. Not sure whether to run something up myself or use a library.
Awww shit. This is going to get messy. #DnD
It's time for our monthly #DnD session. Have at you! ⚔️
Bed at 7.45pm. It's been one of those days / weeks. I have an open weekend though so cinema with @Jo is on the list, as is some writing and techie stuff.
Hanging around in a virtual world, drinking my virtual morning coffee, while drinking my morning coffee in the real world and piholing my Pi Zero W. #meta
Dev. AppSec/InfoSec guy. Writer. Hubs. Dad. Punk of Many Colours. Mental Health First Aider & Advocate. Middle-aged Northern Brit. Sweary. Simplifying life.
A safe, social, virtual space for anyone interested in mental health and its issues. Whether you're a service user, someone with lived or living experience or a mental health professional, feel free to join, hang out and chat about anything.
Non-judgemental, open-minded and with a zero-tolerance policy on abusive behaviour, harassment and discrimination.
If you are experiencing a suicidal crisis, please call one of the numbers below and talk to someone - they will be able to help.