L3S released + retartedness confirmed

Posted by Adventus on Oct. 7, 2006, 11:27 p.m.

After a good 2 weeks of work, its official I've released the edittable of L3S onto the unsuspecting mass of the GMC.

<A HREF="http://forums.gamemaker.nl/index.php?showtopic=247336&pid=1723995&st=0&#entry1723995"> Link</A>

What abouted the retarted bit you may ask?…. well something that had been keeping me from releasing L3S was this really strange error where i was creating a surface but it wasnt showing up, I even had it show a message using surface_exists. So i tried using the surface_save() function but once again no .bmp was appearing. After about a day of swearing and blaming GM for its stupid bugs…. i discovered that i was using surface_create(view_xview,view_yview) instead of surface_create(view_wview,view_hview)….. so i was creating a surface with 0 width and 0 height….. I felt like kicking my self. So for my self punishment, i decided to finally write the stupid readme and script reference…. it was agony.

This surface was for a glow filter which GearGOD had asked me to make. Here's a pic of it on action:

<img src='http://64digits.com/users/Pheonix101/Pheonix_L3S_glow.jpg'></img>

Comments

Josea 18 years, 1 month ago

Nice lighting engine, but slow as hell.

Onyx 18 years, 1 month ago

Really nice. I'll ask again, last time it ended up with missunderstanding: is there a way to simply check how well a place is lit? Meaning, if I make a sneaker game is there an easy way to check if my character is in dark and how dark this place is? I think GearGOD had it, either in Luminare or the one before it.

melee-master 18 years, 1 month ago

Holy crap, that is one nice glow.

Adventus 18 years, 1 month ago

Quote:
Really nice. I'll ask again, last time it ended up with missunderstanding: is there a way to simply check how well a place is lit? Meaning, if I make a sneaker game is there an easy way to check if my character is in dark and how dark this place is? I think GearGOD had it, either in Luminare or the one before it.
As i said last time, yes. If you look in the "other" folder there is a script called "L3S_get_lum" which gets what you want. The problem is that GM is really slow when it comes to grabbing colours off surfaces, so use it sparingly.