The Daily Click ::. Forums ::. Digital Works ::. Shadow-casting Example
 

Post Reply  Post Oekaki 
 

Posted By Message

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1970

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
28th October, 2013 at 28/10/2013 13:29:55 -

Just in case anyone was thinking of making any spooky halloween games, here's a shadow-casting example for you.
What makes it a little unusual is that your obstacles can be any shape & size, and it's also really easy to use (instructions included).
Enjoy

Image

Download: http://sdrv.ms/1a9Q0p3

 
n/a

s-m-r

Slow-Motion Riot

Registered
  04/06/2006
Points
  1078

Candle
6th November, 2013 at 06/11/2013 01:25:36 -

Hmm...Blows my mind, as always.

Think there's any way to make this engine compatible with Flash? The String Tokenizer object isn't accessible for SWF files, if my version happens to be the most current one.

But Great Caesar's Ghost - there's so much potential in this engine of yours, man!

 
n/a

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1970

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
6th November, 2013 at 06/11/2013 02:35:04 -

Apparently not - I did remake the example using a different string parsing extension specifically because someone wanted it to be Flash-compatible, it seems that won't help...

This was what Looki (creator of the Surface extension) had to say:

"...I'm afraid it won't work in Flash because Surface's Flash port is pretty barebones. Also, there is some kind of bug with graphical extensions in Flash that makes them leave the screen as soon as you start scrolling (I'm not the only developer who has noticed this)... Unfortunately I don't have that much free time to fix stuff like this right now."

 
n/a

Liquixcat

Administrator
Lazy Coder

Registered
  08/12/2002
Points
  201

VIP MemberLikes TDCKitty
6th November, 2013 at 06/11/2013 02:48:03 -

Wow, that's impressive.

 
thinking is like pong, it's easy, but you miss sometimes.

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  49567

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 32 Winner!Picture Me This Round 42 Winner!Picture Me This Round 44 Winner!Picture Me This Round 53 Winner!
6th November, 2013 at 06/11/2013 03:50:01 -

It's a shame this isn't compatible with flash.
I am glad he remade the overlay object though.

I guess if you wanted to make something similar that worked in flash you could do it with actives that cover the viewing area, and make a boxxy sorta raycasting system similar to this game by Fifth:

http://create-games.com/download.asp?id=8221

WHICH IS AWESOME BTW!

 
n/a
   

Post Reply



 



Advertisement

Worth A Click