Allegro.cc - Online Community

Allegro.cc Forums » The Depot » Small Lighting Demo

This thread is locked; no one can reply to it. rss feed Print
Small Lighting Demo
Erin Maus
Member #7,537
July 2006
avatar

Hi,

I've been working on a silly little toy. I made a lighting demo.

Here's a screenshot:

{"name":"611144","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/7\/1\/71a5c6b26c63c21188a4e88c0aec55fb.png","w":1290,"h":749,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/7\/1\/71a5c6b26c63c21188a4e88c0aec55fb"}611144

Here's a GIF (I don't know if it will work):

iokxEm4.gif

(Here's a direct link: https://i.imgur.com/iokxEm4.gif)

There's an 'ambient' light in the middle of the area and a light in the lower-right hand corner.

It should run just fine. I've tested it on FreeBSD via Wine and Windows 10. It may work on Linux without Wine, but I don't know how Mono works on Linux. I included the so files anyway.

I'm looking for general feedback about how it looks. Pay attention to the lighting on the little knight. When he rotates, it's not a simple flip...

This demo shows off: 1) lighting 2) procedural terrain 3) vector graphics. There's also an entity-component-system (for rendering and updating), a simple controller system, and collision detection, but those aren't exactly visible. Pretty neat for a couple weeks of work, I think.

Download link (or click the paperclip [or do nothing, your choice]). Run 'Dormouse.Lacklore.exe' I suppose.

Thanks!

---
ItsyRealm, a quirky 2D/3D RPG where you fight, skill, and explore in a medieval world with horrors unimaginable.
they / she

Eric Johnson
Member #14,841
January 2013
avatar

I'm impressed! :o The way the lighting "bleeds" onto the character looks really nice. The graphics in general look quite nice and reminds me of Paper Mario (what with how the character rotates and all). Well done!

Edit: It ran without issue on Linux using Wine, by the way.

Erin Maus
Member #7,537
July 2006
avatar

Thank you! I'm going for a Paper Mario aesthetic. The game is going to be about a book that has the ability to shape the world...

Did you notice the shadows on the knight moving around?

See the shadows are on the left when a light is to the right:

{"name":"611146","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/4\/7\/471e1602106c223f88515bff8d005db8.png","w":1290,"h":749,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/4\/7\/471e1602106c223f88515bff8d005db8"}611146

And vice versa:

{"name":"611147","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/f\/0\/f0eb1ece6a6ab11857e84361ce74b490.png","w":1290,"h":749,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/f\/0\/f0eb1ece6a6ab11857e84361ce74b490"}611147

It's not that noticeable but I think it's pretty neat.

---
ItsyRealm, a quirky 2D/3D RPG where you fight, skill, and explore in a medieval world with horrors unimaginable.
they / she

Eric Johnson
Member #14,841
January 2013
avatar

Oh, I didn't even notice! The subtle details are always the best. ;)

I look forward to seeing the finished product someday!

Bruce Perry
Member #270
April 2000

I noticed, but only after you said it was a lighting demo :)

--
Bruce "entheh" Perry [ Web site | DUMB | Set Up Us The Bomb !!! | Balls ]
Programming should be fun. That's why I hate C and C++.
The brxybrytl has you.

Go to: