Grid based lighting/field of view

0 favourites
From the Asset Store
Snap to visible grid - perfect solution for any game genre
  • Hey 00rez

    On your latest test I averaged about 30FPS, and that's on FF 6.02

    Great work!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hey 00rez

    On your latest test I averaged about 30FPS, and that's on FF 6.02

    Great work!

    Good! This is real time as well. What type of pc do you have? Low, medium, high spec? I suppose as time goes by browsers will get faster...

    Edit: I have an average of 60 fps with the latest exported example I linked!

  • Hopefully have a plugin release soon. I want to make it as user friendly as possible!

  • 00Rez

    about 35 - 45 fps [chrome 14 - mac osx snow leopard - mbp 17]

    i have oodles of d&d dungeons on paper from 85' waiting for this plugin...lol.

    yes, they smell funny.

  • 00Rez

    about 35 - 45 fps [chrome 14 - mac osx snow leopard - mbp 17]

    i have oodles of d&d dungeons on paper from 85' waiting for this plugin...lol.

    yes, they smell funny.

    Haha, wey eventually I'd like to make a dungeon generator to go with this, a container system (which I've actually done) and some ai plugins. D&D all over! Hopefully Zack has the function plugin sorted and when the family update arrives!! Anyway I *hope* to have a plugin to help everyone eventually! <img src="smileys/smiley2.gif" border="0" align="middle" />

  • > 00Rez

    > about 35 - 45 fps [chrome 14 - mac osx snow leopard - mbp 17]

    >

    > i have oodles of d&d dungeons on paper from 85' waiting for this plugin...lol.

    >

    > yes, they smell funny.

    Haha, wey eventually I'd like to make a dungeon generator to go with this, a container system (which I've actually done) and some ai plugins. D&D all over! Hopefully Zack has the function plugin sorted and when the family update arrives!! Anyway I *hope* to have a plugin to help everyone eventually! <img src="smileys/smiley2.gif" border="0" align="middle" />

    Actually this is quite low fps, I ran this on my work computer and it ran at 50-60fps. Running on my laptop which is faster!? runs at 10fps! Need to look into this!

  • In your latest example I'm getting a steady 35 FPS in FF 6.01 and a steady 48 FPS in IE9.

    This is on an i7 930, 6gb RAM, ATI 5870 and Win 7 64 bit.

    Great work by the way, looking forward to the release!

  • In your latest example I'm getting a steady 35 FPS in FF 6.01 and a steady 48 FPS in IE9.

    This is on an i7 930, 6gb RAM, ATI 5870 and Win 7 64 bit.

    Great work by the way, looking forward to the release!

    Thanks! The plugin running the calculations without rendering the shadows etc runs at 60fps so the actual performance is really good just can't seem to increase the rendering speed of the shadow <img src="smileys/smiley7.gif" border="0" align="middle" />. I know eventually rendering will be alot faster and WebGL will pop up at some point...

    Currently fixing some small bugs, cleaning the code. It will probably be a behaviour attached to objects so you can have more than one light/sight.

    Here's another example I'm working on:

    <img src="http://dl.dropbox.com/u/19078872/test.png" border="0" />

  • I've uploaded that example now!

  • Wow, not sure what you changed, but in your new example I'm getting a rock solid 60 FPS in FF 6, and that's with youtube and stuff open in other tabs... awesome!

  • Wow, not sure what you changed, but in your new example I'm getting a rock solid 60 FPS in FF 6, and that's with youtube and stuff open in other tabs... awesome!

    That's more like it!

  • Bizarre. I'm getting 7 FPS ??!?? Can't explain why - nothing else running :(

    Win XP SP3,AMD 64 6000+ 3.11 GHz, FF 6.0.2.

    Checking Process Explorer, FF uses over 50% of CPU whilst running this latest example.

  • Bizarre. I'm getting 7 FPS ??!?? Can't explain why - nothing else running :(

    Win XP SP3,AMD 64 6000+ 3.11 GHz, FF 6.0.2.

    Checking Process Explorer, FF uses over 50% of CPU whilst running this latest example.

    I've update the original post with a example to test the fps at different radi. Can you post your fps at each? (and browser)

  • All tests are FF 6.0.2 - don't use any other browser.

    Rad=4 65-60FPS

    Rad=7 44-60 FPS

    Rad=10 21-40 FPS

    Rad=12 15-28 FPS

  • All tests are FF 6.0.2 - don't use any other browser.

    Rad=4 65-60FPS

    Rad=7 44-60 FPS

    Rad=10 21-40 FPS

    Rad=12 15-28 FPS

    Well, seems effects lower fps such as additive or xor.

    The number of blocks which show the light effects the fps.

    When all these are removed the fps stays high!

    Don't know what to do about this unless I can find a less demanding way of rendering the light... <img src="smileys/smiley5.gif" border="0" align="middle" /> Think I'll tidy it up and just release it and see if anyone else can come up with a good way to render...

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)