Author Topic: Light  (Read 14386 times)

0 Members and 1 Guest are viewing this topic.

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Light - Progress
« Reply #90 on: December 30, 2010, 12:44:24 pm »
Out of curiosity, how are you casting your rays? Are you using a trig-based method, or the bresenham algorithm you posted in the routines thread a while back?

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Light - Progress
« Reply #91 on: December 30, 2010, 04:51:55 pm »
Its an awesome increase :D I also had an idea.  Might it be possible to have a beam of light (possibly 90 degrees) instead of a full circle?  This would drastically reduce the amount of raycasting needed, and also might be used as a further game element.

Yah, I guess I could do this, but I'm slightly worried about the possibility that the player might then just be lost because they lack enough info to know where they're going and they'll end up just stumbling around in the dark... (which is actually more realistic then I have now, but not as fun :P)

Out of curiosity, how are you casting your rays? Are you using a trig-based method, or the bresenham algorithm you posted in the routines thread a while back?
I'm using the bresenham algorithm, except much more optimized.  I'll actually post what I have in a minute (although there aren't many improvements yet), as soon as I back up my calc...
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Light - Progress
« Reply #92 on: December 31, 2010, 01:57:53 am »
Maybe what you could do is have a beam of light, but also have a circle of light around the player no matter what.  (Basically the shadow beams always start out a certain distance from the player before they can start casting shadows).  That way it still has a beam but you can still see whats really close to you.

You should check out this game http://www.kongregate.com/games/Jiggmin/neverending-light it has a shadow effect and is one of my most inspirational and favorite flash game :)

Offline Steelm

  • LV2 Member (Next: 40)
  • **
  • Posts: 21
  • Rating: +0/-5
    • View Profile
Re: Light - Progress
« Reply #93 on: February 15, 2011, 10:13:28 pm »
AWESOME

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Light - Progress
« Reply #94 on: February 15, 2011, 10:18:51 pm »
Steelm, I've noticed you seem to be spamming the forum with random single word comments.  Please refrain from posting spam if you don't have anything constructive to say, as well as try to look at the post date to make sure you are not posting on threads that have died out a while ago.  This is a warning, any more spam and you will be banned.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55931
  • Rating: +3153/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Light - Progress
« Reply #95 on: February 15, 2011, 11:48:09 pm »
On a side note did he get any PM warning? I generally warn via PM but sometimes people won't notice (not that it matters, though. If I ever ban someone I put in the ban message that the person was warned already)

Offline PeonHero

  • LV3 Member (Next: 100)
  • ***
  • Posts: 70
  • Rating: +13/-5
  • Coder of Tomorrow, Coding Today.
    • View Profile
Re: Light - Progress
« Reply #96 on: February 16, 2011, 12:23:13 am »
nice program
There are a lot of<a href="http://justmegawatt.com/images/youdidntknow"> Things you didn't know </a>about until you clicked that link.

Offline ikemike

  • LV3 Member (Next: 100)
  • ***
  • Posts: 67
  • Rating: +4/-0
  • Hmm.
    • View Profile
Re: Light - Progress
« Reply #97 on: May 29, 2011, 12:48:53 am »
I wonder if this engine could be used for a pseudo-3D game... When I look at the screenshots I think GTA.
Anonymous Legend

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55931
  • Rating: +3153/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Light - Progress
« Reply #98 on: May 29, 2011, 01:17:56 am »
Hmm that might be a bit too much for Axe, but I guess it wouldn't hurt to try. I hope Michael works again on this eventually by the way.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Light - Progress
« Reply #99 on: June 04, 2011, 09:43:25 am »
Just realized it's a lot like this game: http://www.addictinggames.com/arcade-games/find-exit-game.jsp

Maybe try porting it? :D




Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Light - Progress
« Reply #100 on: June 04, 2011, 11:33:15 am »
Just realized it's a lot like this game: http://www.addictinggames.com/arcade-games/find-exit-game.jsp

Maybe try porting it? :D
I just made it through 10 levels of that, and I'd love to see it on the calc.  That's an awesome game. :D

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55931
  • Rating: +3153/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Light - Progress
« Reply #101 on: June 12, 2011, 02:24:22 am »
Actually Light kinda reminds me of Builderboy's Nightmare game now. I wonder if a calc port of nightmare would be possible?

By the way I wonder where has Michael_Lee been recently? ???

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Light - Progress
« Reply #102 on: June 13, 2011, 05:34:02 pm »
I wonder if this engine could be used for a pseudo-3D game... When I look at the screenshots I think GTA.

I'm afraid that currently, my engine is too slow for much of anything.
I've optimized it as much as I know how, but it's too slow inherently: I'm probably going to have to redo most of it.


Just realized it's a lot like this game: http://www.addictinggames.com/arcade-games/find-exit-game.jsp

Maybe try porting it? :D

I'm behind a filter: what's the game like?
Is there an equivalent version for android phones floating around?
Is there a youtube video somewhere?
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Light - Progress
« Reply #103 on: June 14, 2011, 11:11:33 am »
It's similar in that when you're in a maze, and when you move, you "light up" the path in open directions.