Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (549)
Games in Android Showcase (137)
games submitted by our members
Games in WIP (594)
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 ... 54
1  Java Game APIs & Engines / OpenGL Development / Re: Fill Ellipse from a fragment shader on: 2015-01-18 12:48:48
I'm writing a fillOval implementation using a fragment shader instead of pushing a lot of vertices for drawing my ellipse.

I'm sorry I don't have the time to look deep into this, but what I have been told, when trying to "optimize" the circle drawing  by drawing a rectangle and determining which pixels to fill in the fragment shader I have been told that simply pushing lots of verticies is faster. You might need to benchmark this. I didn't test it, but that's what I have been told Smiley
2  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-17 14:41:06
At least make the borders a lot smaller Smiley
3  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-11 10:27:45
Went for a ride in the back garden:
It was frikkin' freezing lol.

Holy moly. I would have liked to go with you on that tour!
4  Games Center / WIP games, tools & toy projects / Re: Bit Siege - 2D Competitive Multiplayer PvP Game. (Alpha v1 out now!) on: 2015-01-08 16:57:16
@opiop65 You make it seem like his progress is not worth sharing. It's one of the best games on JGO at the moment.
I... I never said that.
Honestly, I don't understand why you would release this (even as an "alpha") before you had some sort of singleplayer mode.
5  Games Center / Featured Games / Re: State of Fortune on: 2015-01-03 16:32:36
That render distance... How did you do that?
6  Discussions / General Discussions / Re: Programmer jokes on: 2014-12-28 15:26:15
// Some code

A file my brother wrote
7  Games Center / WIP games, tools & toy projects / Re: WorldOfBlocks Puzzel Game Update [42] - Indie Christmas Edition!!! on: 2014-12-26 12:03:59
That title and its syntax reminds me of my WorldOfCube Smiley  Pointing (no problem, though)
8  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-12-15 17:51:00

Yo forgot mey m8
9  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-12-14 20:34:13
Also following the trend. Smiley
Love that Brocolli! Cheesy
10  Game Development / Newbie & Debugging Questions / Re: JBullet Shaking & Weird collisions on: 2014-12-14 18:05:09
It looks like these things masses are too big. How do you calculate / set the mass of the objects?
11  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-12-14 09:02:49
I follow the trend!
12  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-12-01 16:45:15
I'd play that.
13  Games Center / WIP games, tools & toy projects / Re: Legends of Fore - Planets Update - Translation on: 2014-11-27 16:09:21
Just starting on the translation services for the game so I can remedy the problem with Legends of Yore. Planning to use Google Translate as a first ditch to get all the strings translated. First target language German. Any other good targets?

Yay, German

Russian's bigger.

Yay, Russian

(Both languages I know)
14  Games Center / WIP games, tools & toy projects / Re: Paint.JAVA - Attempt at cloning Paint.NET (with cross-platform support) on: 2014-11-26 19:38:22
I just love how BurntPizza twice as much Medals worth as me, even though we almost have the same amounts of posts Smiley

That Color chooser looks beautiful, really nicely done!
15  Discussions / Miscellaneous Topics / Re: Is drinking half a bottle of vodka safe? on: 2014-11-21 21:55:00
Also, you don't instantly become dumb when you drink alcohol, ...
It's a gradual process. Over-consumption of alcohol (more than 3 'units' per day) slowly deteriorates brain tissue, as (among other reasons) your brain-matter is fatty, and fat easily dissolves in alcohol. Excessive alcohol consumption (to the point of passing out) does immediate damage, and some neurologists compare it to being hit by a baseball bat (whatever that entails..)

One or two units per day is actually better for your brain than zero, but I can't get myself to drink that 'much'...

It's possible you get brain damage when you get a little drunk everyday though
or when you drink very much for once.

16  Discussions / Miscellaneous Topics / Re: Is drinking half a bottle of vodka safe? on: 2014-11-21 17:31:28
What's the point of temporarily impairing your brain? To get the courage to speak to girls/guys? Group pressure? Reality escaping? Seriously, why do you guys drink?

For me it's all of the reasons you mentioned, plus in moderation you do remember what happens. Lightens up the mood, makes everyone more fun. Sometimes I have a few beers with my friends while gaming or watching a sport on TV, both activities which I don't normally enjoy much but after a few drinks becomes more fun and social.

Pretty much nailed it. I wouldn't say that "in moderation you do remember what happens", I'd say "only in rare cases when you overdo it, you can't remember". It never happened to me and I can hardly remember anybody who had that happen (no pun intended Tongue).

