What I did today

Refactored my dictionary loading code.

The wind blew your way a few days ago then, gheheh.

I teached my little nephew (11 yrs) HTML (yesterday evening and today), he understands the basics, head/body, and tags with properties, like .
Andā€¦ most importantly, I learned him how to Google!

Ah, the tagā€¦ now he has to unlearn it. :slight_smile:

Donā€™t forget

Added shadow frustum culling (I think thatā€™s how itā€™s called), see top left in picture. Now having to deal with the problems that come with it.

And thinking about posting this project in wip.

edit: Itā€™s basically calculating the smallest possible shadow frustum from the view frustum.

I am creating a library to novice programmers understand how programming works:

http://s28.postimg.org/dve29se7h/demo1.png

If youā€™re extending a class to get itā€™s static variables/methods more conveniently, I recommend using a static import instead:

[icode]
import static net.lib.eternalGL.Sistema.*;
[/icode]

Thank you ;D i will do that

Added sheep a ducks, meant a new quadruped skeleton and some massively complex sprites - oh wait no.

https://dl.dropboxusercontent.com/u/1668516/shots/craft/screenshot7.png

Actors now have brains, so Orcs have the FollowBrain and ducks/sheep have the WanderBrain. Something else to add into Legends of Yore 2.

Cheers,

Kev

See, now thatā€™s programmer art. Just bunches of rectangles, but it looks good, like it could only be that way.

Now you can calculate the square root of int and double numbers with method Mat.squareRoot() in my library (i didnt use the Math.sqrt() ) :slight_smile:

http://s28.postimg.org/hz93qaijx/demo4.png

Weeee!!! Tie-dye villagers!!

Learning some more neural network stuff. Got back from a vacation to the beach. But most important of all: received the first bits of my new computer ;D Very excited for the rest to come in.

I got my isometric engine up and running quite well ;D:


http://i.imgur.com/6cDRLYA.png

Edit: Just noticed that it says 5 fps in the image, that is because background fps is set to 5,really iā€™m getting 120 fps :wink:

~30 minutes, attempted hyperspace effect (2D) libgdx (gif is laggy, not computer)

In an effort to get used to it, I have immersed myself into Java 8 through gross over-application of streams and lambdas:

Scan program arguments for a file path and attempt to load it as an image:


Arrays.stream(args)
    .filter(possiblePath -> Files.isReadable(Paths.get(possiblePath)))
    .map(path -> loadImage(path))
    .filter(possibleImage -> possibleImage.isPresent())
    .map(confirmedImage -> confirmedImage.get())
    .findFirst()
    .ifPresent(image -> gui.canvas.setImage(image));

Itā€™s elegant in a twisted sort of way I suppose, although the pre-JDK8 version is actually shorter (I think):


for (String arg : args) {
    if (Files.isReadable(Paths.get(arg))) {
        BufferedImage img = loadImage(arg);
        if (img != null) {
            gui.canvas.setImage(img);
            break;
        }
    }
}

(yes I am aware I could skip the Files.isReadable() if I just eat all the exceptions ImageIO would give for non-paths, Iā€™m considering it)

Made a small utility that does the work of sudo on windows.

http://goharsha.com/images/sudo/sudo.png

Hereā€™s the blog post if anyone is interested. http://goharsha.com/blog/sudo-command-prompt/

Today (and yesterday), I implemented controller support. A lot of copy-pasting and renaming of copied variables and methods. But now, you should theoretically be able to remap controller buttons and axes just like you can keyboard and mouse buttons, and it should process any input you do correctly.

Not that Iā€™ve tested it yet. Would anybody find this sort of system for remappable keys, mice, and controller stuff useful?

Screenshots would not be terribly interesting. D:

Hey Harsha, could you post the source for that sudo utility? Thatā€™s immensely useful, thank you very much!

@ra4king

Here you go. I just used Process class in .Net with shell execute.


ProcessStartInfo info = new ProcessStartInfo();
info.FileName = args[0];
info.Arguments = "";
info.UseShellExecute = true;
info.Verb = "runas";

for (int i=1; i<args.Length; i++)
{
    info.Arguments += (args[i] + " ");
}

Process.Start(info);

Tomorrow, Iā€™m planning to add some of the command line switches supported by original sudo command.