Information

Author:
    Juju
Rating:
    8.9 (10 votes)
Type:
    Example
Language:
    GM 7
Reviews:
    None
Submitted:
    November 09, 2008
Dev - DB/form (refering to updated - check code)
Download:
    DOWNLOAD (856)
Dev - make AJAX
Screenshots (0)
Dev - Also, on form submission, use GD to resize the image as a new thumbnail file
There were no screenshots provided
Dev - In the submission form, you can now upload a banner image
TDS Engine
A nice TDS engine, includes procedural animation and semi-active lighting. No enemies but they shouldn't be too hard to make. Runs at 60 FPS on my laptop.


Target platforms:



23 Results
1 2 Next

WOW rating = framerate + 4
Posted by JW November 09, 2008 12:55 - 9.1 years ago
| [#01]

Cool TDS engine is cool.
10/10 because it's cool
Posted by PY November 09, 2008 14:06 - 9.1 years ago
| [#02]

Whatdya mean 5, JW? =P
Posted by Juju November 09, 2008 14:35 - 9.1 years ago
| [#03]

oh my god. your shadows code is ridiculously long! you said mine was the wrong approach? yet you give me 15 fps, and after rewriting my script, I have 30 with 9 lights...good call juju. also, I don't know if it's just because it was so laggy or what, but the turning sucked. I hated it. lol, and your shadows are super sharp!

jesus, 60 fps on your laptop? are you sure you were running the same thing you released?
Posted by Joseph November 09, 2008 16:44 - 9.1 years ago
| [#04]

Juju's shadows, if I may put it bluntly, look far better.
Posted by PY November 09, 2008 17:24 - 9.1 years ago
| [#05]

Quote
I have 30 with 9 lights...good call juju.
The game generates a random room with anywhere up to about 15 lights. The average is 11 lights. Bearing in mind that the is also running a far bigger level and is also procedurally generating the main character's animation, I'd say 15 FPS is probably a little bit faster than your engine that, for me, ran at 20 FPS on the standard test level. When you factor in that my shadows do actually look nicer, I think you can see that this is a superior engine.
Posted by Juju November 09, 2008 17:31 - 9.1 years ago
| [#06]

this would be even more sexy if it had stuff to shoot.
Posted by gamerman November 09, 2008 22:05 - 9.1 years ago
| [#07]

then you bear in mind that I've rewritten the script and it's turning out to be twice as fast. how are your shadows nicer? since when are pixel sharp shadows nice? last time I checked, people are wanting soft shadows.
Posted by Joseph November 09, 2008 23:44 - 9.1 years ago
| [#08]

There's a difference between soft shadows and blurry shadows. Adding a blur to this engine is very easy:
Quote: Bottom of step event of shadows_obj
surface_set_target(light_sur)
draw_surface_ext(lighting_sur,0,0,.5,.5,0,c_white,1)
surface_set_target(lighting_sur)
draw_surface_ext(light_sur,2,2,2,2,0,c_white,1)
surface_reset_target()

If you've found a way to make raycasting fast, I'd be intrigued to see the source code. The fact still remains, however, that I'm doing more with this engine. The slowdown occurs due to limitations of graphics cards, the engine does use a large amount of video memory. Game Maker, more specifically DirectX, will happily go and use slower RAM if video memory runs out. This is why my method is slow on older computers with older graphics cards.

Your method uses a huge amount of calculation - fine, that's all well and good - but Game Maker is not a calculation-friendly runtime environment. Your engine will always be limited by Game Maker. In a faster environment, I would think that our methods would be equally fast.

I would also like to point out that my method of shadow rendering is actually the one recommended by gamedev.net: http://www.gamedev.net/reference/programming/features/2dsoftshadow/page3.asp They know their shit better than we do.
Posted by Juju November 10, 2008 5:46 - 9.1 years ago
| [#09]

I dunno, sharp shadows are quite nice.

But regardless, Juju's shadows look prettier, and run at 60fps on my 5ish gen old low end card.
Posted by PY November 10, 2008 11:56 - 9.1 years ago
| [#10]

This looks great. I really like how the shadows move, and the sharpness of them. Ran at an average of 37fps on my computer.
Posted by TDOT November 10, 2008 17:28 - 9.1 years ago
| [#11]

Neat.
Posted by Cpsgames November 10, 2008 17:33 - 9.1 years ago
| [#12]

Don't make me do another 9/10 drive guys =P
Posted by Juju November 10, 2008 17:52 - 9.1 years ago
| [#13]

I contributed to your last 9/10 drive :'(

8/10, just because I'm "that guy"
Posted by Ross November 10, 2008 18:20 - 9.1 years ago
| [#14]

It also ran at about 60fps on my comp, too. This engine is fairly decent btw. 9/10
Posted by Aistarin November 10, 2008 19:43 - 9.1 years ago
| [#15]

Woops, forgot to rate XD
9/10
Posted by TDOT November 10, 2008 23:38 - 9.1 years ago
| [#16]

slow.. But i liked the shading.
Very professional.
9/10
Posted by xskullsgames November 11, 2008 21:20 - 9.1 years ago
| [#17]

I don't understand why you'd want shadows in 2D. that's all there is to it...
Posted by JoshDreamland November 15, 2008 9:09 - 9.1 years ago
| [#18]

Nicely done.
Posted by Glen November 15, 2008 15:31 - 9.1 years ago
| [#19]

fool, what kind of laptop do you HAVE???? 60FPS? I have Vista also and I think that also affects the speed too.
Posted by Chaz November 15, 2008 22:43 - 9.1 years ago
| [#20]

23 Results
1 2 Next

Recent Activity
 
Active Users (0)