projets2's People
projets2's Issues
Launcher
A Launcher to be able to choose the display resolution and other graphical options could be useful.
It would be coded with Swing.
Entity Scales
The scale of most entities (bow, arrow, sword) stretches the texture.
Error on Launch with MacOS
Log:
Launching Game with:
resolution = 1280 x 800 x 32 @0Hz
fullscreen = true
vsync = true
fps = 60
Wed Nov 27 10:20:04 CET 2019 INFO:Use Java PNG Loader = true
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
at fr.iutvalence.info.dut.m2107.inventory.ItemDatabase.create(ItemDatabase.java:30)
at fr.iutvalence.info.dut.m2107.core.GameManager.init(GameManager.java:105)
at fr.iutvalence.info.dut.m2107.enginetest.MainGameTester.main(MainGameTester.java:36)
at fr.iutvalence.info.dut.m2107.launcher.Launcher.launchGame(Launcher.java:23)
at fr.iutvalence.info.dut.m2107.launcher.LLaunchBtn.mouseClicked(LLaunchBtn.java:23)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)
at java.awt.Component.processMouseEvent(Component.java:6528)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
at java.awt.Component.processEvent(Component.java:6290)
at java.awt.Container.processEvent(Container.java:2234)
at java.awt.Component.dispatchEventImpl(Component.java:4881)
at java.awt.Container.dispatchEventImpl(Container.java:2292)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4542)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
at java.awt.Container.dispatchEventImpl(Container.java:2278)
at java.awt.Window.dispatchEventImpl(Window.java:2739)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:746)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.awt.EventQueue$3.run(EventQueue.java:691)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:719)
at java.awt.EventQueue$4.run(EventQueue.java:717)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:716)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.IllegalStateException: Function is not supported
at org.lwjgl.BufferChecks.checkFunctionAddress(BufferChecks.java:58)
at org.lwjgl.opengl.GL30.glGenVertexArrays(GL30.java:1550)
at fr.iutvalence.info.dut.m2107.render.Loader.createVAO(Loader.java:155)
at fr.iutvalence.info.dut.m2107.render.Loader.loadtoVao(Loader.java:69)
at fr.iutvalence.info.dut.m2107.models.AbstractSprite.<init>(AbstractSprite.java:37)
at fr.iutvalence.info.dut.m2107.models.EntitySprite.<init>(EntitySprite.java:10)
at fr.iutvalence.info.dut.m2107.models.EntitySprite.<init>(EntitySprite.java:14)
at fr.iutvalence.info.dut.m2107.entities.Entity.<clinit>(Entity.java:19)
... 37 more
AL lib: (EE) alc_cleanup: 1 device not closed
More Events
There is currently only a few events for tiles and none for entities.
Edit/Play mode separation
Currently you can build blocks while moving the player. We need to allow to build only on freecam mode and use mouse inputs to use items in play mode.
Data Optimisation
The ChunkMap data structure is currently a simple Map. It would reduce most search times if it was ordered (TreeMap, Heap, ...).
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.