Hi !
Featured games (87)
games approved by the League of Dukes
Games in Showcase (649)
Games in Android Showcase (181)
games submitted by our members
Games in WIP (700)
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 ... 10
1  Game Development / Newbie & Debugging Questions / Re: NPCS and Textboxes? on: 2016-02-07 09:34:42
"triggers for when the player is close"
You need Dialog System with load text from custom file (XML, Yaml, etc..)
Dialog have stages (phases)
on every stage you have some NPC text and answers
*answers - may have some events like Have 100 gold, Male etc
**triger action (next dialog, summon dragon ....)
**bool single time call
**bool show inactive (not have 100 gold) , but render in dialog

on exit dialog save current NPC stage and return to it or start dialog from Middle stage (after hello stage)
2  Game Development / Game Mechanics / Re: Best data structure for triangle collision meshes on: 2016-01-21 18:20:29
A big level would be ~600 000 to 1 000 000 triangles.
Why ?)
Do you use any sort of Lod collision mesh?

Best data structure for triangle collision meshes
any tree with dynamic sizes like R-tree
-manually separate big open world on sectors

*use native GPU PhysX XD

collision response for the triangles
You really use triangles in collision? ^^
no one doing so - they change render model to -> collision with primitive parts like sphere, tube, box, etc
Hitbox == collision model
3  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-01-13 20:43:01
Projects: 28
So many projects O_O
and so low downloads on google play
1 000–5 000

Maybe try make PC version and post on Steam - for 1-2 $ or free
in any case better then google play 5k downloads free
4  Discussions / General Discussions / Re: Packaging a Java Application on: 2016-01-09 02:34:56
What's the rationale behind not obfuscating?
Anybody who was interested in looking at your code could de-obfuscate it relatively easily (i.e. Minecraft)
Minecraft - never have open source code (as i know)
it was obfuscated )
but this not helped much, as all we know XD

(readable source code of minecraft that you can find - is giant work of enthusiasts that manually rename all obfuscation to normal code)
5  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-01-09 02:10:43
You could have also used a singleton and overridden the singleton class and its methods.
up: - or i really can use singleton objects instead of Map XD
lol i agane forgot - that all static data and methods = "one singleton object" and you can manually create alternative ^^
p.s but in any case static method override problem finally solved for me after so many years
6  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-01-09 01:37:55
You could have also used a singleton and overridden the singleton class and its methods.
singleton - is one from monsters that i used before =)

Why, oh why???
why i need overwrite static methods?
- some times you need create some singletone data using previus extend objects
and creating empty object is not so simple because you need clear all iteratebl objects for this
(remove all functions from empty constructor, or create new one - many useless code)

Let say you can’t hold color in instance object
static Map - hold some class Data

object A - BgColor = Red
*static Map(A)
getMap(return Map(A))

object B Extend A - draw Text Color Black + also have BG from A
*static Map(B)
getMap(return Map(B))

A = Map: "Bg - Red"
B = Map: "Bg - Red, Text - Black"
7  Java Game APIs & Engines / OpenGL Development / Re: Massive internal JEmalloc/Nvidia driver memory leak? on: 2016-01-09 01:12:29
I really don't know where to proceed from here on.
- Сreate the smallest source file you can
- Post it - Wait same result from ppl
- Send source to library developers causing current bug (LWJGl?) - Wait respund
- Send source GPU driver provider

Is there any way to trace which library/.dll-file is allocating all this memory to confirm that it's the driver?
You can find Java library source code and trace in eclipse, for dll you can use visual studio.
(reverse library source)

And every 250 iterations or so the memory usage goes up by ~64 kbs

for trace use in diff places

+ add before frame
and wait(1) - to give VM time clear memory

-Switch to other renderer
have no idea why you do this ^^
this looks like a bug itself (multi render context - looks for me unstable)

pp.s i think i understand what happening - when you switch render context,
and write data to first context - data is written to buffer (wait until switch back to send GPU)
because you not switching back - buffer grows

if i right - problem can be on top,
when creating second render context or swithing it,
during this process can be error - that you may forget to catch,
and using context - create some unusual behavior
(or maybe its "library opengl wrapper" mistake, to catch error)
8  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-01-09 00:01:27
Lol why I don’t understand that before Wink
- Java say “You can’t overwrite static methods”
- I say ok – and all my tries to fix this, create some kind of monster code

