Posts Tagged ‘voxel engine’
Here is my engine i have been working on for this ludum dare. Anyone can feel free to use it. Its an early version that supports bot cubes and hexagons. Chunk management/culling is not completed so you can have infinite worlds.
(click to enlarge images)
I tried having 110k blocks (4.4m vertices, 2.1m triangles) and I still had 65 fps as seen in the screenshot. There is one thing bugging me that it ins’t 100% efficient as i had a little problem eliminating the faces which i didn’t need to draw. If I get that working in a future version it could result in drawing about half the amount of triangles and possibly more depending on the terrains bumpiness.
This is an example of one chunk (8x4x8)
The project is quite complex and is kind of lower level programming with mesh vertices, triangles, uv mapping and collision triangles, rather than the (inefficent) prefab path of doing this. FYI it doesn’t have a loading screen.
22 days into October challenge, and here is an update on the current version of Vox. Version v0.19 has just been released on Desura and IndieDB, so I thought I would share a post on here to list some of the new features and updates to Vox.
Here are the newest features:
- More Enemies in the world.
- Flying enemies.
- Skeleton archers shoot you from a distance.
- Skelebobs chase you and try to kill your with their deadly swords.
- King Slime boss spawns when you kill too many of his little slime buddies.
- Interactable NPCs.
- NPC movement behaviours – waypoints, world navigation and player follow.
- Questing system.
- Treasure chests.
- Particle editor in the game.
- Particle effects can be added to character parts. i.e head, body, feet, etc.
- particle effects can be added to created weapons and items.
- Undo feature added to creation mode.
- Much better character creation screen in front-end menu.
- Ore deposits that can be mined for ore.
- Collectable items (hearts, coins, ore).
- Damage text popups.
- Improved HUD graphics.
- Experience bar and leveling up.
- Gradient background and better sky rendering.
- Better intro animation.
- New custom frontend music and game music.
- Smoother mouse controls.
- X360 gamepad support.
Here are some recent videos demonstrating new gameplay:
There is a free version to download and test and I would really appreciate it if people would be willing to try this and maybe provide some feedback. As always I am really curious to hear peoples opinions and suggestions. I really like player feedback and love to hear what people’s opinions are (Unless of course they are just the 500th person to state that Vox looks similar to Minecraft or CW :P).
So I may have jumped the gun a little for the October challenge as I posted my game Vox to Desura a couple of weeks ago and it is already selling and making money…
It is hard for me to believe that I started working on Vox as an entry into a Ludum Dare competition only a few months ago and it seems to have come along so far since then, I am really glad that I got involved in Ludum Dare and I dont think I would have ever made a complete game, that is selling for actual money, without getting involved in LD.
I will continue to use the October challenge time to further gain more insight and knowledge into the business side of making games and use it to learn about different ways to market and monetise a game… and use the challenge as an opportunity to do that side of development, since I am a programmer and my knowledge of such business is limited.
I am also constantly improving and adding new stuff to Vox, (since it is still in pre-alpha stage) so this will take up lots of time too.
I can offer advice for other people wanting to use the Desura publishing route to publish and sell your game as the process was fairly easy for me and it seems the Desura guys really want to create a system where it is easy to sell your indie game.
Good luck guys!
Just wanted to let you know that I have put Vox on the Steam Greenlight process.
What was originally started as an entry into the Ludum Dare competition a number of months ago, during the april competition, is now being made into a full ambitious game!
Would really appreciate it if you could visit the game page and hopefully show your support (favorite and rate up) and this would make me very very happy indeed, and I would be forever indebted to you!
As always if you want to follow my voxel engine tutorials or articles, they can still be found at the site:
I am happy to hear any feedback you guys have, or answer any questions you might want to ask.
Here are a few videos I put together showing progress of my game Vox…
This is a direct continuation of the voxel engine/game that I made for Ludum Dare #23.
Hope you like… feel free to ask me any questions or comments yo might have?
So I recently added water to my voxel engine and have been playing around with it…. one thing I have found out is that water is sooo much fun to code, it’s tricky to get a decent simulation and hard to get something that is stable and looks nice, but once you make something you are pleased with, you just wanna play around with it so much!
At this rate I might have a full voxel engine ready by the time the next LD competition drops… be able to spend the full 48 hours on actual gameplay and making a game to suit the theme…. that should be fun.
Here is the link to my article/guide/tutorial site for voxel engine resources:
Starting to add more and more functionality to my voxel engine and it is starting the slow evolution into a game, with fun elements. I’m still aiming for daily videos showing progress and hopefully each one showing a new feature or something cool.
My guide/tutorial site is taking shape, but I am still coding lots and lots and finding it hard to put a massive amount of time into writing articles. More will come with time though…
I have some questions for the community and gamers.
- What sort of creating tools would you like to see in a voxel sandbox game?
- Do you think it would be good to offer a library of common objects that the player can import/export to re-use as they are creating?
- What parts of a game would you like to customize (and share with others)? Your character model, weapons, items, NPCs, quests, particle effects, world regions?
Also anyone who has played Minecraft (or other sandbox games) can probably help me by answering a couple of questions below:
- During the creative parts of the game, i.e crafting, building, customizing… do you prefer to still be emersed in the game while in this mode or do you prefer a more abstract tool/interface? For example when crafting or building in minecraft you still have to walk around as the player, rather than having a fly around ‘god-mode’ when you can craft/build with a mouse pointer.
- Is there anything frustrating about collaborative creating, Do you wish you had more control over allowing others to modify what you create, tools for information exchange?
- How much do you think a sandbox game should be released with actual story content? i.e should the game already have a main quest, completion goal, or just be totally open?
Been working away on my Voxel engine that I first created during the last Ludum Dare and just created an SSAO shader (As per requested by Vigrid) and I am so pleased with it, I wanted to show it off and also show my general progress…
I have put up some more videos on YouTube too:
Please checkout my channel.
Also people have been asking for guides and tutorials, I am in the process of making these and posting them here: https://sites.google.com/site/letsmakeavoxelengine/home so if anyone wants to learn about making a voxel engine, or even follow in my footsteps, I am documenting my steps there…
So I have been busy adding new features and playing around with voxels, in the aftermath since my Ludum Dare game, when I initially created the voxel engine for my entry.
(My Ludum Dare 23 Entry)
I have just added support for dynamically loading and unloading chunks and also a simple fog renderer so that load popping in the distance is somewhat hidden from the player. Started using noise functionality to generate a nice flowing landscape but I need to play around with noise a bit more and get used to terrain generation before I make anything look good. (Mountains & caves! :P)
I am thinking of doing a series on creating a voxel engine and maybe posting a step by step guide/tutorial about voxel techniques to the LD site so that others might be interested in also playing around with voxels and cube worlds.
This always ends up happening to me the further into development I get and the more gamey that my creations become. I usually find that I end up just playing around with what I have made and experimenting with stuff in-game much more than writing more code. lol
Does anyone else notice this with themselves or have a similar problem when making games or writing code?
Also, I find that the more sandboxey or open world or experimental the thing I am creating is, the more I tend to play around with it. The second I implement any kind of 3D physics into whatever I am creating I turn into a 12 year old boy and just spend hours and hours messing around with what I have created and being fascinated with what you can do with physics…
I made a 3D physics engine for my final dissertation during my masters course and I swear I could have coded about double what I finally ended up with, if I hadn’t spent so *many*, *many* long hours into the early morning just playing around with different physics properties and making fun stuff happen in my engine…
I guess that’s one of the problems with coding stuff/games that you truly want to, you end up making the thing you want to play so much, that you just end up playing it half the time!
It’s been a couple of weeks now since Ludum Dare 23 and I wonder what everyone has been up to… I know a lot of people have been updating and improving their games that they entered into LD23 and that is great! It’s super awesome to see people actively keeping up the interest in their game development.
I thought long and hard about what I should do with my entry, post-LD, and finally came to the conclusion that I wouldn’t directly be making modifications to my game or adding stuff/making it better. Since I didn’t really have a grand design plan for my game as I was creating it and most of the gameplay ideas came about quite abruptly during the 2nd day, I decided to let it stand as it is and move onto other things.
So…. I have been spending the time since the competition making my voxel engine even better!!
I have been doing a lot of the core voxel engine related programming that I didn’t get a chance to do while I rushed to get something playable during LD:
- Octree support
- Rendering optimizations
- Player movement
- *Proper* collision detection
- Loading/unloading scenes
- Editor ^_^
- Terrain generation
I am going to be keeping a dev vlog diary of progress I make and uploading a daily video of features to my YouTube channel:
If anyone wants to keep track of my progress, or see my videos on general game development, and if you like my YouTube channel then feel free to subscribe, I have lots of cool gamedev stuff planned and could really do with more subscribers.
I’ve also been thinking also that I might make a public release of my voxel engine (with all the improvements), if anyone would be interested in that…? I am probably going to be using it to make something for the next LD competition, but I haven’t fully committed to that yet, we shall see how things go.
Anyway, it’s so nice to see all the activity from the Ludum Dare community still going.
Just a quick test to see how collisions and blocks exploding will work…
Ideally I wanted to stay up longer to work on my entry, but since I am not getting any flashes of inspiration about what type of game to make, I think I am going to get some sleep. Hopefully I will awake in the morning with some cool ideas.
Here is a video of the current progress on my voxel engine:
Need to improve the way that I am rendering blocks, its pretty dumb at the moment.