Hacker News new | ask | show | jobs
by matt2000 2737 days ago
I highly recommend people check this out if you're interested in voxel graphics, or a simple way to make 3D graphics if you're artistically challenged like me. We used it to make a whole game and it was great: https://www.larvalabs.com/project/roadtrip

Here are some other awesome things made with it: https://twitter.com/HuntingFluff/status/1046417418459975681 https://twitter.com/Sir_carma/status/1051867299303440384

And in general I recommend following Sir Carma for inspiration: https://twitter.com/Sir_carma

6 comments

I followed some links in your links and ended up here: https://www.patreon.com/ondrejsvadlena

It's a crowdfunded game. Here's a walkthrough [0]. It's absolutely amazing. Watching it, I was on the edge of my seat for 20 minutes. The walkthrough's gameplay is a nightime rally chase in the country. The driver is good, by the way. To those who won't watch it through and through, at the very end, he goes to the hydroplant and turns on the roadside lights. The visuals are like nothing I've seen.

I'm not an easily excitable person, and I don't usually throw hyporboles around, but, in my eyes, this is something very unique.

[0] https://youtu.be/Gb4qVZW69lM

Nice looking game! The models look awesome!

Did you do any post-processing on the models from MagicaVoxel before using the models in your game? E.g. does MagicaVoxel export a single optimised mesh, or does it export a load of cube meshes?

Looks like it does export a single "optimised" mesh (at least when exporting to OBJ) - i.e. it not just a load of individual cube meshes, but each separate coloured face is optimised into 3 or 4 triangles. A face with different colours is treated as a separate set of triangles though, so something like a chess board pattern would be a lot of triangles, but a white cube would be hardly any.

I had some trouble importing directly into Unity 2019, this is what I did for anyone else wondering:

- Export as OBJ in MagicaPixel

- Import Obj & Png into Unity via drag-n-drop

- In the prefab that is generated, on the model tab change the imported model's scale factor to 0.1 and hit apply.

- In the prefab that is generated, on the material tab click extract materials and save in same folder.

- Drag the Png texture you imported into the Albedo of the extracted texture.

You now have the textured MagicaVoxel model in Unity for whatever you want to do with it. Yay.

This process sounds a lot better than what we did a couple years ago when we were working on that game. Our process involved Voxel Shop https://blackflux.com/node/11 and a few steps. I can dig up the notes if it's interesting, but it looks like your process is better anyway.

I've also heard that this asset might be useful, but I haven't tried it yet: https://assetstore.unity.com/packages/tools/modeling/magicav...

Thanks for the info. Going to try importing into Godot later today.
You might enjoy Voxatron, a voxel based game engine. You can program it in LUA and it exports to various platforms

https://www.lexaloffle.com/voxatron.php

Your google play link is broken https://www.larvalabs.com/roadtrip/
Thanks for the heads up, I didn't realize the game had been removed from sale. Working on getting it restored now :/
looks like a crossover of Frogger and Outrun! Looks fun!
Dead Android link? Aww. :( I think you missed out on 1/2 the possible publicity of having the top comment on a front page HN post!