Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (475)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (530)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2 3 ... 10
 1 
 on: 2014-07-23 18:34:59 
Started by Thotep - Last post by BurntPizza
I've had lightening strike nearby outside, I was listening to music on my earphones at the time, and the one in my left ear was shot out of my ear with a (to me) loud bang and blueish-white flash of light in my peripheral vision. Scared the shit out me. Amazingly it wasn't broken either.

 2 
 on: 2014-07-23 18:26:33 
Started by Nomac - Last post by Nomac
I just switched to a newer version of Jinput and I'm still not getting any results. I currently tried with a USB keyboard, but I used various controllers before (X360, PS3 Afterflow, Mad Catz stick). Like I said, everything was working perfectly fine until I decided to use DirectAndRawInputEnvironmentPlugin() which is supposed to be checking the controllers plugged in at all time. It does seem to detect the controllers and keyboards, but I'm not getting any response from any button pressed afterward.

 3 
 on: 2014-07-23 18:04:46 
Started by BurntPizza - Last post by danieldean
I've made a semi-transparent alien image for you.

 

Animated frames and there in...  Shocked

 4 
 on: 2014-07-23 17:42:24 
Started by BurntPizza - Last post by basil_
ja, do you use any space partitioning ? .. nothing, a grid or a tree ? just curious  Wink

Scroll back a few posts and you'll get the general gist of it...
aaah, chicken-partitioning!  Grin

no, i know what you mean. i see a rectangle-tree now. thanks Smiley

 5 
 on: 2014-07-23 17:33:48 
Started by BurntPizza - Last post by princec
ja, do you use any space partitioning ? .. nothing, a grid or a tree ? just curious  Wink

Scroll back a few posts and you'll get the general gist of it... basically I traverse the tree from the root to the leaves, applying constraints to the widths and heights of each component, first from its parent (a component can never be bigger than its parent), then its own constraints. Then recurse down to the children. When all the children are done (or if there are none) we ask the component how big its contents are going to be based on the constraints we've been given, and that becomes our minimum size. The contents is the larger of any text area, or child component, or the size of any calculated layout.

Maximum size overrides minimum size. If we discover that our maximum size now equals our mimimum size, we're done at this level and we know exactly how big we are going to be, and that means we  can tell all our child components that they can now position themselves within our bounds, recursively. Where any child component does not yet have matching minimum or maximum size we decide to use the minimum size.

That's the layout part.

The interpolation part isn't all that complicated or clever and literally just interpolates things like colours and constraints.

The event handling stuff is... more fiddly Smiley Basically it's a tick-based state transition manager which receives events from the input system every tick (it's possible to get several mouse events per video frame, which is how often the LWJGL input system is polled). Every component gets every event every tick. Then they all sort of figure out what's happened in isolation from each other, leading to events being fired.

It will doubtless end up open-sourced at some point in Battledroid, the plan for which is most likely to give the source away in some charitable event one day.

Cas Smiley

 6 
 on: 2014-07-23 17:30:39 
Started by BurntPizza - Last post by SHC
I've made a semi-transparent alien image for you.

 

 7 
 on: 2014-07-23 17:27:50 
Started by Victor7 - Last post by Victor7
Thanks for the support. This are very basic tutorials, but I think they can be useful for beginners or as basic reference.
This night/tomorrow, I'm going to upload the second math part -matrices!  Grin


 8 
 on: 2014-07-23 17:18:24 
Started by BurntPizza - Last post by danieldean
I've been partially following one @kevglass tutorials to try and work out why I seem to end up with unmanageable problems and attempting to do pixel art:



Not the aliens though, they're originals I intend to replace. The cannon and shot are mine. I want to make it kind of like Raiders of the Lost Arcade, with a background and all.

 9 
 on: 2014-07-23 17:18:21 
Started by theagentd - Last post by Cero
GeForce 337.88 "Your GeForce driver is up to date"

its a GeForce GTS 250. Not the newest card... but still plays all games out there, so I never upgraded yet

 10 
 on: 2014-07-23 17:03:52 
Started by BurntPizza - Last post by basil_
ja, do you use any space partitioning ? .. nothing, a grid or a tree ? just curious  Wink

Pages: [1] 2 3 ... 10
 

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

The first screenshot will be displayed as a thumbnail.

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

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

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

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

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

Riven (48 views)
2014-07-14 18:02:53

OpenGLShaders (38 views)
2014-07-14 16:23:47

Riven (37 views)
2014-07-14 11:51:35

quew8 (33 views)
2014-07-13 13:57:52

SHC (70 views)
2014-07-12 17:50:04
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!