azurite-engine / azurite Goto Github PK
View Code? Open in Web Editor NEWAzurite Game Engine is a 2D Java game engine built on top of LWJGL.
Home Page: https://azurite-engine.github.io
License: MIT License
Azurite Game Engine is a 2D Java game engine built on top of LWJGL.
Home Page: https://azurite-engine.github.io
License: MIT License
if i am accelerated to a speed in direction left, and i press the right key (a), i am not moving in the right direction i am slowing down and sometimes it is not even slowing down, and sometimes i am accelerated for no reason if i release the right key
If, in game you press "W" key, making you go up, you are accelerated to insane speed, and once you reach the top, by spam clicking the "W" key, you can just slip outside the room like structure , allowing you to go out of the world
When the engine crashes, the logger only shows first stack frame of the crash, not any stack frames related to it. The logger also seems to throw an error of its own while printing out the stack frame.
Set logging level to Log.ALL
: Log.setLogLevel(Log.ALL);
Put any error-generating function into the update method of the scene. I used this one:
int[] foo = new int[]{1};
int foo2 = foo[1];
An error message that shows the full stack frame, or some metric/setting that would enable that behavior
As described above, it only shows the first stack frame, and then some crash message related to the logger failing.
[CRASH] {scenes.AudioDemo.main(AudioDemo.java:24) -> scenes.AudioDemo.update(AudioDemo.java:44)} Index 1 out of bounds for length 1
Exception in thread "main" java.lang.NullPointerException
at util.Log.crash(Log.java:279)
at util.Engine.showWindow(Engine.java:79)
at scenes.AudioDemo.main(AudioDemo.java:24)
Warning when running some scenes on mac OS.
2022-02-18 22:22:23.705 java[64638:5363288] [JRSAppKitAWT markAppIsDaemon]: Process manager already initialized: can't fully enable headless mode.
UNSUPPORTED (log once): POSSIBLE ISSUE: unit 1 GLD_TEXTURE_INDEX_2D is unloadable and bound to sampler type (Float) - using zero texture because texture unloadable
Reason for this is unknown right now, this issue is mostly a reminder for myself to debug it.
Possibly a result of System.setProperty("java.awt.headless", "true");
on L. 139 in graphics.Window
Throws an ArrayIndexOutOfBoundsException when any key that GLFW does not support is pressed.
i.e. when keycode -1
is sent, it's still being used to index into the keystateBitfields
array.
fn
key, so that it does the action, such as increasing/decreasing volume/brightness.For the key to be ignored.
An ArrayIndexOutOfBoundsException is thrown
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 400
at input.Keyboard.resetKeyDownBit(Keyboard.java:64)
at input.Keyboard.lambda$setupCallbacks$0(Keyboard.java:41)
at org.lwjgl.glfw.GLFWKeyCallbackI.callback(GLFWKeyCallbackI.java:44)
at org.lwjgl.system.JNI.invokeV(Native Method)
at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3397)
at graphics.Window.showWindow(Window.java:205)
at util.Engine.showWindow(Engine.java:55)
at scenes.AudioDemo.main(AudioDemo.java:21)
This bug is related to the bug with collision system, the same here, when i am accelerated to insane speeds, Example: There is a block tile above me and i spam the w key, the tile start to jitter and small white lines appear between the tiles, and it happen for all the tiles, even though i am not even touching them
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.