AndrewScheidecker / BrickGame

A demo of Minecraft-style voxel rendering in UE4
399 stars 145 forks source link

Issue Cannot Build Game #43

Open chrislightsaber opened 6 years ago

chrislightsaber commented 6 years ago

I try to launch the project, Unreal Engine says that I need to rebuild all the plugins, but when it tries to rebuild, it crashes.

chrislightsaber commented 6 years ago

Ok, I think i might be able to fix it but i have a question. Am I able to use this for a gamer i'm making? if so am I able to "profit" or even distribute this game ( I will credit you for all your custom plugins and for the parts of this i use)

chrislightsaber commented 6 years ago

EDIT: Ok its Working,

miguelemosreverte commented 6 years ago

Yeah, of course you can use it.

For curiosity sake, what game are you planning to make?

chrislightsaber commented 6 years ago

Well, i'm trying to make a game that has Skyrim like traits such as questing and fighting, yet i also want it to be a little more like minecraft with the ability to edit its blocky terrain. I also want it to be easy to add mods so that later on, as people make mods, I can host contests and permanently add mods to the game. It will also be multiplayer.

Edit: I went back and fixed the typos

chrislightsaber commented 6 years ago

Whoops! I thought you meant in the comment I had posted earlier I never noticed my title was off 😬

chrislightsaber commented 6 years ago

FIXED!

chrislightsaber commented 6 years ago

hey um i have a question. So the version I got working was UE4.14. How could i get it to Version 4.18?

miguelemosreverte commented 6 years ago

It is an intermediate level task. Given that you are just starting, I would stick to using 4.14.

If at some point you reach the point where your project does need a newer feature, only then start reading about project upgrading.

Like Donald Knuth said, premature optimization is the root of all evil. Similar case. 4.14 is a fantastic engine version, you are not going to be needing anything for a long time.

chrislightsaber commented 6 years ago

well the issue is im noy just starting i have previous work done in a project on v4.18 and was wishing to implement this into that already started project. Maybe i will just rebuild it all in 4.14 Edit: i have decided to rewrite the main components in 4.14, but i was wondering if youd have any clue how to replicate the placing of the block and destruction to everyone in a multiplayer version of the game? im trying to multicast it but its not working?

miguelemosreverte commented 6 years ago

I personally did not explore that venture, but that's exactly what you should do!

You will learn a lot in the process. There is a chance you can make a PR and grow the communitty support for this project, even.

Cheers! Voxels FTW!

chrislightsaber commented 6 years ago

Thanks!

miguelemosreverte commented 6 years ago

Sorry for the typo, I make mistakes too sometimes.

chrislightsaber commented 6 years ago

its ok! thanks for all the help!

chrislightsaber commented 6 years ago

hey sorry to bother but I could use some help, Im trying to get the placing and breaking of bricks to show up for everyone but it doesn't work? the host can see everything but the person who joined doesn't see everything the server does. If you need i can send some pictures of the code? I've tried multi-casting but im still having issues?

miguelemosreverte commented 6 years ago

I never ventured into multiplayer, so I am not of much help.

chrislightsaber commented 6 years ago

Hey miguelemosreverte, Is there any way i can make the brick grid visible in the editor so that I can edit the terrain? Thanks for all the help so far!

Edit:The sky light is glitching in certain areas and i'm not sure why?

Edit 2: the block that glows.... doesn't glow/ any clue why?

heres a video showing what i mean https://youtu.be/5LpkUSWPrO8

Controls: Left click= destroy block Right click=place block scroll=change which block F=flashlight Scroll= change block F6=save game F7= load game Left Ctrl= crouch and makes you 1 block tall vs the regular 2 block tall Left Shift= sprint (drains stamina tall)

miguelemosreverte commented 6 years ago

Well, about editing the terrain, for that you would need to add code.

You can try to import from an external source the block data for that.

About making it visible on the editor, I believe modifying the blueprints to start not when the game starts, but when the blueprint is created, that would make the blocks visible on the editor.

But about the glowing blocks now glowing, or the sky glitching, and pretty much every other issue you can find, I can tell you this much: The project is no longer being mantained, nor developed. I guess if someone came with a huge PR, it could be merged, but thats about it.

So at the end of the day, I really would encourage you to find other voxel implementations in Unreal. In the last few days I have been looking for them, and have found lots of them.

You can use this project to learn about the engine, by improving it, like I did for a time. Is a really well written project, and shows how to interact with C++ and blueprints. But apart from that, if you are interested on having voxels and having them work like you want them to in a short period of time, I would recommend finding projects that are currently mantained, and even developed. I have found a Voxel plugin that is like, absolutly cool, its author is even implementing water and pathfinding, which is all I ever wanted to see implemented.

Here you can find the repository that contains my code to load external data on this project:

https://github.com/JohnsonJackblue/BrickGame

But I would encourage you to try out this, which is the project I was just talking about.

https://github.com/Phyronnaz

chrislightsaber commented 6 years ago

wow looks cool! i will try to continue developing this project as much as possible but will try the other if necessary. Thanks!

mguggenheim commented 1 year ago

Hi Miguel! Wondering if you have a way of loading Minecraft MCAs/NBTs into voxel plugin.