[ALPHA] Crafter

User avatar
Oil_boi
Member
Posts: 126
Joined: Mon Jan 28, 2019 13:12
GitHub: oilboi
IRC: oilboi
In-game: oilboi
Contact:

[ALPHA] Crafter

by Oil_boi » Post

I have been live streaming building this game and I am having a lot of fun. This game is built from scratch with a bunch of assets from Mineclone 2

This is designed to run on 5.3.0-DEV

GAME

CLIENT MOD

DISCORD CHANNEL

This is too difficult to keep up to date! If you want to see changes in action go to my youtube channel:
YOUTUBE


Here's a screenshot with a little bit of everything thrown into it
Image

License: GPL 3
Attachments
this.png
(976.76 KiB) Not downloaded yet
Last edited by Oil_boi on Fri May 29, 2020 14:24, edited 9 times in total.
I like to make mods :D
I also made a patreon!

User avatar
Oil_boi
Member
Posts: 126
Joined: Mon Jan 28, 2019 13:12
GitHub: oilboi
IRC: oilboi
In-game: oilboi
Contact:

Re: [ALPHA] Crafter

by Oil_boi » Post

An update: I have added basic redstone

https://youtu.be/oINwxV8fl-E

Also there is a much better Item collection magnet in place now

https://youtu.be/Vnh6HK34qBM
I like to make mods :D
I also made a patreon!

User avatar
Oil_boi
Member
Posts: 126
Joined: Mon Jan 28, 2019 13:12
GitHub: oilboi
IRC: oilboi
In-game: oilboi
Contact:

Re: [ALPHA] Crafter

by Oil_boi » Post

An update, there are quite a few changes to the game. You can see them here:

Todo List: https://github.com/oilboi/Crafter/blob/master/todo.txt

Youtube Channel: https://www.youtube.com/channel/UCgc3zP ... yiy6WNFFPw
I like to make mods :D
I also made a patreon!

User avatar
Oil_boi
Member
Posts: 126
Joined: Mon Jan 28, 2019 13:12
GitHub: oilboi
IRC: oilboi
In-game: oilboi
Contact:

Re: [ALPHA] Crafter

by Oil_boi » Post

Guys, I just had a MASSIVE breakthrough with redstone. Now instead of using localized map-based attempts to create correct power source distribution it 100% CORRECTLY routes power through the dust EFFICIENTLY with multiple power sources.

A video: https://youtu.be/3gXpGMigOzU

Even something this size is instant:
Image


The solution was:
  • Index all dust and power sources into a table
  • Make a globalstep that waits on the table to be filled
  • Create a temporary table that indexes through each node of dust at level 0
  • Index through each power source and pathfind outwards to lower level dust
  • Decode the indexed and calculated tables into vectors and then set all the nodes
  • Clear index table and wait again for new table
If you want to look at the code: https://github.com/oilboi/Crafter/blob/ ... e/init.lua
Attachments
screenshot_20200318_104210.png
(806.83 KiB) Not downloaded yet
I like to make mods :D
I also made a patreon!

User avatar
TumeniNodes
Member
Posts: 2853
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: [ALPHA] Crafter

by TumeniNodes » Post

Would be so nice to have a little "thumbs up" button here, I feel silly just posting to say... "Nice!"
Ich mag keine grünen Eier und Schinken, ich mag sie nicht Sam I Am

User avatar
pampogokiraly
Member
Posts: 202
Joined: Wed Jan 08, 2020 22:21
In-game: i_love_mesecon

Re: [ALPHA] Crafter

by pampogokiraly » Post

TumeniNodes wrote:Would be so nice to have a little "thumbs up" button here, I feel silly just posting to say... "Nice!"
We had a discussion about this here: +1 button
My mod (a bit old) request: Better enchant. My second mod: Old Broken Castle nodes. Search for aab01 to find my mods!

User avatar
texmex
Member
Posts: 1752
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [ALPHA] Crafter

