• What Are You Working On? V13
    5,003 replies, posted
The splash screen looks good like that. I only have a problem with the icon.
[QUOTE=Darwin226;24905675]The icon is what represents the program. The only thing you see of the program when you are not currently using it. I really don't get why they thought making the icon non-symmetrical (and purple -.-) would look good.[/QUOTE] Whether or not an asymmetrical icon and the color purple look good is all subjective ( I like the new icon over the old one and am willing to argue to hell and back that purple is far superior to any other color in the rainbow ( aside from variations of green ) )
Looking at my desktop I have very very few symmetric icons.... I see one.
For the past few days I've been rewriting [URL=http://www.facepunch.com/showpost.php?p=18332072&postcount=248]the SaveManager app that I did quite a while ago[/URL], now in C#. [IMG]http://anyhub.net/file/savemanager_c-sharp2.png[/IMG] This one supports any game, you just have to write a class in a DLL that implements a specific interface. The main app itself is only responsible for displaying data (which is supplied by the DLLs) and managing profiles and the configuration DataSet.
BIKESHED. Anyway, I use vs2005 because it runs nicely.
Offtopic but you guys might know: What's the name of that website that lets you choose applications to install ? And then it will automaticly download and install if for you ?.
[url=http://ninite.com/]Ninite?[/url]
I'm working on dynamic (2D) shadows. [media]http://www.youtube.com/watch?v=bG3K6rnR1Og[/media] Now I have to learn OpenGL and convert it to JOGL. After that I will try to add the soft edges from [url]http://www.gamedev.net/reference/articles/article2032.asp[/url]
I've added graphics to my minesweeper clone. [img]http://img440.imageshack.us/img440/8831/minesweeper.png[/img] If you want to try it you can download it here: [url=www.zguyserver.mine.nu/files/Minesweeper.rar]Download[/url]. Feel free to come with suggestions.
[QUOTE=Spoco;24907579]For the past few days I've been rewriting [URL=http://www.facepunch.com/showpost.php?p=18332072&postcount=248]the SaveManager app that I did quite a while ago[/URL], now in C#. [IMG]http://anyhub.net/file/savemanager_c-sharp2.png[/IMG] This one supports any game, you just have to write a class in a DLL that implements a specific interface. The main app itself is only responsible for displaying data (which is supplied by the DLLs) and managing profiles and the configuration DataSet.[/QUOTE] That looks much better than your old one. Good job.
[QUOTE=Spoco;24907579]For the past few days I've been rewriting [URL="http://www.facepunch.com/showpost.php?p=18332072&postcount=248"]the SaveManager app that I did quite a while ago[/URL], now in C#. -bitch got snipped- This one supports any game, you just have to write a class in a DLL that implements a specific interface. The main app itself is only responsible for displaying data (which is supplied by the DLLs) and managing profiles and the configuration DataSet.[/QUOTE] Now if you had that use some kind of upload service to sync saves that'd be amazing, and I'd definitely use it if you released.
[QUOTE=Jawalt;24910680]Now if you had that use some kind of upload service to sync saves that'd be amazing, and I'd definitely use it if you released.[/QUOTE] Unfortunately the save files of the games I've thought about using this for (Oblivion, Fallout 3, Minecraft) are so big that it would be very slow. You could just grab the newest save from the folder you've configured for a particular game profile and put it on Dropbox or something.
[img_thumb]http://dl.dropbox.com/u/286964/eventdriven.png[/img_thumb] Doesn't look like much but parenting works, as does dragging of the windows... all event driven. Quite pleased with it so far. I am struggling a bit with the draw-order and focusing controls and such, I am sure I will devise a way though.
I'm working on a CLI program that'll accept input on stdin then perform some processing and then output on stdout. This all works fine in theory, but as soon as I try piping files in and out it starts choking up - I've come to the conclusion that this is as a result of the files not being null-terminated. Is there any way I can get around this? This is the command line code I'm using: [code] enc offset encrypt <a.txt >b.txt [/code] If a.txt ends with a null byte, there's no issues. Otherwise, it'll just sit there forever because the code I'm using for reading is blocking. [code] std::string readStdin() { std::string input; char c = '\0'; while((c = getchar()) != false) input += c; return input; } [/code] [editline]10:26PM[/editline] Yeah, so how can I fix this issue?
Does anyone have a link to a decent SSAO implementation? I'm currently using the one I found on [url=http://www.gamerendering.com/2009/01/14/ssao/]gamerendering.com[/url], but it looks awful. [img_thumb]http://www.imgdumper.nl/uploads3/4c960197994dd/4c9601974fd87-ssao.jpg[/img_thumb]
[QUOTE=mechanarchy;24915155] Yeah, so how can I fix this issue?[/QUOTE] Check for EOF not 0/false.
[QUOTE=nullsquared;24915273]Check for EOF not 0/false.[/QUOTE] Thanks! A trivial thing to alter, but it works wonders. :smile:
[QUOTE=Tezzanator92;24915037][img_thumb]http://dl.dropbox.com/u/286964/eventdriven.png[/img_thumb] Doesn't look like much but parenting works, as does dragging of the windows... all event driven. Quite pleased with it so far. I am struggling a bit with the draw-order and focusing controls and such, I am sure I will devise a way though.[/QUOTE] Just implement a "Z-Order List" with all your controls in, in the order you want to draw them. Focus is for the control higher up the Z-list.
[QUOTE=Overv;24915185]Does anyone have a link to a decent SSAO implementation? I'm currently using the one I found on [url=http://www.gamerendering.com/2009/01/14/ssao/]gamerendering.com[/url], but it looks awful. [img_thumb]http://www.imgdumper.nl/uploads3/4c960197994dd/4c9601974fd87-ssao.jpg[/img_thumb][/QUOTE] [url]http://http.developer.nvidia.com/GPUGems/gpugems_ch17.html[/url] Is this what you're looking for?
I'm p sure he's doing an approximation of that, it uses depth values and things I think.
Does java have delegates/events or am I stuck using arrays of classes?
[QUOTE=high;24920728]Does java have delegates/events or am I stuck using arrays of classes?[/QUOTE] It doesn't have delegates, but you can use anonymous inner classes. [cpp]final Object o1=getSomething(); button.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { //you can even use o1 here, but it has to be final. You can also access any of the class's private fields (final or not). } });[/cpp]
[QUOTE=Robber;24920923]It doesn't have delegates, but you can use anonymous inner classes. [cpp]final Object o1=getSomething(); button.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { //you can even use o1 here, but it has to be final. You can also access any of the class's private fields (final or not). } });[/cpp][/QUOTE] Okay thanks. I wonder if java will ever be as great as C# when it comes to OOP. Granted C# still could use improvements here and there. But just so much of Java makes me wish I was using C# instead lol.
[QUOTE=CarlBooth;24916048]Just implement a "Z-Order List" with all your controls in, in the order you want to draw them. Focus is for the control higher up the Z-list.[/QUOTE] That works, Additionally I put a list in each control that also holds the child controls so that they get brought to focus too if their parent does, works really nice! Also, Checkboxes and buttons... [img]https://dl.dropbox.com/u/286964/window.png[/img]
[QUOTE=high;24921132]Okay thanks. I wonder if java will ever be as great as C# when it comes to OOP. Granted C# still could use improvements here and there. But just so much of Java makes me wish I was using C# instead lol.[/QUOTE] They can't make major changes to Java because they would break backward compatibility. C# has the advantage of being much younger. Microsoft learned from Java's problems. [QUOTE=Tezzanator92;24922030]That works, Additionally I put a list in each control that also holds the child controls so that they get brought to focus too if their parent does, works really nice![/QUOTE] Only one child should have focus. :raise:
I should really have used the word "front" there, woops. Bring all the child controls to the front.. otherwise windows would cover their children :v:
[QUOTE=Tezzanator92;24922030]That works, Additionally I put a list in each control that also holds the child controls so that they get brought to focus too if their parent does, works really nice! Also, Checkboxes and buttons... [img_thumb]https://dl.dropbox.com/u/286964/window.png[/img_thumb][/QUOTE] Cool, glad you got it working! [QUOTE=Robber;24922777]Only one child should have focus. :raise:[/QUOTE] His way, you can do what Apple do with OS X which is allow you you to scroll a frame in a non-focused window. It's quite handy.
[QUOTE=Tezzanator92;24923448]I should really have used the word "front" there, woops. Bring all the child controls to the front.. otherwise windows would cover their children :v:[/QUOTE] Shouldn't parents call their child's draw methods?
[QUOTE=Overv;24915185]Does anyone have a link to a decent SSAO implementation? I'm currently using the one I found on [url=http://www.gamerendering.com/2009/01/14/ssao/]gamerendering.com[/url], but it looks awful. [img_thumb]http://www.imgdumper.nl/uploads3/4c960197994dd/4c9601974fd87-ssao.jpg[/img_thumb][/QUOTE] If you can deal with 'fake' SSAO, just do a high-pass filter or unsharp mask on the depth buffer.
[QUOTE=Robber;24923650]Shouldn't parents call their child's draw methods?[/QUOTE] That's the way I am turning it into. (Indeed I started it out this way) - I had problems making the events system work though. Probably gone through 15 different ways of doing this. I will go back to this way though, Cleaner and more understandable code.
Sorry, you need to Log In to post a reply to this thread.