Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (533)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1] 2 3 ... 52
1  Discussions / General Discussions / Re: Component Systems: Artemis style systems vs. traditional fat entities on: 2014-07-25 17:22:25
Google says NO. Care to expand this acronym?
I think it means component architecture.

HA! I knew something Riven didn't know! Cheesy

Okay, I go back in my cave now.

(I really like this discussion and I really like the idea of Entity Systems, I wonder how well they work in haskell)
2  Games Center / WIP games, tools & toy projects / Re: Prophour23 - a fast-paced, randomized RTS on: 2014-07-23 15:16:26
A week ago my computer stopped working (beware of thunderstorms, guys!). I was unable to even turn it on...

wow!  Shocked
In my statistics you're quite unlucky, though... Lightning struck in a friend of mine's garden (~10m away from his desk) while he had his PC turned on. He said he heard noise on his headphones, but nothing's broken for him...

So yeah, my statistics consist of two individuals, but still Cheesy
3  Discussions / Miscellaneous Topics / Re: Is our Universe Simulatable? on: 2014-07-20 21:09:59
Related videos from veritasium:
https://www.youtube.com/watch?v=zUDqI9PJpc8
https://www.youtube.com/watch?v=sMb00lz-IfE

Can somebody with a scientific background verify the correctness of the information in that video?
4  Discussions / Miscellaneous Topics / Re: [Girls] How to completely block them from our lives? on: 2014-07-12 21:58:46
while (inspiration == procrastination){return null;}
I have a friend who once, when he learned programming, used "while" instead of "if". Serously... You're experienced! Cheesy
5  Java Game APIs & Engines / OpenGL Development / [Solved] VBO and Shaders on: 2014-07-11 23:49:54
Anyway thanks for everyone's help on this, how can I mark this thread as solved?

You don't need to do that, but you can put a [solved] in front of the title, either by modifing the first post and then modifying the title or by answering and editing the Subject line there, I don't remember... I'll try option 2 now, and if it didn't work you need to modify the first post Smiley
6  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-07-11 22:40:20
@Herjan

Reminds me of this game: http://sandbox.yoyogames.com/games/127938-tower-3

Loved it Smiley
7  Discussions / Miscellaneous Topics / Re: Minecraft: overwriting login database? on: 2014-07-11 19:08:30
it is simply not possible to login to the official mojang servers by simply modifying a few lines of code in the launcher.

It already happened. There are modified clients that make it possible to play in 'offline mode' with a choosable username. The dissappear from the internet often though, it might be because mojang tries to do a thing against them. :9
8  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-07-09 15:45:50
On topic, I messed around with logic gates and stuff. I was bored so I basically made a 16 bit adder, wrapped up in an integrated circuit (part of the program I use).

Oh boy, I love that stuff! Smiley

