Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (581)
Games in Android Showcase (162)
games submitted by our members
Games in WIP (632)
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 ... 100
1  Game Development / Newbie & Debugging Questions / Re: HashMap issues... on: 2015-05-26 08:12:36
The strictfp does nothing here.
2  Game Development / Shared Code / Re: A convenient method that tells you if a rectangle is intersecting a line on: 2015-05-22 14:12:18
Thanks.  Google ray-slope.
3  Game Development / Shared Code / Re: A convenient method that tells you if a rectangle is intersecting a line on: 2015-05-22 07:34:32
Assuming you're going to test more than one...you don't do it this way.
4  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-05-21 11:28:39
Ah..if you've include the voxel library...that should make some people very very happy.
5  Games Center / WIP games, tools & toy projects / Re: Synthclipse - GLSL demo development environment based on Eclipse IDE. on: 2015-05-21 08:24:53
Thanks for your work on this tool.  One of these years I'll put up some shaders.
6  Discussions / Miscellaneous Topics / Re: Rust 1.0 has been released on: 2015-05-19 11:14:51
iCMS.  What are you using?  Is G1 making any progress?  (Haha...thread hijack!)
7  Discussions / Miscellaneous Topics / Re: Rust 1.0 has been released on: 2015-05-19 10:54:25
http://openjdk.java.net/jeps/173
8  Discussions / Miscellaneous Topics / Re: Trouble with 3D hitscan on: 2015-05-19 10:36:44
Don't attempt this.  It's broken beyond repair.  You're attempting to test an intersection with a ray via points on the ray...that doesn't work (or is prohibitively expensive).  Consider the ray passing through a corner of a box.  No choice of distance to move along the ray is insure to return an (approximately) correct result.
9  Game Development / Game Play & Game Design / Re: Perlin Noise? on: 2015-05-19 07:56:33
...and there's a search box in your upper right hand frame of this forum.  Your question has probably been answered.
10  Discussions / Miscellaneous Topics / Re: Rust 1.0 has been released on: 2015-05-18 17:28:15
Oh and while I'm on a tangent:  hard and soft realtime is like java and javascript.  The names are about the only thing common to them.
11  Discussions / Miscellaneous Topics / Re: Rust 1.0 has been released on: 2015-05-18 16:47:19
Android is an awful pro-GC statement.  The best GC in HotSpot for the problem space is being removed.  Azul's is for a different design domain.
12  Discussions / Miscellaneous Topics / Re: Can Word Lists be Copyrighted on: 2015-05-15 07:28:12
Copyrights, Trademarks and patents are distinctly different things.
13  Discussions / Miscellaneous Topics / Re: Most unusual/weird syntax features in non-joke languages on: 2015-05-11 13:24:17
http://www.java-gaming.org/topics/anonymous-local-inner-class-gotchas/32409/view.html
14  Game Development / Artificial Intelligence / Re: Architecture for behaviour trees with scheduled tasks [SOLVED] on: 2015-05-11 12:52:01
I couldn't find the description of 'reset' in the provided link...am I missing it or is it the wrong one?

The running of a sequence node's tick does not have to depend on any results of the previous tick.  BT's can be structured in many different ways.  As a class based example one could do something logically like this (I'm ignore putting state data on the blackboard...and I'm just typing this so beware):

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
public abstract class BTNode
{
  int state;
 
  abstract void reset();
  abstract void terminate(int state);
  abstract int  update();

  public int tick()
  {
    if (state != RUNNING) reset();
    state = update();
    if (state != RUNNING) terminate(state);
    return state;
  }
}


This way each 'tick' automatically handles the implementation choice such as you've mentioned...assuming I'm following you.
15  Game Development / Artificial Intelligence / Re: Architecture for behaviour trees with scheduled tasks [SOLVED] on: 2015-05-11 08:49:49
Actually I should have said selector node above...you can use a sequencer but selector is logically better.

Maybe you should play with an existing library to get a feel for it before writing your own.  I've seen some reasonable BT tutorials but I'm not finding them from a quick glance at a web-search.  Maybe peek at this one: http://www.gamasutra.com/blogs/ChrisSimpson/20140717/221339/Behavior_trees_for_AI_How_they_work.php which mentions using a java library that I've never looked at.

