I have made (well, not made, the current sprites are just placeholders in a way, it's complicated lol) the articles of clothing into seperate sprites (if that's what you mean). I have a seperate sprite for hair, eyes, torso, legs and feet. The current way I've implemented the randomization is working quite well. I plan on having a LOOOOT of different articles of clothing, and after implementing the rogue-like movement that Minor made, the clothes lag behind the character for a tick or two after moving. Is there any way to remedy this without having to put actions on each clothing event? That would take ages and probably be very inefficient.
Edit:
I just got an idea on how to do proper Field of Vision. What if I split that Eraser into 13 separate 32x32 blocks, then run a check every time the player moves to see if the blocks are overlapping an object in the terrain family. If they are, destroy the FOV-block that is overlapping, and I'll have an else function that will create an object at the same offset coordinates (if it is not overlapping any solids). I will do this event for every block (13 isn't TOO bad). The outside blocks will be very simple (pseudocode):
If FOVBlock1 is overlapping ObjectFamily.Terrain, then
Destroy FOVBlock1
Else
If FOVBlock1 is not overlapping ObjectFamily.Terrain, then
Create FOVBlock at offset position Player.X+146, Player.Y
^Do this for all outside blocks^
Then for the inner eight blocks:
If FOVBlock5 is overlapping ObjectFamily.Terrain, then
Destroy FOVBlock5, FOVBlock1
Do this for all the inner blocks, but change FOVBlock1 to the corresponding outer FOVBlock# (say FOVBlock1 is the top block, FOVBlock5 is the block right under that)
I will try this and see how it works, as well as the performance hit (if any). Hopefully this will work as I think it will
Also, forgot to mention. The blocks will follow the player via a position offset, like so. The top block is 32x32, and the size of the whole thing is 160x160; therefore, the position of the top block will be Player.X+146, Player.Y. I will test this and tweak it until it forms the correct shape, I'm really hoping this will work well as it will have everything I want from the Field of Vision Then I'll move on to making an actual HUD, then probably firearm handling.
Do you guys see any problems with this (issues you think might happen)? I realized it will take a good amount of time to implement and want to see if the more experienced people with this program think it will or won't. Thanks