I started pretty much the same way. Maybe a year ago I was interested in how to build an ALU with RedPower and looked up how to build an ALU in Minecraft. I converted that to RedPower and built an ALU like that. But the same way I came across the program "Logisim". It's pretty awesome and very similar to the program you use (I think it's one of the programs that I tried out, but I didn't like it as much as Logisim), and started to build CPU's. I've now built an 8-bit CPU for the start, then moved on to 16-bit but didn't finish (I didn't like it since it was only a bitwise enhancement of the first CPU. The CPU was in no way _better_) and finally built a 32-bit CPU that (for the first time) was based on the von-Neumann-Architecture. Luckily, the von-Neumann-Architecture is exactly what we have to learn in school right now, so that's good for me Smiley

Here is the top-level "integrated circuit" of my CPU:


And here is the Control-Circuit for the individual instructions (except for ALU instructions like Addition, subtraction, etc. Those are handled elsewhere (in the ALU)):
9  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-07-07 22:28:21
Dedicated this and the last day to learning for a (relative to my level and age) hard maths exam tomorrow.

A week and a half and I'm finally free from any school-related work until in about 3 months.

Got max. possible grade for that exam (15 credits) Smiley
10  Games Center / WIP games, tools & toy projects / Re: MERCury - 2d Game Library | Experimental release in development; test it out! on: 2014-07-04 11:45:48
Make the checkboxes' texture change, when you mouse-over. That makes the UI look much better and make it much more usable Smiley
11  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-07-02 19:20:43
Dedicated this and the last day to learning for a (relative to my level and age) hard maths exam tomorrow.

A week and a half and I'm finally free from any school-related work until in about 3 months.
12  Game Development / Newbie & Debugging Questions / Re: Sin and asine confusion on: 2014-06-27 17:57:29
Huh?  I don't quite get you, but this is what I think might help you:

1  
Math.toDegrees(Math.asin(Math.sin(Math.toRadians(5)))) = 5 in degrees
13  Discussions / General Discussions / Re: What's with unorganized code? on: 2014-06-27 17:54:39
Immutable is overrated for hard/soft realtime and system programming.

I'm gonna hop in as a haskell fanboy (for / right now).

I'm not going to say that Immutability is THE thing, but in the general case it has proven itself to be working good enough and with a lot of advantages in functional languages.

The nice thing about haskell is also not that it's only got immutable data, because it hasn't. Things that work better with mutability can use gems like ArrayST, which is still type-safe because of nice abstractions.

(Clearly I think that haskell's strong and almost-pure type system is the nice thing about it. Monads ruuule ;P )
14  Game Development / Newbie & Debugging Questions / Re: loading picture on: 2014-06-26 17:16:16
Why not use make use of Riven's hard work?
15  Game Development / Artificial Intelligence / Re: AI Challenge: '2048' on: 2014-06-24 20:28:00
The trick is to keep larger numbers in the bottom right or bottom left corner. Ultimately you should limit movement to left, right, and down. This is how I managed to get a decent score of 17,000 points. Smiley

Well. Time progressed. Your strategy is pretty much the same as ours. The 2048 has found that out a long time ago already, but it's fun to see people find out the strategy themselves Smiley

I myself have now a highscore of 55k+, but I know someone of our school has a highscore of 550k+, which is pretty much insane.
16  Game Development / Newbie & Debugging Questions / Re: [math] Calculate velocity on: 2014-06-19 10:42:41
You seriously think that multiplying by delta time will affect the performance? It's 2014, you can do millions of multiplications in just a single frame, doing one or two won't hurt performance at all.
I don't see how NOT multiplying by delta time would be useful. persecutioncomplex
Yes.  Lower complexity for computation and you're deterministic.

At no point he said "performance".
17  Discussions / General Discussions / Re: Java 8 on Raspberry Pi on: 2014-06-18 21:26:44
It's useful for setting up a webserver ment for not-too-much traffic Smiley
18  Discussions / Miscellaneous Topics / Re: Interesting Profile pictures on: 2014-06-18 09:18:15
I'm I bit of a perfectionist when it comes to my programming. Honestly, I hated glitches and bugs A LOT until "Vanellope" (from Wreck -It) changed my mind. In some way, she helped me see bugs as a part of the process of programming, rather than something to try and eradicate completely. So, her avatar is a reminder for me to be patient with bugs, glitches, and apparently, "misunderstood" forum members who have a hard time searching for answers...  Yawn

Ooooooh nice. I watched that film not a long time ago and now I recognize the picture Smiley

I really recommend that film, it's an amazing fantasy Cheesy
19  Discussions / Miscellaneous Topics / Re: Interesting Profile pictures on: 2014-06-17 23:16:14
I just picked it from the list of default avatars provided by SMF. Now I'm stuck with it, as everybody recognizes it's me when they see it.

Haha, I was so surprised when I saw your real life picture Tongue

EDIT: Btw, my picture is an avatar that I drew when I was 12 or 13, when I joined the Game Maker forums.
I drew it in the old game maker sprite paint program and exported it. I now stick with it everywhere, even though it doesn't look much like me (I'm not a ginger and I actually wear glasses).
20  Discussions / Miscellaneous Topics / Re: Interesting Profile pictures on: 2014-06-17 21:29:46
Mine is just... awesome. I mean, come on. You know what I'm saying. That cute girl is my mother.

I wondered for SO LONG!

Now I know. FINALLY
21  Discussions / Miscellaneous Topics / Re: Interesting Profile pictures on: 2014-06-17 21:10:37
i call mine, black guy at night
naked, not to forget
22  Game Development / Newbie & Debugging Questions / Re: [math] Calculate velocity on: 2014-06-17 12:44:31
For what do you want to use the velocity?

In your game you don't have the usual units that we use in "every-day-physics". That means instead of meters you have pixels as a measurement of length and instead of seconds you probably have simulation ticks (unless you use delta time, then you really have seconds or milliseconds). In the end you can convert pixels into real-world-meters by knowing how dense the display is and you can convert simulation ticks into real-world-seconds by knowing how fast your game loop is running.

If you want the velocity in pixels per simulation-tick you can simply take the ammount you move ('d' in your formula) and divide it by 1, since it's the amount you move in one simulation-tick.

So your x-velocity becomes:
xvelocity = (pos.x - getBounds().x) * 0.05f;


If you want the overall velocity, you need to apply the rule of pythagoras:
xvelocity = (pos.x - getBounds().x) * 0.05f;
yvelocity = (pos.y - getBounds().y) * 0.05f;
velocity = Math.sqrt(xvelocity * xvelocity + yvelocity * yvelocity); // This will always be positive


If you want to convert that velocity into real-world-centimeters per real-world-seconds you need to first find out other things like pixel density and game loop speed.

Does this help? Again, for what do you want to use this velocity?
23  Discussions / General Discussions / Re: This is one of the worst feelings i ever had on: 2014-06-17 11:37:10
Okay thanks Roquen for clearing some things up for me.

And no, I know that semi-realistic simulated lawsuits are semi-realistic.
Also, I only know one of them off the top of my head right now and it's years ago that I saw that one.
(Though I'm not sure we're talking about the same trash Cheesy )

So yeah your examples make sense, and yep, I'm by no means a lawyer and definitely not educated in that way.

Said hypothetically person comes upon evidence of a crime.  Most modernish legal systems will require that a citizen that comes on such must report it the to proper authorities.  This is reasonable.  To not do so will committing a crime.  Depending on the legal system in question such person can be consider to be part of a conspiracy by their act.  Thus can be guilty of aiding on on-going criminal enterprise and therefore can have legal liability of all actions the original authors perform afterwards.  Again reasonably since they knew of the original act and by non-action allow for future actions.  It would be hard to argue:  I didn't think they'd do anything like that again!  How shocking!!??

So why is your advice to "destroy the harddrive", instead of "destroy the harddrive and report it to proper authorities"?
24  Discussions / General Discussions / Re: This is one of the worst feelings i ever had on: 2014-06-17 10:53:09
@matheus23: your reconstruction of events is inaccurate.
Yeah, well, my thought was that you must have seen it / have it on your harddrive (cache) because you clicked on this topic without the media being cut off at that time.

I agree with Panda, I don't think this is getting you into trouble in any way, unless you do something that makes some politicians not like you Wink

WTF?  Given the popularity of semi-realistic legal procedure being placed in series and such, you'd think you kids might have a reasonable-ish understand of law basics.

What do you mean by semi-realistic legal procedure?

I just find it hard to believe, that (hypothetically) someone, who clicked on a link from a friend that shows such media, is arrested, even though he didn't even know what was behind that link and it was not his intention to watch something like that at all.

I don't think that possession alone makes you guilty.
25  Discussions / General Discussions / Re: This is one of the worst feelings i ever had on: 2014-06-16 22:41:41
Nobody will really arrest you watching these, unless you are really heavily consuming them or in an important position.
Man.  Think again.  The vast majority of the world's prison population is "small fish".  And a fair number probably thought they were safe because of that.

The internet provides free flow of information: You can come accross such sites just by clicking accidentally on a troll link, getting computer viruses, etc.
So you're telling me that if my grandparents would get a virus that would bomb thier PC with such sites then the police would just appear one day in front of their house and arrest them? Drenius is right, so man, think again. Wink

So there is that thread named "This is one of the worst feelings i ever had" in my recent unread posts. So I click on it and find a link to or a video of something... not named in this thread, but pretty bad, so bad it could get me into jail.

So, Riven, did you destroy your harddrive?

I agree with Panda, I don't think this is getting you into trouble in any way, unless you do something that makes some politicians not like you Wink
26  Discussions / Miscellaneous Topics / Re: Longest program you have written? on: 2014-06-16 22:28:03
Maybe, but then it's starting to get pretty subjective.

Subjective? It's not a single judge then, everyone who submitted is then a judge. That's just like LD 48, every submitter is a judge.

What do you mean by subjective?
27  Discussions / Miscellaneous Topics / Re: Longest program you have written? on: 2014-06-16 22:23:30
Longest java code: RuinsOfRevenge (see signature)
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
$ cloc .
     217 text files.
     183 unique files.                                          
    1750 files ignored.

http://cloc.sourceforge.net v 1.60  T=2.57 s (51.0 files/s, 6284.8 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Java                           111           1917           2809           9108
XML                             19             18              0           1980
Ant                              1             47             14            240
-------------------------------------------------------------------------------
SUM:                           131           1982           2823          11328
-------------------------------------------------------------------------------


My haskell programs tend to be much smaller, though. But I cannot compare so easily, because the kind of code I write in haskell is different from the code I write in java (mostly not about games).

That would make for a fun java game jam/contest. Instead of "under 4k", "in 48 hours", etc, we could have a "best game with less than 500 lines of code" contest. It would have to include external settings/config files so no one cheats and stuffs all the meat into a .properties file or something.

Could be a fun idea down the road.

This would work only if everyone used (or someone who verifies used) the same [eclipse] formatter settings. It could be done though.

How about simply a character limit like, idk, 100000 characters and then make all the coders review the coding style / beautifulness of the code and the game that has the nicest code wins? maybe?
28  Games Center / WIP games, tools & toy projects / Re: [(M)MORPG] Project Yotta (temporary name) skyrim/TPS gameplay on: 2014-06-12 21:04:12
Hello,
I actually can't because the game is actually a bit empty. I means there is actually 3 spells, 1 NPC to fight with and 1 NPC to trade useless item.
So I actually can't give an early access, sorry Sad .

It's also very important we can test whether the connection and the game client itself work on our PC's and the game runs as it should be.

Otherwise you might have a much bigger code base with code that could have been tested broadly earlier Smiley
29  Game Development / Newbie & Debugging Questions / Re: LWJGL - Rendering A Texture Onto A VBO >>($10 REWARD)<< on: 2014-06-12 21:02:14
Well in that case he has upped the reward, still rubs me wrong.

I also doubt that he'd be able to pay it, since he's so young, but that's just speculation, and probably rude ^^
30  Games Center / Showcase / Re: [Android][free][game] Boo & Marung on: 2014-06-11 22:53:19
[youtube]https://www.youtube.com/watch?v=ZknX-SduJA4[/youtube]

First off: heyo, german guy here, not a native english speaker, too Wink

You can include youtube links like this:
[youtube]ZknX-SduJA4[/youtube]
What comes out of that is this:
<a href="http://www.youtube.com/v/ZknX-SduJA4?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/ZknX-SduJA4?version=3&amp;hl=en_US&amp;start=</a>
Pages: [1] 2 3 ... 52
 

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

The first screenshot will be displayed as a thumbnail.

pw (26 views)
2014-07-24 01:59:36

Riven (25 views)
2014-07-23 21:16:32

Riven (19 views)
2014-07-23 21:07:15

Riven (22 views)
2014-07-23 20:56:16

ctomni231 (51 views)
2014-07-18 06:55:21

Zero Volt (46 views)
2014-07-17 23:47:54

danieldean (37 views)
2014-07-17 23:41:23

MustardPeter (40 views)
2014-07-16 23:30:00

Cero (56 views)
2014-07-16 00:42:17

Riven (55 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!