Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Aug 2014 01:32 Edited at: 25th Aug 2014 01:33
Hi there.

I've been playing with one game made by Mike Inel "Which" where everything happens in a dark house . I tried to get the same effect, and even trying to use his shaders (white.fx and screen.fx ) but I have not the slightest idea how to use the shader .when I set the shader to the model, it is too bright, and if I apply screen.fx it just crash. I'm not sure if I have to apply the effect to the object or the camera to get such a great effect. Any suggestion?

http://forum.thegamecreators.com/?m=forum_view&t=165155&b=5



I'm not a grumpy grandpa
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 25th Aug 2014 02:11
Just had a quick look at the shaders. Composite.fx and Screen.fx are all screen (or image effects) and may be camera effects. Object.fx and white.fx are both object effects. No time to look at these closely now though .

Camera effects probably need to have the following line of code added just after any set display mode commands or at the beginning of the programme (if there isn't a change to the display mode).





Powered by Free Banners
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Aug 2014 02:22
Quote: "No time to look at these closely now though "


Don't worry. In other moment if you can. I bought Darkshader a while back but I had never start with it really . This was my attempt:



Cheers.

I'm not a grumpy grandpa
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 25th Aug 2014 12:20
My guess is that the "white.fx" shader is used to highlight objects in the scene when you are able to interact with them: things like cupboard doors, sink drain (still haven't worked out how to remove the key from that drain ), room doors, etc. So, in your code you'll need to detect when the camera is in the correct position and orientation and then take appropriate action in the code. When you've got that working you can try to add the camera effects.

I'm not sure how he's got the light rays effect. Since the scene isn't dynamic it might simply be a ghosted object.

Had a frustrating time trying to play the game - I opened all the cupboards and drawers, and the bathroom door. Found two keys but dropped one down the sink. Opened Room 1 and the cupboards in that room and was then stuck. Perhaps I need to start again and open a different door first?

Thanks for bringing this game to my attention. [It's much more fun than housework which is what I'm supposed to be doing today. ]



Powered by Free Banners
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Aug 2014 12:44
@GG Thanks for you time. I think the same , and most the interaction is clear to me, but as you comment I have no idea how Mike Inel got the rays effect. I thought the same about putting ghosted object, and made samo test with it but the result is not so spectacular.

About playing the game, I'm in the same train, just got two f keys ...one went down the drain , and the one I found up there in the cupboards just open firt door. I spend more than half an hour to open first door, but what most impressed me is the so real result of night vision . It's a great idea for a game. Things like this are what make me forget my diseases . I will continue investigating .

Thanks again Cheers.

I'm not a grumpy grandpa
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 25th Aug 2014 13:19
I managed to complete the game a couple of minutes ago - but it was not the ending I wanted. There are two endings apparently. The key () to this game is to search high and low carefully - and also solve some simple, but well-crafted, puzzles.

Quote: "Things like this are what make me forget my diseases ."


Glad to hear it.

Yes, it's the sort of game that inspires us to try something similar ourselves - as well as being entertaining to play.



Powered by Free Banners
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 25th Aug 2014 13:48 Edited at: 25th Aug 2014 13:49
OK, I've realised how he's got the light ray effect.

You can see how it's achieved as follows:

1. Open Dark Shader.
2. Add an object, e.g. an untextured cube, to the scene.
3. Click on the Fullscreen shaders button in the left hand pane.
4. Then Browse to your folder containing Mike's shaders and load the Screen-High.fx shader.
5. You should immediately see the full-screen effect as in the screenshot below. You can then play with the code and settings as much as you like.



I guess the light ray effect is obtained simply by blurring the scene according to brightness and direction (I haven't studied the code properly yet).

Hope this helps.

Let me know if you need an example of how to set this up in DBPro.



Powered by Free Banners
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Aug 2014 14:07 Edited at: 25th Aug 2014 14:08
Quote: "OK, I've realised how he's got the light ray effect."


you are an old hand in shaders and you can eviscerate any program . Thanks so much !!


Quote: "Let me know if you need an example of how to set this up in DBPro."


If you don't mind ...I don't wanna be a Gimmee teh coadez!!



I'm not a grumpy grandpa
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 25th Aug 2014 14:53
Quote: "you are an old "


Very true I'm afraid ...

Quote: "If you don't mind ...I don't wanna be a Gimmee teh coadez!!"


In your case I would make an exception.

I think I'll experiment with this anyway - I've often wondered how to get simple light ray effects working.



Powered by Free Banners
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Aug 2014 16:46 Edited at: 25th Aug 2014 16:47
Quote: "In your case I would make an exception. "

Thanks .

I've got some grainy effect with a ghosted object and an effect "fx3.dbs but still without any ray effect " I found somewhere . This is what I have so far .




This is the .dbs content





Cheers.

I'm not a grumpy grandpa
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Aug 2014 16:55 Edited at: 25th Aug 2014 16:55
Quote: "I managed to complete the game"


This puzzle is getting on my nerves .


I'm not a grumpy grandpa
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 25th Aug 2014 17:39 Edited at: 25th Aug 2014 17:43
I think I know what it means. Have you found the woman yet?


Edit On the coding issues, I think I'm the one who needs help. I suddenly can't get any camera effect to work in DBPro - even though they work in Dark Shader.

Your demo is an honourable exception - it worked as soon as I downgraded to U74. Something to do with fog I suspect.

Must stop now and do something else for a while.



Powered by Free Banners
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Aug 2014 18:13
Quote: "I think I know what it means. Have you found the woman yet?"


Not at all !! this is driving me crazy !! , I suppose this puzzle show us what to do

I'm not a grumpy grandpa
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 25th Aug 2014 19:47
Quote: "Not at all !! this is driving me crazy !! "


Hint: have you found any objects in Room 1 yet? If you haven't perhaps you need to look again. [It took me a long time to search properly. ]



Powered by Free Banners
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 25th Aug 2014 20:27 Edited at: 25th Aug 2014 20:28
Just had another look at my code. I'd forgotten that camera effects need the sync camera command.

Here's the code I'm using with "Screen-High.fx". Looks like bloom with some additional artefacts to me.

Still need to see how to get shafts rather than generalised bloom from this shader - but this is a start.

I've attached the image used in the code (not really essential).





Powered by Free Banners
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Aug 2014 21:35 Edited at: 25th Aug 2014 22:27
Quote: "Hint: have you found any objects in Room 1 yet?"


Not yet, but now I will.


Quote: "Still need to see how to get shafts rather than generalised bloom from this shader - but this is a start.
"



Yeah...that is indeed a good start ! ....now I start seeing the light rays effect . I will make some test here .

Thanks for the snippet Cheers.

EDIT
I can't feel my legs !! going apples and pears all the time is there way to go to all rooms ! ?? . I'm not sure what is more frustrating...not opening doors, or not dance with the f woman

I'm not a grumpy grandpa
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 26th Aug 2014 01:32
Quote: "is there way to go to all rooms ! ?? "


Yes, there is. You need to open them in sequence - with the right keys of course.

Have you found the object in Room 1 yet?

Have you managed to retrieve the key from the drain downstairs?

[Sorry for the late response - been watching a film. ]



Powered by Free Banners
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 26th Aug 2014 01:54
Quote: "Have you managed to retrieve the key from the drain downstairs?"


No way ! I have been more than 20 minutes walking with the lady

I'm not a grumpy grandpa
wattywatts
17
Years of Service
User Offline
Joined: 25th May 2009
Location: Michigan
Posted: 26th Aug 2014 02:08
I'm glad you guys mentioned this game, I hadn't played it before. I got the bad ending.
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 26th Aug 2014 02:08 Edited at: 26th Aug 2014 02:12
@Chafari

You might find something useful on the floor of one of the rooms upstairs.

Good luck - you'll need it.



Powered by Free Banners
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 26th Aug 2014 02:11
Quote: "I got the bad ending."


So did I the first time I got through. I got the better ending next time though. (Forewarned is forearmed.)



Powered by Free Banners
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 26th Aug 2014 02:38
Quote: "You might find something useful on the floor of one of the rooms upstairs."


I was obsessed all the time to break the drain but I had no f idea that the solution was on other small object like an adjustable wrench . I was scare because every time I give the back she appears just behing . Finally I was killed ...mmm I don't know, perhaps if I wouldn't stay like a stupid looking at her . The game was awesome and all the effects .

Quote: "I'm glad you guys mentioned this game, I hadn't played it before. I got the bad ending.
"

So did I

Cheers.

I'm not a grumpy grandpa
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 26th Aug 2014 14:45
Quote: "The game was awesome and all the effects ."


I thought so too. I found the second time through more scary than the first - probably because I was trying to avoid the bad ending and knew it could happen if I did the wrong thing.

It's been a while since I played a game like this. I wonder if Mike Inel has any more?



Powered by Free Banners
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 26th Aug 2014 18:42 Edited at: 26th Aug 2014 18:44
Quote: "t's been a while since I played a game like this. I wonder if Mike Inel has any more?
"


Probably you will find something more of him here:

http://forum.thegamecreators.com/?m=forum_view&t=203894&b=1

I have not fallen asleep . I continued making different test, and I found out how the rays was made. I used the same example you sent me, but instead of a plain for making the windos tiles, Mike must've used different boxes for the tiles . That is what I have finally .

Thank you so much Green Gandalf for your help





Cheers.

I'm not a grumpy grandpa
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 27th Aug 2014 14:51
Quote: "I continued making different test, and I found out how the rays was made. I used the same example you sent me, but instead of a plain for making the windos tiles, Mike must've used different boxes for the tiles . That is what I have finally ."


That demo looks excellent. Thanks. I'll study that later to see what you did.

Quote: "I have not fallen asleep."


[rant] Neither have I - our Internet and phone line were down from about 15:00 yesterday till this morning. One of the problems living in the middle of nowhere in an old house with thick stone walls is the poor mobile phone reception. When we reported the fault using a mobile we had to lean out of a window to get adequate reception. The person we were speaking to wanted to know how our phones, etc, were connected up and what the sockets looked like. This entailed much running back and forth between three different rooms - two where our land lines had sockets plus a third where we could get mobile phone connectivity (it was raining outside the window to add to the fun ). I kept telling the "Helpdesk" person that it was obvious from the symptoms that the problem was somewhere outside our premises, i.e. an equipment fault in a cable or exchange, etc, but he seemed incapable of understanding what I was telling him. He finally went quiet for a while to "check something". When he returned he said there was a problem at the telephone exchange. At least he had the good grace to apologise. We weren't very impressed. I suspect he was new in the job and was working from a prepared script rather than thinking about what he was being told. At least it's all fixed now. [end rant]

I feel better for that.



Powered by Free Banners
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 27th Aug 2014 20:07
Quote: "That demo looks excellent. Thanks. I'll study that later to see what you did"

Soon I realized that it was not necessary to make the object with separated tiles , we can do this with just a big tile for the window and some crossbar in front from other objects . What I have not yet fully achieved is the direction of the rays with respect to the the view position.



Quote: "I have not fallen asleep "


Quote: "Neither have I "



What I meant here, is that I'm making test , with your appreciated help , and that I'm not like some other people who make questions and don't try to learn and they just want us to give them the complete code .

I do not know if at some point you thought about my comment , that I meant you'd stay asleep .

Sorry if you got it so.

Cheers.

I'm not a grumpy grandpa
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 27th Aug 2014 20:29
Quote: "Sorry if you got it so."


Not at all. It was a simple reference to the fact that I'd been absent from your thread for reasons beyond my control.

Quote: "and that I'm not like some other people who make questions and don't try to learn and they just want us to give them the complete code ."


None of us think that of you!



Powered by Free Banners
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 27th Aug 2014 20:38
Quote: "None of us think that of you!"

Thanks.
Sometimes I forget things, and I have to look carefully what I read or write, because sometimes jump the gun . English is not my native lenguage.

Cheers.

I'm not a grumpy grandpa
RonsWare
15
Years of Service
User Offline
Joined: 5th Sep 2010
Location: Netherlands
Posted: 27th Aug 2014 23:20
Mike Inel's YouTube channel

https://www.youtube.com/user/mikeinel

cheers.

All programmers are playwrights, and all computers are lousy actors.
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 27th Aug 2014 23:42
@RonsWare Thanks for the link.

Mike Inel is really an artist !! brilliant works !!


Cheers.

I'm not a grumpy grandpa
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 28th Aug 2014 13:15
He also has a DeviantArt page. The only other game download I could find was for Illusion of The Tower which Mike produced for a TGC competition a few years back - and the link is broken.



Powered by Free Banners

Login to post a reply

Server time is: 2026-07-05 13:58:07
Your offset time is: 2026-07-05 13:58:07