Pages: [1] 2
  Print  
Author Topic: Line of Sight Mod!  (Read 16101 times)
Kegluneq
Big Bossy
Mossy
*
Posts: 2260



View Profile Email
« on: October 15, 2011, 02:12:14 PM »

What's this? A new mod? That's craaaazy!

Anyway, I've wanted to make this for quite some time, only I didn't actually start trying for real until yesterday.

Here's a few screenshots so you know what to expect:





Get it here! Or get it ghostless!

Changelog:
v1.2: Fixed the bugs introduced in v1.1 and fixed the boss room.
v1.1: Changed ice blocks to not block line of sight. As a result, ice levels are now easier, and you can see what the prize at the craps house is.
v1.0: Game over fixed, pause screen fixed, item get effects fixed, dark levels fixed.
v0.3: Line of sight algorithm improved, shadows look much cleaner now.
v0.2: First release.
« Last Edit: July 08, 2012, 05:49:46 PM by Kegluneq » Logged

A wild SHINY MOSSY appeared!
marsgreekgod
Big Bossy
Mossy
*
Posts: 9806


The will of the Galaxy.


View Profile WWW Email
« Reply #1 on: October 15, 2011, 05:40:54 PM »

This is like a mod I wanted to make, only you can still see behind you.

you should make a verson where you can't
Logged

Show your power, Gun Del Hell! Show them their fate! Yes! Yes! Yes! Yes! Yes! Here we go! Let's go, go, go, go, Django! Light and Dark! It comes down to this! Be afraid, Sun!
Sparkle
Mossy
*
Posts: 2048



View Profile
« Reply #2 on: October 15, 2011, 05:47:45 PM »

Agreed with Mars, and yay! this looks like it will be lots of fun, given my playing style. c:
Logged
Bae
Mossy
*
Posts: 1696


Pro YoCo strats #AGDQ2014 #GYCL


View Profile
« Reply #3 on: October 15, 2011, 06:15:22 PM »

So Spelunker has eyes in the back of his head I see

also you should try to make it less ugly, I mean all that sudden black everywhere is really.... eh

its probably a bit complicated to program, but maybe you could try adding a dithery fade to the shadows, like the ice levels have (see attachment) and shading the far sides of the blocks or something

pickiness aside this looks pretty cool, i swear someone else has made something similar though
Logged


[0/18]complete

think about it. Zom-bees.
marsgreekgod
Big Bossy
Mossy
*
Posts: 9806


The will of the Galaxy.


View Profile WWW Email
« Reply #4 on: October 15, 2011, 07:12:39 PM »

So Spelunker has eyes in the back of his head I see

also you should try to make it less ugly, I mean all that sudden black everywhere is really.... eh

its probably a bit complicated to program, but maybe you could try adding a dithery fade to the shadows, like the ice levels have (see attachment) and shading the far sides of the blocks or something

pickiness aside this looks pretty cool, i swear someone else has made something similar though
yeah I can help with that if you want
Logged

Show your power, Gun Del Hell! Show them their fate! Yes! Yes! Yes! Yes! Yes! Here we go! Let's go, go, go, go, Django! Light and Dark! It comes down to this! Be afraid, Sun!
Kegluneq
Big Bossy
Mossy
*
Posts: 2260



View Profile Email
« Reply #5 on: October 15, 2011, 07:18:28 PM »

I thought about doing something like that, but didn't figure out exactly how, at least not with the method I used to implement the LoS. EDIT: Check that, I think I figured something out.

I thought about making it so that you could only see in front too, but I realized that I would just keep hitting left and right and it just seemed kinda unnecessary.
« Last Edit: October 15, 2011, 07:23:30 PM by Kegluneq » Logged

A wild SHINY MOSSY appeared!
Bae
Mossy
*
Posts: 1696


Pro YoCo strats #AGDQ2014 #GYCL


View Profile
« Reply #6 on: October 15, 2011, 07:34:00 PM »

you know what the best approach would be for this LoS thing?

make spelunky into a first person adventure game yep simple
Logged


[0/18]complete

think about it. Zom-bees.
Wonkyth
Big Bossy
Mossy
*
Posts: 2129



View Profile
« Reply #7 on: October 15, 2011, 07:54:38 PM »

Dude, this is awesome!
Damn, I wish I had time to play it!  Sad
Logged

Can you read the wry? Can you FEEL the wry?!
halibabica
Bossy
Mossy
*
Posts: 2175


old guard


View Profile Email
« Reply #8 on: October 15, 2011, 07:56:31 PM »

Haha, very clever!  I hope you can work out all those bugs.
Logged

Sometimes I wonder if I like Spelunky too much.
ManTrap mod - Tastes Like Spelunky
Hand-drawn comic - Spelunkying
Wonkyth
Big Bossy
Mossy
*
Posts: 2129



View Profile
« Reply #9 on: October 15, 2011, 07:59:42 PM »

Also, what method are you using?
Triangle fans?
Logged

Can you read the wry? Can you FEEL the wry?!
Kegluneq
Big Bossy
Mossy
*
Posts: 2260



View Profile Email
« Reply #10 on: October 15, 2011, 08:38:51 PM »

Triangle fans yes, drawn with primitives. There are method for using textures to draw the primitives, I'm trying to figure out how they work right now.

EDIT: Oh so that's how it works. Then I have no idea how to get a fade effect.
Specifically, the method I'm using is draw_primitive

EDIT 2: Version 1.0 is out! Game over fixed, pause screen fixed, line of sight improved, misc. item get effects fixed, dark levels should be fixed. Awaiting testing results.
Logged

A wild SHINY MOSSY appeared!
Moloch
Mosskid
*
Posts: 565


View Profile WWW
« Reply #11 on: October 16, 2011, 07:01:17 AM »

Cool stuff! I just played a couple levels so far.
Logged

Kegluneq
Big Bossy
Mossy
*
Posts: 2260



View Profile Email
« Reply #12 on: October 16, 2011, 12:19:22 PM »

Updated to v1.1!
Changed ice blocks to not block line of sight. As a result, ice levels are now easier, and you can see what the prize at the craps house is.

Bug: Thanks to my ice block change, UFO lasers will pass right through them. I kinda like it though, so I probably won't change it unless you all think it really needs to be done. It adds back a liiiiitle more of the difficulty I took away by making ice see through to begin with.
« Last Edit: October 16, 2011, 11:52:06 PM by Kegluneq » Logged

A wild SHINY MOSSY appeared!
halibabica
Bossy
Mossy
*
Posts: 2175


old guard


View Profile Email
« Reply #13 on: October 17, 2011, 07:15:07 AM »

"ERROR in
action number 1
of Begin Step Event
for object oScreen:

In script LoS:
In script draw_shade:
Error in code at line 20:
   switch (shape) {
           ^
at position 10: Unknown variable shape"

Got this entering the final boss room.  Also, ice can no longer be blown up with bombs, and you can see the trap doors of the spike ceiling trap in the temple.  Cool mod, though!
Logged

Sometimes I wonder if I like Spelunky too much.
ManTrap mod - Tastes Like Spelunky
Hand-drawn comic - Spelunkying
Kegluneq
Big Bossy
Mossy
*
Posts: 2260



View Profile Email
« Reply #14 on: October 17, 2011, 08:18:17 PM »

I'm aware of the boss room bug, it's really confusing me. Those other ones should be easily fixable though, I'll get on it tonight!

EDIT: Fixed! The boss room too!
Logged

A wild SHINY MOSSY appeared!
Pages: [1] 2
  Print  
 
Jump to: