Showing posts with label Voxel Heroes. Show all posts
Showing posts with label Voxel Heroes. Show all posts

Thursday, December 27, 2012

Terrain Coloring and Trees

I'm back from my mini holiday and I hope everyone had a wonderful Christmas. Since I've been back the engine has changed quite a bit:
  • Chunk generation/shading sped up to 200 per second
  • Terrain is now colored randomly
  • Random (if only a bit) trees
Lastly, I also enhanced the terrain generation algorithm. Previously, the heightmap was calculated with only one random Perlin Noise sample whereas the new algorithm uses three. The methodology behind it is slightly similar to how Minecraft used to do it in the olden days.

I generate three Perlin values called Elevation, Roughness and Detail:
  • Elevation is very smooth (zoomed in) and decides the overall shape of the terrain
  • Roughness is a bit less smooth and adds in some mountains and valleys
  • Detail is a close-up sample and makes the terrain a bit more interesting
The three values are then combined like this: 
  • ((elevation * roughness) * 32) + (detail * 8) - 8
Doing this gives much more interesting terrain but it will have to be replaced in the near future to allow for overhangs and more unique landmasses. To achieve this, I could use Simplex Noise but I'm not too happy with my implementation of Simplex at the moment as it takes much, much longer to execute than even numerous Perlin samples.

And now, screenshots!




Tuesday, December 11, 2012

University for Heroes taking shape

I've started work on the first map for Pixel Heroes. The University for Heroes (UH) is built in the heart of a forest with only only one path leading away from it. At the end of the path lies the entrance to the dungeon where new heroes will go as a final assignment. Making it out alive, equals a pass.

The University for Heroes. Entrance to Dungeons sold separately.
I'm entertaining the notion that the game won't feature a classic Main Menu but that rather, that the UH will act as an interface where you can change your character, load previous games or quit. For this purpose, I'll probably need to expand the UH at some point but for the moment, the size suits my needs.

Next up, I need to incorporate the Voxel Heroes Model file format (and most likely modify it a bit) so I can start placing some items in the UH. I also need to enhance the map editor to easily place actors in areas. When that has been done, I can decorate the UH with shelves, chests, lights (that reminds me, I still need to write the shader - fun!) and fellow adventurers with a bit of AI.

But let's not get ahead of ourselves.

Voxel Heroes is back!

It would seem that people are quite miffed that Voxel Heroes has been discontinued. Going through this blog's statistics (lots of people get here by Googling 'Voxel Heroes') and taking into account that Voxel Heroes v0.11 has been downloaded over 700 times, I think it's safe to say that it had quite a large following.

I've actually been thinking about the game a lot these last few weeks but every time I think of picking it up again, I remind myself how smoothly development on Rivenrealm is going. The largely 2D atmosphere has allowed me to ignore some barriers that have halted development on VH to a large degree. Also, my grasp of how exactly to manage such a large project has matured quite a bit since the advent of VH and hence, the Rivenrealm source code is much more manageable.

Be that as it may, I can no longer deny Voxel Heroes from existing and so, I am proud to announce that Rivenrealm and VH will be combined into one awesome new title:



Here's a list of features I plan to include in the first build. I should be ready to release the alpha before the end of the year and I'm hoping that those of you that followed development on Voxel Heroes so closely will approve of the direction it's going in now.

Menus
Main Menu
Ingame Menu
Looting
Inventory
Character Equipment
HUD

Functionality
Movement
Basic Combat
Descend to deeper levels
Item Unlocking

Content
Random generation of items, monsters and decorations for maps
Pre-defined (for now) dungeon layouts
University (where unlocked items are stored)

Quite a long list, but with most of the code already written in either Voxel Heroes or Rivenrealm, I feel that releasing in 3 weeks is completely feasible.

