With 2D lighting you can cheat and not have to rely too much on GLSL.
Just draw all the visible lights onto a black image, and then multiply the RGB of the lighting image with the RGB of the current view. (You might need GLSL here)
With 2D lighting you can cheat and not have to rely too much on GLSL.
Just draw all the visible lights onto a black image, and then multiply the RGB of the lighting image with the RGB of the current view. (You might need GLSL here)
I don’t really like that. It looks like a diamond, when a reverse vignette effect would be far better looking.
Um, what ratio? He meant the diamond looks weird because its well… diamond shaped. Lights don’t naturally project in a diamond shape.
You don’t need a width and height. Just a one radius.
[quote]Its Wessles Fault!
[/quote]
Very well. You will be a character in Vehicular Fun, Swordsminer. I bet you cannot WAIT until vehicles come in. And flame-throwers ;).
Companions completely implemented, but only clara right now. The can punch enemies and ofc will have configurable stats using a CompanionTypes enum, like the DoctorTypes on the 3rd? page. I added more messages to the exception handler random messages, and also started implementing global entities and converted the doctor from its own entity to a global entity, pretty much so I have a cleaner game class. Also, the entire enemy AI was rewrote, the most notable additions are:
Also I implemented a sexy revereor logo at the start of the game and the “exterminate” sound effect is played half way through the sequence, which shows off how dynamic my component class and display are. (shows you I don’t jump to the game class)
Images: (first shows clara punching a dalek, and her gui, which consists of blinking. Second shows dalek not tracking through wall, third is the logo)
And lastly, I am using two monitors for coding now AND I am using a dark coding scheme, which helps with NOT hurting my eyes. For the monitors, utils and coding on one, console, problems, package explorer and outline on the other. I love it!