资 源 简 介
Overview
The goal is to provide a consistent framework for creating games that are cross platform yet are familiar to programmers that use the XNA framework.
Initially the focus will be Java on Windows, but remain conducive to other Languages and platforms.
Source is now available built using eclipse, swig, gcc
Introduction
Support for Common Controller via GamePad class. Including rumble support.
The source is now available built entirely with GCC and Java.
Low level API
XINPUT_STATE state = new XINPUT_STATE();if ((state.getGamepad().getWButtons() & XInput.XINPUT_GAMEPAD_A )==0)...
XNA Like API
GamePadState gamePad = GamePad.getState(PlayerIndex.One);if (gamePad.isConnected())....if (gamePad.getButtons().getA() != ButtonState.Pressed)