Check back soon (no really, I'll post an update in a day at most.)

Friday, March 30, 2012

Cave Flowers and Item Tooltips

Despite popular belief, I haven't disappeared off the face of the planet. I haven't been working on VH as much as I would have liked but the off time has done me good.

I haven't been completely idle though. I've made some new decorative models to be used in the cave theme.




Additionally I'm also working on getting the magic system finished. To assist in this, I've added mana fountains and potions.



But wait, there's more! As I've mentioned before, I've added functionality to display item models in tooltips. The models are currently only displayed in an orthogonal viewport. Ultimately I want to display the model, rotating in a 3D viewport.




Items are shaded like mobs; in the sense that the rarer/stronger the item is, the more it will be tinted. Please excuse the random numbers in the shield tooltip; I'm working on 1H and 2H weapons and currently, shields are seen as 1H weapons.

You can look forward to staves and daggers in my next update, as well as Intellect and Spirit affecting your Spellpower and Mana pool.

Wednesday, March 21, 2012

Numbers Everywhere!

I've been working on implementing my own Voxel Font. The first use of it being combat numbers. Currently, doing damage will display the damage done above your character. This is only really usable in the side view as you won't be able to discern the numbers from above.

Here are some screenshots featuring the text as well as a preliminary look at the new themes. All the themes currently have the same decorations (flowers) but I'll work on expanding that later.





Saturday, March 17, 2012

New UI and Magic

Just a quick post to show you what I've been working on. Expect a longer post soon!

In this screenshot you can see the new HUD with the spellbooks at the bottom of the screen.

Please note, the build that will include magic, the new lighting system and whatever else I implement in the meantime will only be out early April.


Tuesday, March 13, 2012

Flicker Flicker

For the next few days, I'll be busy implementing a local shader for use with certain dungeon themes (caves). This shader will take the location and occlusion of light sources such as lamps and torches into account. Ultimately, I want some light sources to flicker a bit as I think that'll give the dungeon a much more detailed look and feel overall.

Here's what I have so far (after about half an hour of messing around with the shader). You can also see the new info box at the bottom left which is now scrollable. No more missing messages!



EDIT 1: This is starting to look better. Played around with the attenuation and brightness factors and modified the shader a bit.


EDIT 2: I've implemented some occlusion checks in the local shader and the whole effect is much more realistic now. Models are also shaded based on how light the area is they're standing in. I've removed the lamp models from the game for the time being.

Some levels are very dark. I'll include items that can be held to light up areas.

Next, I'll be working on something really fun. Check back soon.

Saturday, March 10, 2012

Voxel Heroes: v0.11

Download Link

After a week of fixing and tweaking, I present to you the latest version of Voxel Heroes. Most of the bugs were picked up by /r/gamedev on Reddit for which I'm very grateful. I hope the changes I've made will make the game more enjoyable for all of you.

What's new?
  • Fixed a crash when looting flowers and spikes.
  • Fixed a bug that made weapon minimum damage to display as the same as the maximum damage in tooltips.
  • Pressing Esc will no longer close the game but rather close the active menu (should there be one).
  • Removed a piece of test code that was forcing the same level to be loaded every time. Levels will now differ between consecutive games.
  • An equip / unequip / consume button has been added to the inventory screen.
  • UI system changes
    • Child elements now inherit the position of their parent element.
    • Textboxes and Buttons are now dynamically translatable.
  • When attacking a mob, a small dialog box will appear with an image and info of the mob.
  • After a corpse has been completely looted, the loot window will close.
  • Pressing R will now make the character move in the last direction until a wall or mob is reached.
  • A trap will only do damage to a player once. Thereafter the trap will still be visible but the player will avoid it.
  • Fixed a memory error where an illegal object was being created.
  • Memory is better deallocated after dying and starting a new game. This should fix a lot of crashes.
  • A lot of scaling modifications.
Thanks for the support!

Wednesday, March 7, 2012

A Mini-Mobby Update

Just thought I'd drop in to show you what I've been working on. If you haven't notices by now, you can access the Release Notes at the top-right corner of my blog. There you'll see that I've been working on fixing some small issues picked up by you guys.

I also recently implemented a mob window that pops up when you attack a mob which looks like this:



I'm still going to make lots of changes to it but this should give you an idea of what to expect. I'll probably hide most of the stats from the player (like mob damage) and rather have an ability that allows you to see them.

Remember, the next release (minor) is this Saturday so check back soon!

Sunday, March 4, 2012

The Alpha Aftermath

It would seem that the Alpha release went rather smoothly, which I'm grateful for. Showing something to the public that you've poured your heart into is a stressful thing.

I got some great feedback from Reddit's Gamedev Community and from the comments it would seem that the major issues currently are:
  • Crashes when looting Flowers / Spikes.
  • Accidentally pressing escape which closes the game.
  • Movement is arduous (Delay before moving in a direction when holding down a key).
  • Crashes from the main menu.

The last point is largely due to my horrible lack of memory management. I'll get that, as well as the other issues fixed by Saturday at which time I'll release a new minor version. I'll also try and work in a few small enhancements and some new functionality.

That said, here's a list (in no particular order) of what the future holds for VH. Please note that a lot of this is just speculation and will probably be altered and augmented heavily in the coming months.

  • Towns
    • Every x levels will be a town which will be randomly generated based on a random theme / building style.
    • Towns will contain 
      • NPCs that will have random conversations with the player.
      • Merchants that can buy and sell items.
      • A place for the player to 'unlock' his items (See 'Item Unlocking').
      • Trainers for professions / abilities.
      • Rooms where the player can practice his professions (blacksmithing, alchemy, etc...).
  • Item Unlocking
    • Towns will feature rooms (Name undecided) where the user can spend his gold to 'unlock' items. This means that the item can be used by future characters that are created. The price to unlock the item will be based on the quality and level of the item.
    • Unlocking items should be something the player decides on as doing so will cost a lot of money that could have been spent at merchants for consumables and gear.
    • When a new player is created, he starts out in the University (Name undecided).
  • The University
    • Voxel Heroes will not have a conventional start menu. Instead, players will start out in the game in a special location.
    • The University is a Hero University that trains people in the art of hacking, slashing and dungeon crawling. They send out students into the dungeons below as a sort of final assignment.
    • There will be a special room in the University with shelves featuring the items that have been unlocked that the player can choose from.
    • Using an item might have an additional cost (on top of the initial cost to unlock it). I might make the university have funds that can be used for this and will be based off some other mechanic.
  • Magic
    • The plan is to implement a complete magic system.
    • Spells will be learned from scrolls that drop off boss creatures.
    • Spell scrolls can be combined in towns to possibly form new spells. These spells may be stronger than the original spells but could also lead to both spells being destroyed.
  • Abilities
    • Even though I'm not planning on featuring a class system, some NPCs (or perhaps items in dungeons) can be used to gain knowledge of new abilities.
    • Offensive Abilities
      • With this, as well as the magic system, I plan on making combat more tactical and decision based. You might use a bash ability to send the mob back a few spaces or a freeze spell to keep the mob from moving for a few moves.
    • Defensive Abilities
      • Think things like absorption shields, healing spells and barriers.
    • Utility Abilities
      • Far Sight, Trap Detection and Disarming, Extra Mob Loot, etc...
  • Professions
    • Alchemy
      • Looting flowers will have a chance (based on Alchemy skill) to yield herbs that can be used to make potions.
    • Enchanting
      • Enchant items with rare materials dropped by boss mobs.
    • Blacksmithing
      • Craft powerful items from materials and runes dropped by mobs and bosses.
  • Environments
    • Currently, the game only features the green, grassy environment. I plan to implement many more.
    • Swamp-like, Underwater, Cavernous, Woodlands, Netherworld, etc...
  • Multiplayer
    • I really don't know much about how I'm going to make this work nicely, but we'll see.
  • Miscellaneous
    • Equipping items will actually show the items on the player model.
    • When hovering over an item name, the tooltip will also display the item model.
    • The UI system will be enhanced quite a lot, allowing for scaling, dragging and scrolling.
    • The UI will be made much more intuitive and user friendly.
    • Some mobs will be able to walk diagonally or be allowed to make two moves per turn.
    • An autowalk function that will allow the player to easily traverse long passages.
    • Mobs will also be generated with stats (Strength, Armor, Abilities, etc...).
    • When fighting a mob, a popup window will be shown with a model of the enemy, his stats and a description.
    • Decorations for walls.
    • Local lighting (Torches and other light sources that will flicker and give the whole environment a much more immersive feel).
    • Free look camera (Both for first and third person).
    • Saving (Multiple character slots).
    • Difficulty levels.
    • A whole lot of new items and monsters.
    • Music and sounds.
    • Fullscreen / Widowed Modes.

Saturday, March 3, 2012

Voxel Heroes: Alpha (Includes Controls)

Finally, the moment is here!

The game is still very unbalanced and memory management is basically non-existent. That said, please let me know if you find any bugs and definitely tell me what you would like to have implemented next!

I'll do a proper write-up soon (I really need to take a break!)

Commands

  • Movement: wasd
  • Loot: e (You can loot graves and chests)
  • Inventory: tab
  • Camera Mode: +
  • Attack: Just walk into mobs
  • Equip Item: Click on the item name in the middle pane, and then on the name again, in the right pane.
  • Quit: esc

Download Voxel Heroes Here

Coming soon, to a URL metaphorically near you!

As promised, I'll be releasing the Alpha version of Voxel Heroes today. It should be available for download in about 4 hours. So check back soon!

In the meantime, check out these screenshots showcasing the new Devilkin and Goblin (Yes, I know they look like Gremlins) characters as well as a purple spider. Mobs are now named differently based on what type of mob they are (Stronger = More color difference).

EDIT: [Download Link]





Wednesday, February 29, 2012

Loot everywhere!

It's been a productive week so far as I've achieved almost everything I set out to (since the last post). Here's a list of some of the things I did:
  • Implemented a character window that displays stats and gear.
  • Pressing + will now switch between two different camera modes.
  • Container looting is now working.
  • Added a new monster type: Orcs (Although they look more like some sort of Reptiles-People).
  • Wearing items that grant LUCK will now give you a better chance of receiving improved loot.
  • Modified the mob and item placement algorithm to give better flow to the dungeon.
  • Optimized memory usage quite a lot and fixed a few leaks.

That said. there are still a few memory issues that pop up randomly that I'll try and squash. I also want to design two more mobs, change the item naming scheme a little bit and do a lot of balance work. Despite that daunting task, you can still expect Alpha to be released this weekend for download.

While you wait, here are some screenshots of the new camera mode, character window and Serpentine Orcs, I might actually name them that!









Thursday, February 23, 2012

Nearing Alpha

Since my last post, I've been working on Voxel Heroes quite a lot. I won't go through everything I've implemented but I'll highlight some of the cooler features.
  • Totally revamped the look of the UI.
  • Added corpse looting.
  • Implemented Fog of War and a Minimap.
  • Characters now do a little jiggle when attacking targets.
  • Generated items now have different rarity levels (Normal, Magical, Rare, Epic and Legendary - for the time being).
  • In addition to items, mobs can also be generated as one of the above rarity levels, making the mob stronger, giving him better loot and shading him a random color.
  • Levels are now based on a theme. Only the forest/grassland theme has been completed but I'll still extend it to include more landscapes (Fiery, Underwater, Wasteland, Caves, etc.).
  • Did away with the uniform chequered floors. Floors are now generated with a combination of the check effect and perlin noise.

There's a lot more, but those are the big changes. For the next week or two, I'll be working on getting the game ready for an alpha release. Here's what I still have left to do:
  • Implement container looting.
  • Design a character window to easily query equipped items and stats.
  • Fix the mob and item placement algorithm to give a more natural feel to the dungeon and make certain rooms easier / harder / entirely treasure based / you get the idea / why am I still typing?
  • Lots of little fixes to models and memory management.
  • Create a bit more content (4 or 5 new mobs to augment the current bestiary of weird blobby things, spiders, rats and crudely drawn skeletons).
  • Whatever else pops up.
I'm really trying to not get too involved in working on awesome stuff right now. I need to get the game to at least function like a basic roguelike before I jump into what's really going to make the game tick. But worry not, as soon as alpha is out I'll still try and implement at least 2 or 3 visible additions to the game each week.

I will of course give you an executable when Alpha is done and give you all the opportunity to rip the game to shreds and tell me how much you a. Want my metaphorical code-babies or b. Want to turn up at my house with very real pitchforks. 

And now, screenies!






Sunday, February 12, 2012

Voxel Heroes

As some of you may have noticed, I have been spending the past few weeks converting Project Vox into a roguelike. On top of that, I have been very secretive as to the nature of what exactly it is that would make this roguelike stand out among the rest. Allow me to make use of this opportunity to admit that it was not secrecy, but unwillingness to type a lot of words that is largely to blame for the lack of information.

But I digress. Voxel Heroes will allow the dungeon-crawling hero to collect powerful items from the depths of a randomly generated dungeon. Upon death, the player will be given the opportunity to unlock some of the items he has acquired from the dungeon (for a fee). These items will then appear at the Voxel University (See what i did there?), and will be available for future characters to use. 

The reason I decided to go this direction is due to the fact that the random item generator has the capability of generating extremely powerful items (also very rare). In addition to the rare occurrence of some items, the player will also be able to utilize rare runes and other collectibles to craft items with. Allowing the player to unlock these items for future use will give those long hours of grinding (or lucky drops) future use.

for those of you thinking this will break the roguelike experience; do not fear! To unlock an item, money will have to be spent which could better have been spent on potions or items for your current character (from the merchants that can be found) so choose wisely! Remember, the more powerful the item, the more expensive the unlocking cost.

Due to the voxel graphics, items can be modified at playtime to present the player with completely unique looks. This also applies to mobs, NPCs and the general dungeon look.

Now, with no further ado. I present to you the screenshots!






Thursday, February 9, 2012

The Grand Unveiling

You've waited long enough and the time has nearly come for me to unveil what Project Voxel is to become in full detail. Are you excited? Well you should be!

Depending on how things work out, I'll have the new post up tonight or tomorrow with a full description of what I'm planning to do and how I plan to set my voxel roguelike apart from all the others out there. I'll also post some screenshots of the progress I've made.

Until next time!