building a game from scratch

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: building a game from scratch - Sol Aureus

by azekill_DIABLO » Post

grass don't grow.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

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

Re: building a game from scratch - Sol Aureus

by texmex » Post

azekill_DIABLO wrote:grass don't grow.
It does spread though.

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: building a game from scratch - Sol Aureus

by azekill_DIABLO » Post

from grass are we talking about? i talk about the thing with "drawtype=plantlike"
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
firefox
Member
Posts: 1709
Joined: Wed Jan 14, 2015 07:34
In-game: Red_Fox
Location: Xanadu

Re: building a game from scratch - Sol Aureus

by firefox » Post

azekill_DIABLO wrote:from grass are we talking about? i talk about the thing with "drawtype=plantlike"
me too =(>.<)=
on Xanadu you always get grass at stage 1 when you pick it up.
and when you plant it somewhere and it is exposed to light, it will grow up into stage 2 and so forth.
grass at the highest growth stage can spread new grass at stage 1 on nearby dirt nodes.
i want to use that system because i like it.

as for stone textures:
the grasses are 5 individual items and placed on the map as 5 different decorations.
stones in biomes are set by the biome api which only supports 1 node to be set.
it is possible to generate stones with different textures by generating the other stones as ores, but that is weird and interferes with other ores.
also when you dig the stones, you would use an extra slot in your inventory for each stone and when you build something you have to manually place them in random patterns.
grass and stone are completely different things =(>.<)=

i think we had this discussion before,
and i remember someone posted a link to some mod that replaces textures of placed nodes to create randomness.
so let me think about it...
Image
✨🏳️‍🌈♣️✨

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: building a game from scratch - Sol Aureus

by azekill_DIABLO » Post

you little dude, i'm sure you're wrong. i'm sure i can do it! but not today.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

u19503

Re: building a game from scratch - Sol Aureus

by u19503 » Post

No updates?

User avatar
firefox
Member
Posts: 1709
Joined: Wed Jan 14, 2015 07:34
In-game: Red_Fox
Location: Xanadu

Re: building a game from scratch - Sol Aureus

by firefox » Post

toby109tt wrote:No updates?
i have trouble growing my first tree.
i have the nodes, a model (somehow i ended up with a near identical imitation of the default apple tree :P ) but i can't figure out the growth code =(>.<)=
✨🏳️‍🌈♣️✨

User avatar
Stix
Member
Posts: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

Re: building a game from scratch - Sol Aureus

by Stix » Post

update anyone?
Hey, what can i say? I'm the bad guy.

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: building a game from scratch - Sol Aureus

by azekill_DIABLO » Post

firefox wants his game to be super clean, so every updates takes time!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
firefox
Member
Posts: 1709
Joined: Wed Jan 14, 2015 07:34
In-game: Red_Fox
Location: Xanadu

Re: building a game from scratch - Sol Aureus

by firefox » Post

Stix wrote:update anyone?
still very frustrated with the sapling growth function =(>.<)=
✨🏳️‍🌈♣️✨

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: building a game from scratch - Sol Aureus

by azekill_DIABLO » Post

what's the problem?
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
octacian
Member
Posts: 597
Joined: Mon Dec 21, 2015 22:18
GitHub: octacian
IRC: octacian
In-game: octacian
Location: Canada

Re: building a game from scratch - Sol Aureus

by octacian » Post

firefox wrote:
Stix wrote:update anyone?
still very frustrated with the sapling growth function =(>.<)=
You might find this to be useful. Line 55, 54, 317, 275, 302, and 264.
MicroExpansion, Working Computers, All Projects - Check out my YouTube channel! (octacian)
I'm currently inactive in the Minetest community! So if I don't respond, that's why.

User avatar
firefox
Member
Posts: 1709
Joined: Wed Jan 14, 2015 07:34
In-game: Red_Fox
Location: Xanadu

Re: building a game from scratch - Sol Aureus

by firefox » Post

azekill_DIABLO wrote:what's the problem?
i used the default's growth function with the timer
like this one:
octacian wrote:
You might find this to be useful. Line 55, 54, 317, 275, 302, and 264.
but for some reason it doesn't activate...

so i decided to make my own code with an ABM like i did with the melting and freezing function =(^.^)=
✨🏳️‍🌈♣️✨

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: building a game from scratch - Sol Aureus

by azekill_DIABLO » Post

ther's a grow tree function no?
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
firefox
Member
Posts: 1709
Joined: Wed Jan 14, 2015 07:34
In-game: Red_Fox
Location: Xanadu

Re: building a game from scratch - Sol Aureus

by firefox » Post

azekill_DIABLO wrote:ther's a grow tree function no?
yes, it works in default but not in my game ._.
(and i did change the mod and node names)

but i already decided that i don't like it, so i will do it my way :P

