Skip to main content

C Sharp, RogueSharp, and Unity

Okay, I imagined that I was going to work on drawing some concept art this week, however I got sidetracked. As usual. For example, a handful of times I've opened up Unity so I could code, the application has an update. While not normally a bad thing, my Internet is so balls-awful slow (5mbps... kill me...) that it takes a very long time to download anything.

In this instance, it isn't a bad thing. In fact, I think it's going to help a great deal. Because I'm still a serious beginner when it comes to coding C#, creating functions takes me an inordinate amount of time. This is mostly because I still have lots to learn, and most of my time is spent doing research. Not only that, but my limited knowledge prevents me from forecasting easily avoidable bugs and incompatibilities.

Keeping this in mind, building the library the way I am now is a terrible idea. I've been trying to figure out how to better structure things to reduce any future problems, relatively unsuccessfully. Luckily, I stumbled upon a blessing.

RogueSharp is an open license C# library for roguelike developers. Though it isn't quite compatible with Unity, and can't exactly be copy-pasted into my current project, it's still a huge asset. I'm most interested in how the library and its functions are structured. As I learn how to enmesh this code into something that works with Unity, I'll be able to truly understand how things work. I'll have to undo what I've already built, but that's fine -  the lessons learned there are still valid.

Fingers crossed all goes well.

Comments

Popular posts from this blog

Resolutions Schmesolutions

When I was in high school, I had a somewhat chaotic approach to cleaning. It began when I got frustrated by a cluttered desk, and dumped everything on the floor. I put back only the things I absolutely needed, shelved a few other things, and threw away everything else. This turned into a cleaning ritual where everything was classified as "keep", "store", or "discard". The goal was to discard as much as possible while treasuring only the things I truly wanted to keep.

Over time, that habit of mine evolved into something different. It became the cornerstone of my minimalist lifestyle. I learned to judge who and what I needed to treasure, and who and what I needed to discard. But it wasn't only about surroundings - it was also about self. I always found the idea of a classical hermit living on a mountain somewhat appealing, and I made many decisions to reach a reasonable interpretation of that. The path was much rockier than anticipated.

Anyway, at the b…

Coding schmoding: Populating Levels

Apologies for not updating last week. I ran into a number of problems while trying to put items in levels. It certainly sounded simple enough, right? If there's room for something to spawn, then spawn it. Boom, done.

Of course it's more problematic than it first seemed. Long story short, last week I spent a good chunk of time trying to figure out why functions I wrote weren't spawning anything at all. I don't recall all of the problems, but it was just one thing after another. You should have seen my browser tab - it was filled with Unity reference pages.

In any case, I decided to pick it back up this week, and finally got some progress forward.

Lots of learning and coding these past couple of weeks. Been trying to randomly spawn objects in the game world. Took longer than I wanted, and it's still wonky. Making progress, though. My sanity thanks liquor and pot. Read the Devblog in bio. #gamedev #gamedesign #indiegame #indiedev #solodev #indiestudio #prototyping #bsp…

Elemental Pests: The Æther Gremlin

Dusk creatures are not the only enemies the player will encounter. As with any ship or boat, it has its own type of pests such as bugs, birds, and rats. In Eclipse Perilous, the airships of the Sky Nation of Albion is beset with pests, albeit the Elemental kind.

Here is one such pest: the Æther Gremlin.

Not every enemy is made of Dusk. This one is an Æther Gremlin. It can merge with other gremlins, eat your metallic weapons and armor, and fights as part of a swarm. I need to make this particular Gremlin 'fatter'. It seems a tad thin... Devblog in bio. #gameart #pixelart #pixel #survivalhorror #roguelike #gamedev #unity #unity3d #indiedev #indiestudio #indiegame #gamedesign #eclipseperilousA post shared by Inigo (@ceritusorbis) on Jul 30, 2018 at 6:08pm PDT

Elemental Traits
Resilient. Elementals are typically moderately resistant to all forms of damage. This includes physical, psionic, and other elemental damage types.

Swarm. Individually, each Elemental poses little threat - they…