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
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Dec 2018 00:17 Edited at: 25th Dec 2018 00:36
Hi there. I have done a cave example . I had to make a collision system as I couln't get the commands " GetObjectRayCastSlideX/y/z" to work . The script generate two image to build up the cave . I use the path :
"raw: D:\AGK2\the cave\media\tunel.png") .
Perhaps you will have to change folder path to make it work . Collision are a bit bumpy untill I find out a better way. I hope you like it !!



Cheers.
I'm not a grumpy grandpa
puzzler2018
User Banned
Posted: 25th Dec 2018 00:22
Thanks

You forgot to add the height.png and tunel.png

chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Dec 2018 00:33
Quote: "You forgot to add the height.png and tunel.png
"


LoL ...That is what I try to explain above ...this height.pne and tunel.png will be generated with the script
I'm not a grumpy grandpa
puzzler2018
User Banned
Posted: 25th Dec 2018 00:38 Edited at: 25th Dec 2018 00:40
I changed your raws to

SaveImage(5,"tunel.png")
SaveImage(3,"height.png")

jeeeeeeeeze

That looks like a really frightning eering night - welcome to my world of torment and hopilisied errie ghost adventures.


Amazing work and mind !!!!
Rick Nasher
7
Years of Service
User Offline
Joined: 25th Jul 2017
Location: Amsterdam
Posted: 25th Dec 2018 00:48 Edited at: 25th Dec 2018 00:55
Wow. Impressive effect.
[EDIT: first thought you were using fog, but not even that. Really clever usage of minimall resources. Baffled]
[EDIT2: only one thing missing: an exit ]
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Dec 2018 00:54
@puzzler / Rick Naser Thanks for your coments ...I'm glad you like it
I'm not a grumpy grandpa
puzzler2018
User Banned
Posted: 25th Dec 2018 00:55
Please make a distant abondaned hospital as such with gremlins creeping out at you.

You have got something here


puzzler2018
User Banned
Posted: 25th Dec 2018 00:59 Edited at: 25th Dec 2018 01:01
If you dont, then could I... In one of the months challenges i set myself next year.

I sense Doom or Wolenstein
Rick Nasher
7
Years of Service
User Offline
Joined: 25th Jul 2017
Location: Amsterdam
Posted: 25th Dec 2018 01:01
I can sense Elon Musk is coming to rescue some lost kids in here from a rising water level and a shady old diver guy.
Some bats would make sense too. lol
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Dec 2018 01:03 Edited at: 25th Dec 2018 01:05
@puzzler /Rick Nasher Ok guys .... I will think in somthing really terrorific
I'm not a grumpy grandpa
puzzler2018
User Banned
Posted: 25th Dec 2018 01:04
Im blind..
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Dec 2018 01:06 Edited at: 25th Dec 2018 01:11
Someone is coming to break my laptop... She doesn't know that I can even use my phone



Siiiiiiiiii lent niiiiiiiight, hoooooooooooly niiiiiiiiiight
Aaaaaaaall is caaaaaaaaalm
.....at the moment is calm
I'm not a grumpy grandpa
puzzler2018
User Banned
Posted: 25th Dec 2018 01:08 Edited at: 25th Dec 2018 01:09
Your all ace LOL... Phone.. Whats that!!!
Rick Nasher
7
Years of Service
User Offline
Joined: 25th Jul 2017
Location: Amsterdam
Posted: 25th Dec 2018 01:11
Know the feeling.
puzzler2018
User Banned
Posted: 25th Dec 2018 01:12
Could I ask all you how old you think I am?
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Dec 2018 01:14
Quote: "Could I ask all you how old you think I am?"


you could be about 38 40 years old !
I'm not a grumpy grandpa
puzzler2018
User Banned
Posted: 25th Dec 2018 01:15
nice one - 42 m uk
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Dec 2018 01:16
Quote: "nice one - 42 m uk"


I even don't remember when I was 42
I'm not a grumpy grandpa
puzzler2018
User Banned
Posted: 25th Dec 2018 01:16 Edited at: 25th Dec 2018 01:19
Rick, why did you comment like you did. Are you more mature than me?

Quote: "
I can sense Elon Musk is coming to rescue some lost kids in here from a rising water level and a shady old diver guy.
Some bats would make sense too. lol
"


Should I forget!
puzzler2018
User Banned
Posted: 25th Dec 2018 01:22
How long have you been programming chafari, you do remarkably well in this language
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Dec 2018 01:26
I start with the Qbasic in early 90's
I'm not a grumpy grandpa
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Dec 2018 01:27
I had Spectrum I think but that was just a toy with 56K
I'm not a grumpy grandpa
puzzler2018
User Banned
Posted: 25th Dec 2018 01:29
Ok

So this is going to be a big hit for early 2019 - stick an abandoned structured building in the distance for us to explore.
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Dec 2018 01:33
wait wait wait ...I knew my laptop were going to the trash can !!
I'm not a grumpy grandpa
puzzler2018
User Banned
Posted: 25th Dec 2018 01:34
Surely your laptop is good,
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Dec 2018 01:36
Happy Christmas , puzzler and you all ....tomorow will be another day
I'm not a grumpy grandpa
puzzler2018
User Banned
Posted: 25th Dec 2018 01:36
Stay positive...
Rick Nasher
7
Years of Service
User Offline
Joined: 25th Jul 2017
Location: Amsterdam
Posted: 25th Dec 2018 01:46 Edited at: 25th Dec 2018 01:51
@Puzzler
"Rick, why did you comment like you did. Are you more mature than me?"