Like I said, if you don't want to drink, don't do it! I'm just trying to answer the question and balance out some of OP's "woo alcoholic beverages" nonsense. I'm not here to convince anybody of anything, so if you don't want to- just don't!
You couldn't force me drink even if my life depended on it. I don't surround myself with people who'd force me to drink. I'm not writing this in some attempt to get confirmation by random people online; I know what I want and don't want to do. =P

That's perfectly fine. You're not the only one that reads his posts Smiley

I myself drink in moderation. Not regularily at all, just at parties. When I drink, I usually drink more that a couple of beers, but just because everything is percieved much more positively, at least for me. I tend to have much more fun when a _little_ drunk, compared to when I'm not. If you don't feel comfortable with drinking alcohol, stuff won't be more fun for you, probably. Also, It depends on your friends, too. I'm pretty lucky, I'd say, because my friends usually don't get too drunk and are really tolerant. If you don't want to drink, it's perfectly fine for us.

Yep. It's a trade-off. Also, you don't instantly become dumb when you drink alcohol, it's just that it's more common that dumb people go over their limits Smiley It's possible you get brain damage when you get a little drunk everyday though (I heard about someone who was very intelligent, but drank beer everyday and now is mentally disabled...) or when you drink very much for once.

As Aristoteles says, you need to find your middle (mesótes), the moderation. Wink

17, Male, Germany
17  Discussions / General Discussions / Re: Parsing SVG files on: 2014-11-16 10:48:14
Gl, hf.

That's quite some amount of work, if you want support for patterns, gradients, etc. But it's also a nice learning experience, you get to know Bezier curves and all that stuff Smiley
18  Discussions / Miscellaneous Topics / Re: How memory works? on: 2014-11-16 10:46:46
Just try out Assembly language. It helps understanding what happens in the lowest programmable layer. I found assembly language easy to understand. It's just really hard to write big bug-free programs with it, but the for the sake of understanding, I'd recommend. Smiley
19  Discussions / Miscellaneous Topics / Re: How memory works? on: 2014-11-14 12:38:52
But that doesnt make sense...
How does the program remember that address? Another memory address? Does that address stay with the compiled code? So if two programs use the same memory address, what happens then?

Haha good point Smiley

I'm not entirely sure, but that's how I think it is:
In the program assembly code there is a defined memory adress, for example addres 0x0000A001. Each program assembly is a single process in the operating system. So if the OS is currently processing that program and it request to read/write a value in 0x0000A001, it is actually written in RAM at a specific offset. That offset is different in different processes (= programs).

As I said - I'm not entirely sure about that. But I am sure that each program (= process) has it's own part of RAM. It's the OS's duty to manage those.
20  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-11-14 12:33:21
i wrote a simple subdivision spline looking for fractals in skewed weights

Taking inspiration from that computerphile videoPointing

Thought exactly the same. Seen it too Smiley
21  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-11-03 12:40:23
Questions: How often do you guys use for , I use atleast twice every file that has any sort of data.

Check out lambdas. Look for google for the functions map, filter, fold and the like. Also, if you think it's cool, check out functional programming Cheesy
22  Game Development / Newbie & Debugging Questions / Re: Tile Collision Assistance on: 2014-11-01 13:53:19
Check if tile at [player.pos + player.speed] is not blocked, and if it is not blocked, player.pos += player.speed.

If it is blocked, don't do anything.

That works if you can only go up down left right, but not two of them at once. (Simpler said: Walking diagonally)

Usually you'd like the player to slide along walls.
So you need to do that for both the x and y coordinate:
if (!isBlocked(player.pos.x + player.speed.x)) player.pos.x += player.speed.x;
if (!isBlocked(player.pos.y + player.speed.y)) player.pos.y += player.speed.y;

but that only works for AABBs. Because it doesn't allow sliding in arbitrary directions (only slide along x and slide along y).

Also, if the speed is higher than 1, for example 5, then it's likely that your character will stop 3 or 4 pixels in front of the object it's colliding with.

It makes sense to make the game concept a little bit simpler, though, for example use a Tiled map like you do (and only AABBs) Smiley

(yeah, [x] is a list point here)
23  Discussions / General Discussions / Re: OpenUI5 on: 2014-10-30 19:22:09

Didn't know they changed the name from sapui5 to openUI5.

Used this during the summer internship at SAP last year.

It's really useful for creating Widget-rich UI's (SAP's UI's are crazy). The documentation and tutorials are plenty and the support is really good.

