stuck on trying to figure out how i wanna handle block rotations in block game 😔
-
stuck on trying to figure out how i wanna handle block rotations in block game 😔
-
stuck on trying to figure out how i wanna handle block rotations in block game 😔
@eniko Are we talking 90° rotations around primary axes or generic rotations?
-
stuck on trying to figure out how i wanna handle block rotations in block game 😔
@eniko@mastodon.gamedev.place
An animation showing the block turning would be cute if it's not difficult.
Assuming I understand the problem. -
@eniko Are we talking 90° rotations around primary axes or generic rotations?
@lisyarus 90 degree rotations
but also, maybe not all of them?
but maybe all of them
i don't know. that's part of the problem
-
@eniko@mastodon.gamedev.place
An animation showing the block turning would be cute if it's not difficult.
Assuming I understand the problem.@raccoon no, right corners only. like furnaces or observers in minecraft
-
@raccoon no, right corners only. like furnaces or observers in minecraft
@eniko@mastodon.gamedev.place
I don't understand -
stuck on trying to figure out how i wanna handle block rotations in block game 😔
maybe i will make a rotated block kind, and then add some bits to that to define the type of rotation, so that i can start simple and add more complex rotations later if i want and or need to
because not all rotations apply to all rotatable blocks. for example, a door only has east/west and north/south, whereas something like a minecraft furnace has east, west, north, and south facing, but not up or down
-
@lisyarus 90 degree rotations
but also, maybe not all of them?
but maybe all of them
i don't know. that's part of the problem
-
@eniko@mastodon.gamedev.place
I don't understand -
@fabiosantoscode @eniko @lisyarus
NodeCore has an extension that makes it very easy to control rotations, which I love
-
maybe i will make a rotated block kind, and then add some bits to that to define the type of rotation, so that i can start simple and add more complex rotations later if i want and or need to
because not all rotations apply to all rotatable blocks. for example, a door only has east/west and north/south, whereas something like a minecraft furnace has east, west, north, and south facing, but not up or down
ugh adding a new rotating block kind adds so many complications. i really like the generic vs complex block flow, but i don't want *every* rotating block to necessarily be a complex block either
i could allocate 3 bits of the block type for rotation/facing and i'd still have plenty of space left but it feels so wasteful when most blocks can't have a facing anyway >_<
-
undefined oblomov@sociale.network shared this topic