by texmex » Post

Oil_boi wrote:The solution was:
  • Index all dust and power sources into a table
  • Make a globalstep that waits on the table to be filled
  • Create a temporary table that indexes through each node of dust at level 0
  • Index through each power source and pathfind outwards to lower level dust
  • Decode the indexed and calculated tables into vectors and then set all the nodes
  • Clear index table and wait again for new table
If you want to look at the code: https://github.com/oilboi/Crafter/blob/ ... e/init.lua
That is awesome. You're essentially decoupling that calculation from the engine stuff, so using this technique one can imagine offloading the calculation to an external service via the built-in HTTP Requests API.

Maybe that's even a possible solution to calculating stuff happening outside of the active mapblocks. That would certainly be a massive improvement of immersion as Minetest currently plays like The Truman Show in regards to the world feeling ”alive”. Like they say, "if a tree falls in a forest…", that could actually be made to happen.

Thanks for the peppy videos btw, they're inspiring!
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

User avatar
Oil_boi
Member
Posts: 126
Joined: Mon Jan 28, 2019 13:12
GitHub: oilboi
IRC: oilboi
In-game: oilboi
Contact:

Re: [ALPHA] Crafter

by Oil_boi » Post

Thanks everybody!
texmex wrote:
Oil_boi wrote:The solution was:
  • Index all dust and power sources into a table
  • Make a globalstep that waits on the table to be filled
  • Create a temporary table that indexes through each node of dust at level 0
  • Index through each power source and pathfind outwards to lower level dust
  • Decode the indexed and calculated tables into vectors and then set all the nodes
  • Clear index table and wait again for new table
If you want to look at the code: https://github.com/oilboi/Crafter/blob/ ... e/init.lua
That is awesome. You're essentially decoupling that calculation from the engine stuff, so using this technique one can imagine offloading the calculation to an external service via the built-in HTTP Requests API.

Maybe that's even a possible solution to calculating stuff happening outside of the active mapblocks. That would certainly be a massive improvement of immersion as Minetest currently plays like The Truman Show in regards to the world feeling ”alive”. Like they say, "if a tree falls in a forest…", that could actually be made to happen.

Thanks for the peppy videos btw, they're inspiring!
Yes that's exactly what is happening since the api was too slow for me to utilize :D

ALSO, I added in a lot more stuff, here is a video: https://youtu.be/B9PobENTEXA

it's a bit clunky for now, but, I added in buttons, levers, repeaters, comparators, pistons, new dust logic, lights, torch input inversion.
Image
I like to make mods :D
I also made a patreon!

User avatar
Oil_boi
Member
Posts: 126
Joined: Mon Jan 28, 2019 13:12
GitHub: oilboi
IRC: oilboi
In-game: oilboi
Contact:

Re: [ALPHA] Crafter

by Oil_boi » Post

I GOT EVERYTHING WORKING!!!

Changelog:

Code: Select all

--add in redstone:
torch, repeater, comparator, inverter, piston, player detector,light,
redstone ore - drops 4,5 redstone dust, turns on when punched
HERE'S THE VIDEO!
I like to make mods :D
I also made a patreon!

User avatar
texmex
Member
Posts: 1752
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [ALPHA] Crafter

by texmex » Post

Excellent videos lately! Are you looking to include a give function in that craftguide? I'm to lazy to run giveme commands.
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

User avatar
Oil_boi
Member
Posts: 126
Joined: Mon Jan 28, 2019 13:12
GitHub: oilboi
IRC: oilboi
In-game: oilboi
Contact:

Re: [ALPHA] Crafter

by Oil_boi » Post

texmex wrote:Excellent videos lately! Are you looking to include a give function in that craftguide? I'm to lazy to run giveme commands.
Let's give it a try!
I like to make mods :D
I also made a patreon!

