Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (567)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 9 10 [11] 12 13 ... 22
  ignore  |  Print  
  What I did today  (Read 51370 times)
0 Members and 2 Guests are viewing this topic.
Offline mojo
« Reply #300 - Posted 2014-07-25 15:56:48 »

Still spending/wasting time on the editor, today I realized that it was time to dump Tiled. The basic functions and controls are nice but its not really efficient for placing 3D foliages and non-flat stuff in general Shocked.
So now I'm implemented the tile placing features (random fill, random paint and the stamp brush are really nice).

But this is sooo boring, must...  push.. trough ….  Cranky
Online princec

JGO Kernel


Medals: 386
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #301 - Posted 2014-07-25 16:13:54 »

Checkbox widget finished today. Discovered a bit of an issue with layout in the process which I'm now looking at. Oh, and did the company accounts, and so on. Mind crushingly tedious in 30 degree heat with no air-con.

Cas Smiley

Offline ags1

JGO Ninja


Medals: 62
Projects: 3
Exp: 5 years


Make code not war!


« Reply #302 - Posted 2014-07-25 17:38:52 »

Refactored my dictionary loading code.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Herjan
« Reply #303 - Posted 2014-07-25 17:49:54 »

Mind crushingly tedious in 30 degree heat with no air-con.
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 <font>.
And... most importantly, I learned him how to Google!

Offline Riven
« League of Dukes »

JGO Overlord


Medals: 801
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #304 - Posted 2014-07-25 18:13:24 »

Ah, the <font> tag... now he has to unlearn it. Smiley

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline BurntPizza
« Reply #305 - Posted 2014-07-25 18:15:38 »

Don't forget <blink>
Offline mag

Junior Member


Medals: 9
Exp: 2 years



« Reply #306 - Posted 2014-07-25 18:50:49 »

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.
Offline death_angel
« Reply #307 - Posted 2014-07-25 20:44:45 »

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

Like a Boss Hacker
Offline BurntPizza
« Reply #308 - Posted 2014-07-25 20:49:25 »

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

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

import static net.lib.eternalGL.Sistema.*;


Offline death_angel
« Reply #309 - Posted 2014-07-25 20:52:03 »

If you're extending a class to get it's static variables more conveniently, I recommend using a static import instead:

import static net.lib.eternalGL.Sistema.*;



Thank you  Grin i will do that

Like a Boss Hacker
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Online kevglass

JGO Kernel


Medals: 166
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #310 - Posted 2014-07-25 21:43:04 »

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



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

Offline BurntPizza
« Reply #311 - Posted 2014-07-25 21:50:20 »

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

See, now that's programmer art. Just bunches of rectangles, but it looks good, like it could only be that way.
Offline death_angel
« Reply #312 - Posted 2014-07-26 22:49:13 »

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() )  Smiley

Like a Boss Hacker
Online Rayvolution

JGO Kernel


Medals: 208
Projects: 2
Exp: 1 year


Resident Crazyman


« Reply #313 - Posted 2014-07-26 22:59:58 »

Weeee!!! Tie-dye villagers!!

- Raymond "Rayvolution" Doerr.
Retro-Pixel Castles - Survival Sim/Builder/Roguelike!
LIVE-STREAMING DEVELOPMENT: http://www.twitch.tv/SG_Rayvolution
Offline Slyth2727
« Reply #314 - Posted 2014-07-27 02:08:39 »

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  Grin Very excited for the rest to come in.

Was I before Chuang Tzu who dreamt about being a butterfly, or am I now a butterfly who dreams about being Chuang Tzu?
Offline kingroka123

JGO Ninja


Medals: 29
Projects: 5
Exp: 1 year


Gamer's Helmet


« Reply #315 - Posted 2014-07-27 04:09:48 »

I got my isometric engine up and running quite well  Grin:



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

Offline Jimmt
« League of Dukes »

JGO Kernel


Medals: 133
Projects: 4
Exp: 3 years



« Reply #316 - Posted 2014-07-27 05:37:32 »

Click to Play

~30 minutes, attempted hyperspace effect (2D) libgdx (gif is laggy, not computer)
Offline BurntPizza
« Reply #317 - Posted 2014-07-27 07:28:33 »

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:

1  
2  
3  
4  
5  
6  
7  
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):

1  
2  
3  
4  
5  
6  
7  
8  
9  
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)
Offline SHC
« Reply #318 - Posted 2014-07-27 16:41:29 »

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



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

Offline goblinJoel

Junior Member


Medals: 2



« Reply #319 - Posted 2014-07-27 17:37:48 »

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:
Online ra4king

JGO Kernel


Medals: 347
Projects: 3
Exp: 5 years


I'm the King!


« Reply #320 - Posted 2014-07-27 18:42:33 »

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

Offline SHC
« Reply #321 - Posted 2014-07-27 18:59:42 »

@ra4king

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

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
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.

Online ra4king

JGO Kernel


Medals: 347
Projects: 3
Exp: 5 years


I'm the King!


« Reply #322 - Posted 2014-07-27 19:02:57 »

Is a specific version of .NET required? I get an error when using it.

Offline SHC
« Reply #323 - Posted 2014-07-27 19:03:42 »

No, I used .Net 2.0 with SharpDevelop 4.4. What error did you get?

Online ra4king

JGO Kernel


Medals: 347
Projects: 3
Exp: 5 years


I'm the King!


« Reply #324 - Posted 2014-07-27 19:04:58 »

"The application could not be started." When you develop a .NET app, end users must have the same .NET framework installed. I only have .NET 4.5 installed... you're still using .NET 2.0?! O_o

Offline SHC
« Reply #325 - Posted 2014-07-27 19:07:20 »

You are on windows 8??? Windows 8/8.1 disables .Net 2.0 and you have to manually enable that. That code should also work with 4.5 I believe.

Online ra4king

JGO Kernel


Medals: 347
Projects: 3
Exp: 5 years


I'm the King!


« Reply #326 - Posted 2014-07-27 19:10:13 »

I already have that feature enabled. Let me try installing the 2.0 redistributable.

Offline SHC
« Reply #327 - Posted 2014-07-27 19:11:07 »

I just used .Net 2 because it was default with SharpDevelop. I'll get you 4.5 binaries now.

EDIT: Updated the link to the binary compiled with .Net 4.5 framework. It should work now.

Offline mag

Junior Member


Medals: 9
Exp: 2 years



« Reply #328 - Posted 2014-07-28 10:45:07 »

Made the world more desertly, added a player with collision and figured I still have some shadow problems to fix.
Offline mojo
« Reply #329 - Posted 2014-07-28 16:27:38 »

While biking a pass by a couple of jinjas, and I thought, that the entrance gate would look cool in my game. So I “quickly” made one. Well, now I have and entity that is blocking more than one map cell and not the one in centre.  F#ck me for not thinking about that sooner Angry.

Pages: 1 ... 9 10 [11] 12 13 ... 22
  ignore  |  Print  
 
 

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Pippogeek (35 views)
2014-09-24 16:13:29

Pippogeek (28 views)
2014-09-24 16:12:22

Pippogeek (17 views)
2014-09-24 16:12:06

Grunnt (40 views)
2014-09-23 14:38:19

radar3301 (23 views)
2014-09-21 23:33:17

BurntPizza (58 views)
2014-09-21 02:42:18

BurntPizza (29 views)
2014-09-21 01:30:30

moogie (34 views)
2014-09-21 00:26:15

UprightPath (47 views)
2014-09-20 20:14:06

BurntPizza (51 views)
2014-09-19 03:14:18
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!