Page 4 of 6

Re: building a game from scratch - Sol Aureus

Posted: Sun Jun 11, 2017 12:05
by azekill_DIABLO
grass don't grow.

Re: building a game from scratch - Sol Aureus

Posted: Sun Jun 11, 2017 21:03
by texmex
azekill_DIABLO wrote:grass don't grow.
It does spread though.

Re: building a game from scratch - Sol Aureus

Posted: Mon Jun 12, 2017 11:31
by azekill_DIABLO
from grass are we talking about? i talk about the thing with "drawtype=plantlike"

Re: building a game from scratch - Sol Aureus

Posted: Mon Jun 12, 2017 13:38
by firefox
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

Re: building a game from scratch - Sol Aureus

Posted: Mon Jun 12, 2017 18:27
by azekill_DIABLO
you little dude, i'm sure you're wrong. i'm sure i can do it! but not today.

Re: building a game from scratch - Sol Aureus

Posted: Sun Jun 25, 2017 12:16
by u19503
No updates?

Re: building a game from scratch - Sol Aureus

Posted: Mon Jun 26, 2017 05:38
by firefox
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 =(>.<)=

Re: building a game from scratch - Sol Aureus

Posted: Fri Aug 04, 2017 21:12
by Stix
update anyone?

Re: building a game from scratch - Sol Aureus

Posted: Wed Aug 09, 2017 16:06
by azekill_DIABLO
firefox wants his game to be super clean, so every updates takes time!

Re: building a game from scratch - Sol Aureus

Posted: Wed Aug 09, 2017 16:09
by firefox
Stix wrote:update anyone?
still very frustrated with the sapling growth function =(>.<)=

Re: building a game from scratch - Sol Aureus

Posted: Wed Aug 09, 2017 16:09
by azekill_DIABLO
what's the problem?

Re: building a game from scratch - Sol Aureus

Posted: Wed Aug 09, 2017 17:04
by octacian
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.

Re: building a game from scratch - Sol Aureus

Posted: Thu Aug 10, 2017 06:13
by firefox
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 =(^.^)=

Re: building a game from scratch - Sol Aureus

Posted: Thu Aug 10, 2017 10:14
by azekill_DIABLO
ther's a grow tree function no?

Re: building a game from scratch - Sol Aureus

Posted: Fri Aug 11, 2017 11:47
by firefox
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 =(^.^)=

Re: building a game from scratch - Sol Aureus

Posted: Fri Aug 11, 2017 12:04
by azekill_DIABLO
I hope so ;)

Re: building a game from scratch - Sol Aureus

Posted: Wed Aug 16, 2017 09:21
by firefox
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

Re: building a game from scratch - Sol Aureus

Posted: Wed Aug 16, 2017 10:44
by azekill_DIABLO
+1 for borrowers!

Re: building a game from scratch - Sol Aureus

Posted: Thu Aug 24, 2017 21:59
by Stix
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.

Re: building a game from scratch - Sol Aureus

Posted: Thu Aug 31, 2017 15:31
by firefox
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

Re: building a game from scratch - Sol Aureus

Posted: Thu Aug 31, 2017 15:33
by firefox
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.
=(^.^)=

Re: building a game from scratch - Sol Aureus

Posted: Thu Aug 31, 2017 16:52
by azekill_DIABLO
why not little apples in the leaves :|

Re: building a game from scratch - Sol Aureus

Posted: Thu Aug 31, 2017 21:52
by Stix
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

Re: building a game from scratch - Sol Aureus

Posted: Fri Sep 01, 2017 09:56
by firefox
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.

=(^.^)=

Re: building a game from scratch - Sol Aureus

Posted: Fri Sep 01, 2017 13:05
by azekill_DIABLO
firefox wrote: because grumpy cat said i don't want to reduce it further.=(^.^)=