here's the plan:
make an ABM for the sapling group that runs every 3 minutes.
the ABM has a 50% chance to activate, if it does, it checks for light and soil and if the conditions are met, it will trigger the growth function.
the growth function then checks the sapling name and places the schematic.

that should do it =(^.^)=
✨🏳️‍🌈♣️✨

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: building a game from scratch - Sol Aureus

by azekill_DIABLO » Post

I hope so ;)
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
firefox
Member
Posts: 1709
Joined: Wed Jan 14, 2015 07:34
In-game: Red_Fox
Location: Xanadu

Re: building a game from scratch - Sol Aureus

by firefox » Post

quick info:

nothing done for the trees yet, but i managed to make ice transparent by stea... um... "borrowing" it from Wuzzy's subgame :P
✨🏳️‍🌈♣️✨

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: building a game from scratch - Sol Aureus

by azekill_DIABLO » Post

+1 for borrowers!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
Stix
Member
Posts: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

Re: building a game from scratch - Sol Aureus

by Stix » Post

firefox wrote:
toby109tt wrote: i want to have armors that do not only function as protection, but also fashion.
they will have different themes like Knight or Ninja and alter movement physics.
so instead of the standard iron to diamond upgrade, there will be basic and advanced armor for different classes/professions to choose from.
idea: first off only use minerals for your basic armor and tools/weapons, saving gems for something special like magical items. I think the armor should be leather to mithril (mithril as a replacement for diamond armor). Leather armor would slow you down 1sp give you 3prot and 2dur (sp = speed, prot = protection, dur = durability). steel armor would slow you down 5sp give you 5prot and 9dur. bronze armor would slow you down 4sp give you 7prot and 5dur. gold armor would slow you down 0sp give you 9prot and 2dur. mithril armor would slow you down 6sp give you 10prot and 8dur.
Hey, what can i say? I'm the bad guy.

User avatar
firefox
Member
Posts: 1709
Joined: Wed Jan 14, 2015 07:34
In-game: Red_Fox
Location: Xanadu

Re: building a game from scratch - Sol Aureus

by firefox » Post

Stix wrote: idea: first off only use minerals for your basic armor and tools/weapons, saving gems for something special like magical items. I think the armor should be leather to mithril (mithril as a replacement for diamond armor). Leather armor would slow you down 1sp give you 3prot and 2dur (sp = speed, prot = protection, dur = durability). steel armor would slow you down 5sp give you 5prot and 9dur. bronze armor would slow you down 4sp give you 7prot and 5dur. gold armor would slow you down 0sp give you 9prot and 2dur. mithril armor would slow you down 6sp give you 10prot and 8dur.
is that from minecrap?
Image
✨🏳️‍🌈♣️✨

User avatar
firefox
Member
Posts: 1709
Joined: Wed Jan 14, 2015 07:34
In-game: Red_Fox
Location: Xanadu

Re: building a game from scratch - Sol Aureus

by firefox » Post

introducing apple trees:

Image

they are just like in default, but the apples are not part of the schematic.
instead they drop from leaves, like saplings.
=(^.^)=
✨🏳️‍🌈♣️✨

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: building a game from scratch - Sol Aureus

by azekill_DIABLO » Post

why not little apples in the leaves :|
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
Stix
Member
Posts: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

Re: building a game from scratch - Sol Aureus

by Stix » Post

firefox wrote:
Stix wrote: idea: first off only use minerals for your basic armor and tools/weapons, saving gems for something special like magical items. I think the armor should be leather to mithril (mithril as a replacement for diamond armor). Leather armor would slow you down 1sp give you 3prot and 2dur (sp = speed, prot = protection, dur = durability). steel armor would slow you down 5sp give you 5prot and 9dur. bronze armor would slow you down 4sp give you 7prot and 5dur. gold armor would slow you down 0sp give you 9prot and 2dur. mithril armor would slow you down 6sp give you 10prot and 8dur.
is that from minecrap?
Image
No, its not from "minecrap", its my own idea. Oh, and BTW #grumpycatforpresident2017
Hey, what can i say? I'm the bad guy.

User avatar
firefox
Member
Posts: 1709
Joined: Wed Jan 14, 2015 07:34
In-game: Red_Fox
Location: Xanadu

Re: building a game from scratch - Sol Aureus

by firefox » Post

azekill_DIABLO wrote:why not little apples in the leaves :|
because grumpy cat said NO.
Stix wrote:No, its not from "minecrap", its my own idea.
movement speed is already slow as it is.
i don't want to reduce it further.

=(^.^)=
✨🏳️‍🌈♣️✨

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: building a game from scratch - Sol Aureus

by azekill_DIABLO » Post

firefox wrote: because grumpy cat said i don't want to reduce it further.=(^.^)=
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest