Solved[Fab]See through walls.

Posts 1–15 of 24 · Page 1 of 2
So, you want to do the abyss effect ??
Quote Originally Posted by ImNotMakdoon View Post
So, you want to do the abyss effect ??
I wanna get black "Things" when i don't explored place.Like this: http://imgur.com/jwFCarO

Cause When i enter in dungeon, black "Things" doesn't exist, and place automaticly appears. http://imgur.com/M6wmo3t
It's blocksight, you'll have to code it yourself.
Quote Originally Posted by Lxys View Post
It's blocksight, you'll have to code it yourself.
I don't even know where to start to code that... lol.
Quote Originally Posted by BurgerLoverMx View Post
I don't even know where to start to code that... lol.
in the sight.cs file
Quote Originally Posted by Slendergo View Post
in the sight.cs file
And that's where I will start too
Quote Originally Posted by HGAEHaeheadhetdhtertherh View Post

why l see enemiez and walls? any tips? @Slendergo @Transferred
you need some code in entity.cs
Quote Originally Posted by MrMilegit View Post
Who can help?
The best method I have found is neither in Entity nor in Sight but rather its in Player.Update.cs preventing the tile(both floor and object) will prevent both the the enemy and the floor from showing since enemies is an object and before you ask the SendUpdate handles Sight map and if you still don't believe me there is a big //TODO add BlocksSight right where you need to add it :/ lol
Quote Originally Posted by HGAEHaeheadhetdhtertherh View Post

why l see enemiez and walls? any tips? @Slendergo @Transferred
first i need to know how your doing it, i would draw a line between player and points in radius and check if its wall

- - - Updated - - -

Quote Originally Posted by DimitriSavage View Post
The best method I have found is neither in Entity nor in Sight but rather its in Player.Update.cs preventing the tile(both floor and object) will prevent both the the enemy and the floor from showing since enemies is an object and before you ask the SendUpdate handles Sight map and if you still don't believe me there is a big //TODO add BlocksSight right where you need to add it :/ lol
na you dont do it there you do it in sight.cs for better results
Quote Originally Posted by Slendergo View Post
first i need to know how your doing it, i would draw a line between player and points in radius and check if its wall


na you dont do it there you do it in sight.cs for better results

lol im already done and it seems solid, checking if the blocks in SightRadius (x,y) are block in sight using IsBlocksSight checking if the (x,y)
its a derivative from IsPassiable from world.cs (EZ PZ LEMON SQUEEZY) then i find the tiles farther then the x,y and never load whatever pass the tile that has the description BlocksSight


WHAT SHIT MEANS FOR YOU SCRUBS THAT DON'T KNOW JACK:::::

x,y = the blocks in the Sight raduis of the player
IsBlocksSight = is a deriviative of IsPassiable and it checks if the wall is blocksight=true or not
then IsBlocksSight(x,y) so its checking for the walls that blocksight in the radius of the players sight
then the tiles > or the tiles < the walls(x,y) are not loaded in WHICH MEANS ENEMIES AND WALLS AND FLOORS(basically everything) that is farther then the first wall closest to the player will not load anything pass it...EVER very very simple actually its just that fabino the bambino source is so undone that its frustrating and annoying at times to look at that nastiness lol

god i wouldnt use fabino the bambino source if clubs source wasn't so shit either but i digress

anyways just taking the time to look at the source code will fill your brain with so much info and your brain will have orgasms from the info its taking even tho fabino the bambino spread out code is nasty sometimes its still incredibly wonderful to see the beauty that coding has brought into this world whether its C++ or C# or python or java its still amazing and tbh it gets even better when your working with an engine like Unity or my personal baby the Unreal engine <3
Quote Originally Posted by DimitriSavage View Post
lol im already done and it seems solid, checking if the blocks in SightRadius (x,y) are block in sight using IsBlocksSight checking if the (x,y)
its a derivative from IsPassiable from world.cs (EZ PZ LEMON SQUEEZY) then i find the tiles farther then the x,y and never load whatever pass the tile that has the description BlocksSight


WHAT SHIT MEANS FOR YOU SCRUBS THAT DON'T KNOW JACK:::::

x,y = the blocks in the Sight raduis of the player
IsBlocksSight = is a deriviative of IsPassiable and it checks if the wall is blocksight=true or not
then IsBlocksSight(x,y) so its checking for the walls that blocksight in the radius of the players sight
then the tiles > or the tiles < the walls(x,y) are not loaded in WHICH MEANS ENEMIES AND WALLS AND FLOORS(basically everything) that is farther then the first wall closest to the player will not load anything pass it...EVER very very simple actually its just that fabino the bambino source is so undone that its frustrating and annoying at times to look at that nastiness lol

god i wouldnt use fabino the bambino source if clubs source wasn't so shit either but i digress

anyways just taking the time to look at the source code will fill your brain with so much info and your brain will have orgasms from the info its taking even tho fabino the bambino spread out code is nasty sometimes its still incredibly wonderful to see the beauty that coding has brought into this world whether its C++ or C# or python or java its still amazing and tbh it gets even better when your working with an engine like Unity or my personal baby the Unreal engine <3
you using for loop?
Posts 1–15 of 24 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Talk with us