Surely not more mature, only few more earth-like years hehehe..
Also bodily age is no relative of mine, while my mind has been round for thousands of years, I'm still an infant on cosmic scale.

I'm from the Aquarius age..

(time to go take a nappy- gf already knocked out)

Enjoy guys.
puzzler2018
User Banned
Posted: 25th Dec 2018 01:55 Edited at: 25th Dec 2018 01:56
I must be from the stone age then - a rock to many

But does that many come... Narrr.
Xaby
FPSC Reloaded TGC Backer
17
Years of Service
User Offline
Joined: 17th Apr 2007
Location: Berlin
Posted: 25th Dec 2018 10:11
I was seeing nothing. I had to set the "SetSunActive(1)"
Cool effect.
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Dec 2018 17:51
Quote: "Surely your laptop is good,"

Not at all... it is 10 years old with windows Vista and 4Gb of ram...no more.

@Xaby Thanks for testing. I think the best way is if we switch all lights in our room off , to see the scary effect...it is supposed we are into a cave .
I'm not a grumpy grandpa
Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 25th Dec 2018 19:37
Hi Chafari, I've sent you a PM.
Green Gandalf of the TGC forums aka Scorpius of the Malevolence:Sword of Ahkranox forums.
Shader developer for Evochron Legacy produced by StarWraith 3D Games.
Ortu
DBPro Master
17
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 25th Dec 2018 20:16
Quote: "How long have you been programming chafari, you do remarkably well in this language"


You should check out his older stuff on the dbpro boards. He has posted a lot of very clever stuff over the years, most of it can be ported over to agk.
http://games.joshkirklin.com/sulium

A single player RPG featuring a branching, player driven storyline of meaningful choices and multiple endings alongside challenging active combat and intelligent AI.
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Dec 2018 21:28
@Green Gandal . Yeah...I read it already Thanks.

@Ortu Thanks mate.
You're going to make me blush
I'm not a grumpy grandpa
kaband
21
Years of Service
User Offline
Joined: 22nd May 2003
Location: Chicago
Posted: 26th Dec 2018 15:28
@Xaby - Thank you! I wanted to check this out, but didn't quite understand what I was looking at. Light was what I needed! Who woulda thought.

@Chafari - Super cool.
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 26th Dec 2018 17:22
@kaband Thanks mate ...I will have to make another version with light along the tunel .
I'm not a grumpy grandpa
Rick Nasher
7
Years of Service
User Offline
Joined: 25th Jul 2017
Location: Amsterdam
Posted: 30th Dec 2018 10:24
Always helps if there's a light at the end of the tunnel.
PartTimeCoder
AGK Tool Maker
9
Years of Service
User Offline
Joined: 9th Mar 2015
Location: London UK
Posted: 30th Dec 2018 14:01
Quote: "Always helps if there's a light at the end of the tunnel."


It's usually someone with a torch bringing more work!
puzzler2018
User Banned
Posted: 30th Dec 2018 17:57
Or maybe some train lights heading through - hoping they are red lights of course.

Rick Nasher
7
Years of Service
User Offline
Joined: 25th Jul 2017
Location: Amsterdam
Posted: 30th Dec 2018 22:18
Remember: when you see 2 bright lights always try to pass through the middle.. (taken from an old Dutch song)
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 31st Dec 2018 05:59
Quote: "Remember: when you see 2 bright lights always try to pass through the middle."

I dont think that works with cars bahahaha

The cave i thought was very clever expecially from just code


fubar
puzzler2018
User Banned
Posted: 31st Dec 2018 11:39 Edited at: 31st Dec 2018 11:42
Happy New Year Fubarpk and Blin0k as I believe it will be in about 20 mins for you guys - or pretty much soon at least
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 31st Dec 2018 12:27
Hey....how many people here inside the cave! . Happy New Year to all of you guys !!

I'm Comming soon !

Cheers.
I'm not a grumpy grandpa
puzzler2018
User Banned
Posted: 31st Dec 2018 19:20
Yeah, ive been in there a found a cylinder. Very well done indeed
Rick Nasher
7
Years of Service
User Offline
Joined: 25th Jul 2017
Location: Amsterdam
Posted: 2nd Jan 2019 14:05 Edited at: 2nd Jan 2019 14:06
@fubarpk
Quote: "I dont think that works with cars bahahaha"

Would give some interesting effects while being on a motorcycle.

@puzzler2019
Quote: "Yeah, ive been in there a found a cylinder. "

Goes without saying, but if the cylinder is red with a the little sparkling rope attached then it's probably *not* a candle.


Happy 2019 guys.
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 2nd Jan 2019 18:50
HAHAHA Be carefull ...no smoking area !!!!
I'm not a grumpy grandpa

Login to post a reply

Server time is: 2024-11-23 08:45:43
Your offset time is: 2024-11-23 08:45:43