User avatar
Oil_boi
Member
Posts: 126
Joined: Mon Jan 28, 2019 13:12
GitHub: oilboi
IRC: oilboi
In-game: oilboi
Contact:

Re: [ALPHA] Crafter

by Oil_boi » Post

Update: Cheat mode is now implemented https://youtu.be/N8WRL62JDsk
I like to make mods :D
I also made a patreon!

User avatar
Oil_boi
Member
Posts: 126
Joined: Mon Jan 28, 2019 13:12
GitHub: oilboi
IRC: oilboi
In-game: oilboi
Contact:

Re: [ALPHA] Crafter

by Oil_boi » Post

Minecarts now work properly! If you ride them, they go at full speed.
I like to make mods :D
I also made a patreon!

User avatar
texmex
Member
Posts: 1752
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [ALPHA] Crafter

by texmex » Post

It's great how smooth the game plays compared to other MT games I've tried. I fiddled with the stepheight to get automatic climbing by default (though without speed penalty) and it was quite enjoyable.
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

User avatar
Oil_boi
Member
Posts: 126
Joined: Mon Jan 28, 2019 13:12
GitHub: oilboi
IRC: oilboi
In-game: oilboi
Contact:

Re: [ALPHA] Crafter

by Oil_boi » Post

texmex wrote:It's great how smooth the game plays compared to other MT games I've tried. I fiddled with the stepheight to get automatic climbing by default (though without speed penalty) and it was quite enjoyable.
Thanks Texmex! If you like that, check this out. The pig will look at you when it's walking around:

edit: now it moves smoothly I updated the picture link too

(Picture Link)

Image
Attachments
screenshot_20200330_050711.png
(771.51 KiB) Not downloaded yet
I like to make mods :D
I also made a patreon!

User avatar
Oil_boi
Member
Posts: 126
Joined: Mon Jan 28, 2019 13:12
GitHub: oilboi
IRC: oilboi
In-game: oilboi
Contact:

Re: [ALPHA] Crafter

by Oil_boi » Post

I put a prototype of a gun into the game, it has smoke trails and creates bullet holes. You can also shoot mobs with it.
Also, the pigs are very, very aggressive
https://youtu.be/K2_jL_EZ5Sg
I like to make mods :D
I also made a patreon!

User avatar
Oil_boi
Member
Posts: 126
Joined: Mon Jan 28, 2019 13:12
GitHub: oilboi
IRC: oilboi
In-game: oilboi
Contact:

Re: [ALPHA] Crafter

by Oil_boi » Post

Yet another update for today: The prototype for bows are in the game!

https://youtu.be/5fo0nenKzW4


Gotta make the arrows stick in whatever they hit, including mobs and players..somehow!
I like to make mods :D
I also made a patreon!

User avatar
cHyper-0815OL
Member
Posts: 75
Joined: Fri Sep 13, 2019 17:40
GitHub: cHyper-0815OL
In-game: cHyper cHyper-0815OL
Location: Austria
Contact:

Re: [ALPHA] Crafter

by cHyper-0815OL » Post

nice (sub-)game ...

hope 2 c more features will be added!

keep up the good work !!

which version of minetest do this game support?

User avatar
Oil_boi
Member
Posts: 126
Joined: Mon Jan 28, 2019 13:12
GitHub: oilboi
IRC: oilboi
In-game: oilboi
Contact:

Re: [ALPHA] Crafter

by Oil_boi » Post

cHyper-0815OL wrote:nice (sub-)game ...

hope 2 c more features will be added!

keep up the good work !!

which version of minetest do this game support?
Thank you! And:

Sfan5 Latest Build: viewtopic.php?f=42&t=1523
Specifically, latest github in general. But this is what I program the game in.
I like to make mods :D
I also made a patreon!

User avatar
Oil_boi
Member
Posts: 126
Joined: Mon Jan 28, 2019 13:12
GitHub: oilboi
IRC: oilboi
In-game: oilboi
Contact:

Re: [ALPHA] Crafter

by Oil_boi » Post

I have started creating Music for the game. Here is version one:
sounds.zip
(533.36 KiB) Downloaded 16 times
You simply unzip the file and put the sounds folder in your Minetest directory. When you start the game it will have the menu music playing.

Here is a video of the menu music:
Image
Attachments
main menu.png
(214.63 KiB) Not downloaded yet
I like to make mods :D
I also made a patreon!

User avatar
Oil_boi
Member
Posts: 126
Joined: Mon Jan 28, 2019 13:12
GitHub: oilboi
IRC: oilboi
In-game: oilboi
Contact:

Re: [ALPHA] Crafter

by Oil_boi » Post

I rewrote the pig mob, the improvements are as follows:
  • Better code stability
  • Hostility (punch it and it will chase you and punch you, if you don't go near it for 20 seconds it won't be hostile anymore)
  • Better movement
  • Better head code, uses actual radians instead of degrees
  • Can look all the way up and down
  • New blender model which uses the correct axis of the mob
  • Numerous other improvements which pave the way for advancements
The next mob will be an Exploder. A mob which follows you using pathfinding then explodes.

Here is a video on the new pig: https://youtu.be/MCmEv1Bfv2Y
I like to make mods :D
I also made a patreon!

User avatar
pampogokiraly
Member
Posts: 202
Joined: Wed Jan 08, 2020 22:21
In-game: i_love_mesecon

Re: [ALPHA] Crafter

by pampogokiraly » Post

Oil_boi wrote:The next mob will be an Exploder. A mob which follows you using pathfinding then explodes.
This sounds a lot like a creeper from MineCraft :D
My mod (a bit old) request: Better enchant. My second mod: Old Broken Castle nodes. Search for aab01 to find my mods!

User avatar
cHyper-0815OL
Member
Posts: 75
Joined: Fri Sep 13, 2019 17:40
GitHub: cHyper-0815OL
In-game: cHyper cHyper-0815OL
Location: Austria
Contact:

Re: [ALPHA] Crafter

by cHyper-0815OL » Post

pampogokiraly wrote:
Oil_boi wrote:The next mob will be an Exploder. A mob which follows you using pathfinding then explodes.
This sounds a lot like a creeper from MineCraft :D
more mobs on the way... awesome...
keep up the good work!

User avatar
Oil_boi
Member
Posts: 126
Joined: Mon Jan 28, 2019 13:12
GitHub: oilboi
IRC: oilboi
In-game: oilboi
Contact:

Re: [ALPHA] Crafter

by Oil_boi » Post

pampogokiraly wrote:
Oil_boi wrote:The next mob will be an Exploder. A mob which follows you using pathfinding then explodes.
This sounds a lot like a creeper from MineCraft :D
You might be right :D
cHyper-0815OL wrote:
pampogokiraly wrote:
Oil_boi wrote:The next mob will be an Exploder. A mob which follows you using pathfinding then explodes.
This sounds a lot like a creeper from MineCraft :D
more mobs on the way... awesome...
keep up the good work!
Thanks I'll keep it up!

I added in a prototype for the credits screen by the way, it's still super buggy and doesn't work on smaller screens but it's in there to test. Here's a video of it:

https://youtu.be/E5R6X_Jw6V8


Image
Attachments
screenshot_20200403_044015.png
(79.36 KiB) Not downloaded yet
I like to make mods :D
I also made a patreon!

User avatar
Oil_boi
Member
Posts: 126
Joined: Mon Jan 28, 2019 13:12
GitHub: oilboi
IRC: oilboi
In-game: oilboi
Contact:

Re: [ALPHA] Crafter

by Oil_boi » Post

Another huge update! Stairs, slabs, walls, fences, and glass are added in :D

Here's a video on it:
https://youtu.be/3nw5cEiDiww

Image
I like to make mods :D
I also made a patreon!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests