General
XXL
XXL 2
XXL 3
XXXL
Olympic Games
XXL Editor
Tools
Off-Topic
XXL Romastered
XXL 2 Remastered
Other Games
Mods
Caesar's Challenge
Unfair XXL
Patches
Fan Art
Personal Art
Speedrunning
Media
Randomizer
BETA Rome
HSKAL
Presence
Adrien
Presence
SPQR
Helpdesk
☰
#xxl
Page:
<<
<
29 / 369
>
>>
Go
pegperegogaucho
pegperegogaucho
Making me question myself
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?
Page:
<<
<
29 / 369
>
>>
Go