I don't know how hard it is to customize the theme, though, I only used the SAP themes Smiley
24  Game Development / Game Mechanics / Re: How to simulate Electricity in Tile-based game on: 2014-10-29 16:14:55
I think i need the wires to be a Node also, but that isn't much of a problem.
I wouldn't do that. A wire is conceptually very different from a Node. Making a Wire a Node will lead to all kinds of workarounds and hacks, as it doesn't match reality - and reality is the easiest to wrap your head around.

So when is a node created, in say, a Minecraft electricity mod? So you have the wire block and when you put them one after another, nothing happens, but when you connect a wire to multiple other wires it becomes a node?
25  Game Development / Game Mechanics / Re: How to simulate Electricity in Tile-based game on: 2014-10-29 15:46:00
I don't like the crash and burn part though. Is it possible to send the energy back somehow? Or just let it be in the storage of the producer (that storage would need to be added though).

Btw, how would a storage be implemented then, Riven?
26  Game Development / Game Mechanics / Re: How to simulate Electricity in Tile-based game on: 2014-10-29 12:47:13
Just think of it this way:
One node system has energy storage that is the energy storage of all things connected to this system combined.
A consumer can request energy from the system, and if it does, the system has to decide how: There are a couple of possible options. (We'll get to this in the example)
A producer simply produces energy and stores that energy in it's local energy storage.

So for example, you have consumer 1 and consumer 2, as well as producer 1 and 2 connected to the same network.
producer 1 and 2 have a 20k energy storage. So the system has 40k energy storage in total.
When one of the consumers request 40 energy, the system could do 2 different things: It could drain the energy storage of producer 1 by 40 energy, or split the energy request to all the energy sources and take 20 energy of each, though this might be harder since you can't always drain all the generators (if one is a little empty for example). (Like Grunnt sugessted).

You could also make this configureable for the user. So they tell you which energy sources should be drained first, etc.

I wouldn't implement that with any node-tree system. My system would simply be implemented with two arrays containing the Consumers and Producers:
public class EnergySystem {
  private final ArrayList<Consumer> consumers;
  private final ArrayList<Producer> producers;

And if you build a wire that is not connected to anything, that creates a new EnergySystem.
If you connect a wire to a wire, that wire is going to take the EnergySystem of the wire it's connected to.
If you connect a wire to two or more wires, that wire merges the EnergySystem of all the wires it was connected to.
If you connect a consumer or producer to a wire, it's added to the array of the EnergySystem.
If you remove a wire, you need to split the Energy system. Thats the only thing that might be a little tricky Smiley
27  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-10-25 16:11:59
Found some time today in between baby & housekeeping to make some improvements to the prototype I'm working on. The thrust and torque is now applied to the ship model depending on where the thrusters and reaction wheels are placed. I also fixed many small issues. It runs smooth even with very big ships:
Holy shit. That looks like a merge of FTL and StarDrive. *___*

Also: Reminds me of Robocraft (currently playing that game, I really love it)
28  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-10-23 19:52:55
Released Harldland early access to Steam.

That is... IMPRESSIVE!

WOW. So much gonna check that out. Awesome.

(Health-, Stamina-, etc. bars would be nice, numbers are hard to parse quickly Wink )

EDIT: Just saw it's singleplayer.
Mutiplayer is kind of a must-have nowadays. That'd make the game much more awesome, though Cheesy
29  Discussions / Miscellaneous Topics / Not productive? Maybe try out on: 2014-10-18 22:21:33
Hi guys, I got started with this today, but I like the idea of HabitRPG up to now very much, maybe someone of you already uses it?

Basically it's a task list + a character that levels up when you finish items on the task list. For the first time I hope I'm going to get addicted to that Cheesy

your thoughts? your experiences?
30  Game Development / Game Mechanics / Re: How to simulate Electricity in Tile-based game on: 2014-10-18 22:05:22
(shameless double-post)

Just found this, seems interesting: Wink
Pages: [1] 2 3 ... 54

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

The first screenshot will be displayed as a thumbnail.

CopyableCougar4 (14 views)
2015-01-26 04:47:56

Olo (14 views)
2015-01-25 21:26:00

Olo (15 views)
2015-01-25 18:44:22

Robo11 (27 views)
2015-01-25 06:14:26

basil_ (26 views)
2015-01-17 22:29:32

wxwsk8er (26 views)
2015-01-16 21:42:21

wxwsk8er (21 views)
2015-01-16 20:44:20

basil_ (25 views)
2015-01-14 09:46:59

basil_ (21 views)
2015-01-14 09:46:52

wxwsk8er (35 views)
2015-01-13 20:42:16
2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

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 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‑
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!