stevenshepherd
New member
I was looking at the script for tile type 06 (all keys pickup) and I don't understand what information is even here to do anything. As far as I can tell (without knowing any code other than what I can sort of understand from the tutorials), this is just identifying the tile as solid. I was expecting to see more in here (like with the different monster scripts, or the win tile or death tile, where you can see that there are things going on with the code).
;;; SOLID
;;;This is how to inform a solid collision.
;;; You can also add this to the end of
;;; any tile type if you want it to have an effect AND
;;; be treated like solid.
;;; You could also check to see if it is a non-player object,
;;; and only return solid if it's a not player. This would
;;; cause monsters to treat things like spikes or ladder or fire
;;; as solid while the player is able to interract with it.
LDA #TILE_SOLID
STA tile_solidity
;; if you want it solid, declare it at the end
;;; SOLID
;;;This is how to inform a solid collision.
;;; You can also add this to the end of
;;; any tile type if you want it to have an effect AND
;;; be treated like solid.
;;; You could also check to see if it is a non-player object,
;;; and only return solid if it's a not player. This would
;;; cause monsters to treat things like spikes or ladder or fire
;;; as solid while the player is able to interract with it.
LDA #TILE_SOLID
STA tile_solidity
;; if you want it solid, declare it at the end