Asterix Gaming Guild Logo GeneralXXLXXL 2XXL 3XXXLOlympic GamesXXL EditorToolsOff-TopicXXL RomasteredXXL 2 RemasteredOther GamesModsCaesar's ChallengeUnfair XXLPatchesFan ArtPersonal ArtSpeedrunningMediaRandomizerBETA RomeHSKALPresence AdrienPresence SPQRSupport Bot Helpdesk

#xxl

pegperegogaucho
:WeirdChampW:
pegperegogaucho
Making me question myself :PauseChamp:
adrientd
I just changed ttNumSpearStates and the spear states
adrientd
It's actually simple, when you think
adrientd
like the formation has multiple states (at which sides the spears are thrust)
adrientd
_delay_ is the time in seconds
adrientd
_sides_ is a number that indicates which side the spears are active
pegperegogaucho
And which numbers would be left right forward and backwards?
adrientd
It's a bitmask
adrientd
four first bits are the left/right/top/bottom
adrientd
fifth bit is the top of the formation
adrientd
So 01111b = 15d is left+right+top+bottom
adrientd
ah no then first bit is top, four next bits are the sides
adrientd
so that 1 is top only
adrientd
30 = 11110b is left+right+top+bottom
pegperegogaucho
You mean left+right+forward+backwards right?
adrientd
yeah, sorry 😄
pegperegogaucho
No problem
pegperegogaucho
Is this bitmasking used anywhere else?
adrientd
wdym?