I'm being dumb this morning so I don't understand what you mean by "reset" when the root gets a result.  The root gets a result every tick so in the normal meaning of reset, then the answer is no.
16  Discussions / Miscellaneous Topics / Re: Most unusual/weird syntax features in non-joke languages on: 2015-05-11 08:35:00
I've always loved this FORTH:

1  
2  
: ( 41 word drop ; immediate
( The previous defines comments )
17  Game Development / Artificial Intelligence / Re: Architecture for behaviour trees with scheduled tasks and/or event system on: 2015-05-02 18:09:38
I don't know the games you've mentioned, but all you need is a sequencer node.  Game wants to add a task to a specific entity...write it to it's blackboard.  The sub-root of "perform task" is a sequencer, first is handles any explicit tasks running or needing to run (returns RUNNING if so or SUCCEED if none or complete).  The second handles any default tasks.
18  Game Development / Artificial Intelligence / Re: Architecture for behaviour trees with scheduled tasks and/or event system on: 2015-05-02 09:30:11
I haven't looked at your link so I'm not quite following your question.  BT's aren't one thing, but a class of things. Also not know what you want to do with your AI makes the questions hard.  But it looks like you're missing an important point.  BT's are always (logically) run from the root down.  This is important, so "remove the BT instance from the actor upon SUCCESS/FAILURE/ERROR" doesn't make any sense unless I'm misunderstanding this point.
19  Discussions / Miscellaneous Topics / Re: What do you define as a programming language? on: 2015-05-01 21:44:43
The game of life is Turing complete.  Yeah!  But does this thread pass the Turing test? 
20  Game Development / Game Mechanics / Re: Using delta time messes up movement on: 2015-05-01 14:54:10
Fixed time steps for the win.
21  Game Development / Newbie & Debugging Questions / Re: 1D Perlin Noise on: 2015-05-01 14:48:44
It's straight forward.  Look at the local wiki page.
22  Discussions / General Discussions / Re: Where can I find fast spatial querying? on: 2015-04-16 08:55:53
+1 for a uniform grid
23  Discussions / General Discussions / Re: Does Internet cost matter to you? on: 2015-04-09 14:00:17
Of course.   And by beat-the-crap we're not talking 70-80% better for lossless codecs.
24  Discussions / General Discussions / Re: Does Internet cost matter to you? on: 2015-04-09 11:09:04
Actually you can beat the crap out of most off-the-shelf compression schemes.  Especially if you don't care about compression time.
25  Discussions / General Discussions / Re: Does Internet cost matter to you? on: 2015-04-09 07:43:41
I don't pay any extra for data usage and I only use a round-off error amount of my bandwidth (fiber optic).  I imagine that most people in so-called "developed" nations that care are in the same boat.
26  Games Center / Featured Games / Re: [Slick2d] Retro-Pixel Castles > Now on Steam! < on: 2015-04-08 07:23:04
A small grid might be 256x256=65536 cells.  A navigation mesh of the same data might be some like a dozen...or maybe even dozens!
27  Game Development / Newbie & Debugging Questions / Re: [Solved] Randomly Generated Objects that do not Overlap? on: 2015-04-07 03:36:15
http://www.java-gaming.org/topics/uniform-feature-points/28000/view.html
28  Game Development / Shared Code / Re: Possible spline substitute: Sigmoid function on: 2015-04-07 03:25:04
There isn't one S-curve.  There a many.  And one is Hermite.
29  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-04-03 04:05:37
I brought you this pretty picture:
Click to Play


http://www.thisiscolossal.com/2015/04/dancing-droplets/
30  Discussions / General Discussions / Re: Concurrency Library on: 2015-04-01 08:04:59
Oh, I'm excluding consoles from my thinking here...that seems reasonable.
Pages: [1] 2 3 ... 100
 
MrMapcom (19 views)
2015-05-23 20:26:16

MrMapcom (25 views)
2015-05-23 20:23:34

Waterwolf (31 views)
2015-05-20 15:01:45

chrislo27 (39 views)
2015-05-20 03:42:21

BurntPizza (72 views)
2015-05-10 15:53:18

FrozenShade (57 views)
2015-05-07 09:11:21

TheLopais (222 views)
2015-05-06 13:36:48

TheLopais (203 views)
2015-05-06 13:35:14

TheLopais (208 views)
2015-05-06 13:33:39

TheLopais (228 views)
2015-05-06 13:32:48
List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56: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
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!