DRL > Bug Reports

Pushing barrels paints a floor

<< < (3/7) > >>

singalen:
That's a quickfix I thought about. Make several types of barrels (barrel-on-floor, barrel-on-bridge) and change them on the go.

yaflhdztioxo:
That would work but it would require defining a lot more cells--4x as many floor cells--to store the extra information.  A pseudo-layer (a sparse array) that tracked the barrels as they are generated and moved would be easier and is probably the least hacky quick fix available.

shark20061:
(never mind)

singalen:
Aren't there only 2 floor types a barrel can be pushed onto?
I don't think a specific barrel layer is less hacky: it's a whole new data structure, it requires separate maintenance (both at run time and in coder's time), and it won't be exposed to Lua.

Mader Levap:
...and now that bad game design decision (barrels-as-floor-tiles) will haunt game forever. :(

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version