But – solution was so simple Smiley
   static public void main(String[] args){
         C_3 c3 = new C_3();
         C_2 c2 = c3;
         System.out.println("c3_O:" +;//5
         System.out.println("c3:" +;//5
         System.out.println("c2:" +;//2
         System.out.println("c2_O Wrong 1:" +;//2
         System.out.println("c2_O Wrong 2:" + c2.call_Ow());//0
         System.out.println("c2_O:" + c2.call_Ow_2());//5
      static public class C_1{
         static public int call(){
            return 0;
         public int call_Ow(){
         public int call_Ow_2(){
            return call();
      static public class C_2 extends C_1{
         static public int call(){
            // + 2
            //super change to extends ??
            return + 2;
         public int call_Ow_2(){
            return call();
      static public class C_3 extends C_2{
         static public int call(){
            return + 3;
         public int call_Ow_2(){
            return call();
9  Java Game APIs & Engines / OpenGL Development / Re: Massive internal JEmalloc/Nvidia driver memory leak? on: 2016-01-06 14:22:34
(2 days)

Any source code? ^^
@SHC: In my case I'm seeing ~1GB of memory allocated off-heap per second, with the Java heap staying constant.
or + saved Heap (or analyze Yourself HEAP, any java profiler - for strange numbers).

try localize bug with 1-2 "clean" source files for profiling and reproduce

p.s Stack trace - can't help)
its show last Thread position - not bug (memory leak) call

pp.s sorry i fast read topic, can miss something, without source code it's like guessing what i see now behind window
10  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-01-01 20:25:09
Solar power is freaking dangerous.
Its not Solar ^^
Its slippery roof...

Please be careful, we need you
An remember – SAFETY is important, safety must be before everything else,
Safety – safety- safety – safety and safety
11  Discussions / Miscellaneous Topics / Re: Happy 2016 on: 2016-01-01 20:05:20
Happy New Year to Everyone XD

- Work More
- Work Harder ^^

- Make board (card or puzzle) game =)
12  Game Development / Newbie & Debugging Questions / Re: libGDX Android Studio - Snake Game, how to add parts to the snakes body? on: 2015-12-29 22:55:27
and maybe learn some basic of programming ^^ it useful in many cases
13  Game Development / Newbie & Debugging Questions / Re: libGDX Android Studio - Snake Game, how to add parts to the snakes body? on: 2015-12-29 22:34:29
up: Try unComments this )
(remove // and /* , */)
  //snakeBody = new Texture

  private void checkAppleCollision() {
         /* Create new body part to the snake
         BodyPart bodyPart = new BodyPart(snakeBody);
         bodyPart.updateBodyPosition(snakeX, snakeY);
         bodyParts.insert(0, bodyPart);*/

   public void render() {

   private void draw() {
      /*for (BodyPart bodyPart : bodyParts) {
         batch.draw(snakeBody, snakeX, snakeY);

  //snakeXBeforeUpdate = snakeX;
  //snakeYBeforeUpdate = snakeY;

14  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-12-29 12:37:14
I suddenly saw this
Easy example – watch Steam – hi have 10+ new games every week
Do we really need so many games?

It's quite interesting - how people in different part of the world, can see and talk about the same things)
This gives hope in many senses of the word.

p.s And I watched my old Source code (open source) - it looks horrible XD
In memory, he was much better,
I feel very sorry for it, but he was the best that I could write in past

pp.s my solution add moderatable tags to games ^^
(FPS with Craft, FPS with Open world etc..)
15  Discussions / Miscellaneous Topics / Re: How to disable the DOTA game on my LAN? on: 2015-12-10 07:20:12
I don't want necro posting but:
ITs blow MY MIND

Dota 2 - 17,000 h
16  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-12-09 18:06:02
We keep inventing labor-saving devices, but nobody ever seems to work fewer hours...
It changed)
simple Watch some chronicles from 1900+ where hundred ppl’s work on field
now its 2-5 farmers with automation
same with factories, its very easy to dismiss 1 thousand workers and replace them automated line
(if you have money for that, in many cases 1-2$/hr more profitable – for now)

we didn't need as many programmers any more did we?
We need, before it become something massive

Easy example – watch Steam – hi have 10+ new games every week
And that only couple thousands of game developers,
and imagine if it will be couple of millions developers
Do we really need so many games? (+- 1000 / week)
Did they will cost at least something. when we have so many of them??

p.s its not problem of our time its become a problem in 20-50 or even 100 years,
if we not destroy our planet before that time ^^
pp.s and we can't fix that XD
17  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-12-09 11:21:21
This might explain why the Chinese who are allowed to work in the factories see themselves as the winners
I don’t know what to say.
From one hand we have workers with salary 2$ per/h
From second we have 1 billion population that need some work.
And with all this automation and robots, problem with unemployment become even worst in near future.

I don't see any clues to find solution…
(only solution i see is give free food, home etc,
because full automation makes hand work useless but the world is unlikely to go so).
So I don’t know..
18  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-12-09 08:49:06
Interesting video. Did you use to work at Foxconn?
Nope, I live in Eastern Europe ^^
About Video - I wonder.. where old people go to work, because the max age of the employees there 27-30 years old.
p,s I do not think that people who work at Foxconn feels same happiness as me,
It seems funny to me, because it was a long time ago (not so long as it sounds 9 years Smiley ).

PP.S I found this video when viewed video about "CPU creation pipeline" also interesting theme Wink
19  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-12-08 06:00:19
Yesterday I watch this

No comments – simple share funny moments of my life ^^

And today I remembered – what was my first job ^^
I Worked on typography in the position “assistant of typographer”
I receive 100$ per month for 8 hr per day, 5 per week
(some times we work 12 per day.
do I receive more - nope, its not work in such way XD – if company has more work we must work more ^^)

I feels funny – because “Hey, I worked like china peoples on factory Wink“ (or it looks so for me in some way at least)
And today I can say about that – “it's nothing extraordinary – because some people receive even less in some countries ”

Do I go working again like that?
I can say, yes – it was funny, they pays money
(if you do not buy anything useless, then after a couple of months, you can buy PC or Phone )

And with comparison working like "software developer" – work at the factory was easier
(at least as I remember, maybe because I was younger, I don’t know)
(*when i worked on factory it was not static job like robot that do one thing all working day,
this type of job is much harder – I also try this ^^)

p.s It was funny, because I did not have to pay rent,
if i do it be not so funny - because minimal rent was 100-200$ (less only leave in garage) =)
20  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-12-07 21:20:16
It changes your understanding of usual things in programming
Like Java programmer that first time see unsigned value or multiply extend object,
or 2+ return values from function, or out of bounds function GO TO =)

21  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-12-05 20:40:33
Would instanced rendering give the same results, instead of packing the different cubes into a single VAO?
nope Sad

As i know:
Best performance you can get from packing all Blocks from chunk to one VBO
(and use it with one texture atlas (sprite sheet))
Faster alternative: only shader render: raycast or calculate VBO with textures on GPU side.

And we don't talking about LOD Wink
22  Discussions / General Discussions / Re: Interesting proposals: Java 9 and beyond on: 2015-12-05 00:25:47
Very exciting )

IMHO: but examples code quality makes me cry Sad
pss.. it's not only in examples such code

With such code quality Java Doomed
23  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-12-04 04:41:18
Trying living by schedule – some time like half month from now
its strange schedule – it don’t have static tasks like eat at 2 pm
but have 8 hrs of useful work at day (because I don’t have job ^^)
(its programming, art, music creation,  watch educational videos
etc any not full time wasting tasks)
(8 hrs no matter what or it go to minus in next days)
– yes it can be cheating by half hr on something bla-bla and write 1 hr
– but nothing bigger – because it's stupid to lie self =)

on today i have "- 29 hrs" (only 2 hr of programming yesterday ^^ add 6 to minus Wink)
need remove that minus by extra work XD

p.s And this is Hard - working on some Job and spend 8 hrs much easier, then spend same 8 hrs for own tasks  ^^
24  Discussions / Miscellaneous Topics / Re: How to disable the DOTA game on my LAN? on: 2015-11-30 16:58:10
I remember hearing about some parents complaining that their children spent too much time in playing video games because it was so easier that admitting that they weren't good parents
Fully agree

At least 25% of the population in my country consume some antidepressants, it allows the capitalist industry to earn a lot of money from the sadness of the people
it no so evil as it looks ^^
They don’t sell Placebo – antidepressants is really helps in some way to become happier,
Same as many drugs, Video games, food, love, etc.

But Yes – antidepressants and other drugs create physical addiction
+ because they physical consuming they harm health much more something mental like TV show addiction

Agene But – in many cases in 99% ppl’s its there own decision what addiction to chose
And how sad but:
you can’t save them Sad
- because they don’t want to be saved,
they like there life’s – watch TV show(play games) after work until go sleep and agene go to work,
in Friday and weekend go drink with friend all night)
They happy with such life ^^
Many ppl don’t see problems in such life but – technically they stay at on one place
and that is main indicator of addiction – you are in the same place at were you be: week - month ago.
(hm maybe addiction is wrong word - better say life waisting trap)
25  Discussions / Miscellaneous Topics / Re: How to disable the DOTA game on my LAN? on: 2015-11-30 07:40:48
Dota 2 Reborn was the name of the new client and update to Dota 2.
Technically yes)
conceptual : valve not call Source engine "CS GO Reborn"

He said he plays in Dota 2 Reborn.
So.. Well, i Tried.

However, playing games often seems more fun because it's like plants and animals: plants produce, animals consume. In this scenario, gamers are the consumers and game devvies are the producers.
I like this comparison Wink
Game developers(animals) create something for players (plants)
let it be mystery - what XD
(CO2 or ...)

"Wouldn't it be great to make our own games?" or "That looks amazing! You should try making games sometimes."
evil joke
Yes - show him minecraft and say "hi also can make game and earn billions" - in many cases its works =)
26  Discussions / Miscellaneous Topics / Re: How to disable the DOTA game on my LAN? on: 2015-11-29 20:18:28
AFAIK he plays in newest DOTA 2.
DOTA 2 and Dota 2 Reborn = are different game platforms ^^

DOTA 2 - is MOBA like Dota, LoL etc - its One map
DOTA 2 Reborn - is UMS Maps Hub - with custom players Maps (like source engine only for RTS games/maps)

Try switch him on UMS maps ^^

p.s Valve do big mistake calling maps Hub "Dota 2 Reborn" – it's confuse
if shi only call it "Source RTS Hub"..
27  Discussions / Miscellaneous Topics / Re: How to disable the DOTA game on my LAN? on: 2015-11-29 17:05:45
Is he play dota original?
I recommend give him link to Dota 2 reborn – its something like war 3 custom maps
There are many fun maps

+ its better to play in “DOTA 2 REBORN Overthrow”
Its better original dota – lees unmanner in chat (in brain) + more fast
(15 min fast match – its really hard to play all day long in this ^^)

Ask his opinion about custom maps in Dota, maybe play with him in TD, puzzle games in Dota reborn etc..

Maybe problem in "hi think become pro gamer" - BAD BAD BAD BAD.. IDEA
tournaments have crap reword system - only 5-10 first places from thousands have money reword
all else 995+ ppl receive noting

Parents pay full price for studying as well as for the re-exams.
So happy - happy man ^^

pp.s if he really have a dream to make money from playing games
- i recommend try game streaming
it have more chances to earn money then receive them playing dota
28  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-11-29 14:46:57
By the way, does anyway know a good and simple occlusion culling algorithm and how to implement it?
Some long - long time ago i use frustum culling,
I get frustum scene every frame and check objects before render them.
(and call "get frustum" was a bad idea - need simple calculate it on CPU from Cam position
- its no so hard as i think it be, I use it because I don’t have reflections and shadows ^^)

+need use some sort Octree – scene grid (or portals)
+need Have dif types of models for far distant.

p.s but no one care about FPS if that not AAA: 30-60 is fine
and simples way to increase it: simple make less polygon model + less gpu calls.

I coded an ocean today based on this:]
Looks very Nice

Imho: it have some problems with light reflection
- it looks like alien goo (with sun light on it) like this:

when it must be someting like this
29  Discussions / Miscellaneous Topics / Re: How to disable the DOTA game on my LAN? on: 2015-11-26 11:14:37
I don't know is it good advice but:
find more fast game then Dota
From fast game you tired faster, + they more rewarding for brain
-so after some time it will be hard return to Dota where matches can be 1 hr long

Does this help with game addiction – not really but it will help decrease time spending on it

p.s I can’t say that problem in Dota – you can find many same stories about
Wow, L2, LoL, Diablo 3, CS, even minecraft..
Flappy bird?

Irs not only adrenaline addiction,
its also communication addiction – like Stay all day in some Chat, Forum, social network
(and social network also have “find something new” addiction)
Man this world full of addictions Sad
30  Games Center / Showcase / Re: Block Shooter on: 2015-11-26 10:34:35
IMHO making games should be fun.  Wink
It is - but without ppl feedback(fan's) after some time it become not such fun at all)
(some times its 1-3 month some time 6) - but its moment that will come

so it's also important to find at least 10 ppl

And JGO - wrong place for this - we have low ppl population + many make own projects and simple don't have time ^^
maybe tigsource and other forums can help

p.s its very hard make games for customers-programmers they see every bug and any mistake you do =)
pp.s And when your bored from one project - you always can start new one - so simple Wink
Pages: [1] 2 3 ... 10
KaiHH (164 views)
2016-01-31 23:15:29

sci4me (157 views)
2016-01-23 21:47:05

sci4me (141 views)
2016-01-23 21:46:58

KaiHH (175 views)
2016-01-19 13:26:42

theagentd (261 views)
2016-01-05 17:10:00

ClaasJG (277 views)
2016-01-03 16:58:36

chrisdalke (266 views)
2015-12-28 06:31:21

Guerra2442 (278 views)
2015-12-25 03:42:55

Guerra2442 (280 views)
2015-12-25 03:27:21

theagentd (301 views)
2015-12-21 14:43:24
List of Learning Resources
by SilverTiger
2016-02-05 09:39:47

List of Learning Resources
by SilverTiger
2016-02-05 09:38:38

List of Learning Resources
by SilverTiger
2016-02-05 09:35:50

Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30

Rendering resources
by Roquen
2015-10-15 07:40:48 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!