Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
286 commits
Select commit Hold shift + click to select a range
e440d1d
Add mouse button callback and widget "onclick" function~
LovelyZeeiam Aug 9, 2020
530aeec
Update gradle.yml
LovelyZeeiam Aug 9, 2020
0a43230
Update gradle.yml
LovelyZeeiam Aug 9, 2020
a2247e4
Get ready for world renderer
LovelyZeeiam Aug 10, 2020
9182a3f
Merge remote-tracking branch 'origin/master'
LovelyZeeiam Aug 10, 2020
cbe0d8c
emmm
LovelyZeeiam Aug 10, 2020
45e41d4
Menifest syntax fix
LovelyZeeiam Aug 10, 2020
99c20de
Fix bugs, change font and various background~
LovelyZeeiam Aug 11, 2020
9ad21a7
Texture Atlas~
LovelyZeeiam Aug 12, 2020
483e0e5
Happier update~ Oh just complete basic render engine
LovelyZeeiam Aug 13, 2020
b031b89
First person camera added
LovelyZeeiam Aug 14, 2020
e5e2d59
basic world function~
LovelyZeeiam Aug 20, 2020
d90f23c
Fix bug that game appears in a mess when starting
LovelyZeeiam Oct 2, 2020
dc02152
Real fix the last mentioned bug
LovelyZeeiam Oct 2, 2020
0750a7b
Add tool: Gui Monitor (You can find the tutorial later)
LovelyZeeiam Oct 3, 2020
07d522a
Update issue templates
LovelyZeeiam Oct 3, 2020
dfb57e0
change gui json syntax so that more convenient to set animation `>
LovelyZeeiam Oct 4, 2020
8c57537
Merge branch 'master' of https://github.com/LovelyZeeiam/CraftGame.git
LovelyZeeiam Oct 4, 2020
e5653b0
Add game esc menu
LovelyZeeiam Oct 25, 2020
43a1095
forget to add this lib in ideaj :)
LovelyZeeiam Oct 25, 2020
8bc6417
Add new Gui widget: Scroll Bar~
LovelyZeeiam Nov 1, 2020
24eb0d9
test in ossar to check if it works
LovelyZeeiam Nov 1, 2020
7cb5337
fixed unintelligible codes and add random text in main menu
LovelyZeeiam Nov 1, 2020
ac1e6a0
Fix ScriptEngine doesn't work in openjdk 15
LovelyZeeiam Nov 8, 2020
f9dd781
Add some comment and backup for the coming physical
LovelyZeeiam Dec 5, 2020
7f81d0d
change EvalableFloat class so as to make it easier to use
LovelyZeeiam Jan 10, 2021
b966c38
commit AABB.java
LovelyZeeiam Jan 10, 2021
4390d22
Inventory~
LovelyZeeiam Jan 10, 2021
e2b2488
Add test in console so as to develop in android
Jan 15, 2021
6c402df
Terrain Update! Add Biomes
LovelyZeeiam Jan 17, 2021
207fd20
Different biome has different leave color (but now still can't be seen)
LovelyZeeiam Jan 17, 2021
1ae7991
Add little map ingame and has some todo for next week
LovelyZeeiam Jan 17, 2021
b9292de
Add supoort for nor-native access for color
Jan 18, 2021
a7aec35
preparation for blocks save and map
Jan 19, 2021
8bf5b4c
Readme.md change
Jan 20, 2021
50edb65
World save and load
LovelyZeeiam Jan 23, 2021
6ba4a9d
backup before developing multiplayer
LovelyZeeiam Jan 23, 2021
1a4d1ca
Add Slab Block
LovelyZeeiam Jan 24, 2021
c8c2b16
Unknown block get encrypted~
LovelyZeeiam Jan 25, 2021
b5ee424
First type direction of stairs~
LovelyZeeiam Jan 25, 2021
0597b18
Change README.MD
Jan 26, 2021
d7e898a
Stair basic model complete
LovelyZeeiam Jan 31, 2021
c203f38
Stair model complete~
Feb 6, 2021
49ed848
first try for shadow mapping
LovelyZeeiam Feb 6, 2021
3fec716
try entity collide - Failed
LovelyZeeiam Feb 7, 2021
33314c1
finish music player
LovelyZeeiam Feb 8, 2021
0b9422d
easy collide
LovelyZeeiam Feb 9, 2021
f4a5cd2
Many bugs (TODOs) and make do with the physical engine
LovelyZeeiam Feb 10, 2021
fdc2ab6
sun and moon
LovelyZeeiam Feb 10, 2021
d35aeac
Fence model complete
LovelyZeeiam Feb 10, 2021
59f4825
arrangement and try single face draw - Failed
LovelyZeeiam Feb 10, 2021
3dff25f
easy cloud
LovelyZeeiam Feb 10, 2021
2240118
First test particle~
LovelyZeeiam Feb 11, 2021
814abd0
forget test particle picture
LovelyZeeiam Feb 11, 2021
662e8d1
crazy code and finally we got inventory
LovelyZeeiam Feb 11, 2021
2239670
Test Item added!
LovelyZeeiam Feb 11, 2021
7dab567
i dont know why it's here
LovelyZeeiam Feb 11, 2021
47b100d
Timer queue added
LovelyZeeiam Feb 11, 2021
19d5697
audio resource~
LovelyZeeiam Feb 11, 2021
67161c2
firework particle~
LovelyZeeiam Feb 11, 2021
57d48a4
Improve level read and write speed
LovelyZeeiam Feb 12, 2021
2203443
command parser~
LovelyZeeiam Feb 12, 2021
3d936a8
i dont know why it is here
LovelyZeeiam Feb 12, 2021
653c2ef
third person camera~
LovelyZeeiam Feb 12, 2021
ed910b0
Arrange code
LovelyZeeiam Feb 14, 2021
b57b17e
fix render bugs and delete Faces
LovelyZeeiam Feb 14, 2021
d17a283
play around with web_socket
LovelyZeeiam Feb 15, 2021
d4bf934
get everything prepared for multi-player
LovelyZeeiam Feb 16, 2021
02b2ebe
delete all to restart world
LovelyZeeiam Feb 16, 2021
a5c299d
rewrite main menu view and add player stat in working directory
LovelyZeeiam Feb 16, 2021
ecbf2ad
Client send nickname and get client id
LovelyZeeiam Feb 17, 2021
c255b31
Multi-gameplay: prepare spawnpoint chunk
Feb 18, 2021
62f6729
Multi-gameplay: world render ok
Feb 19, 2021
8ca2a4b
Multi-gameplay: player move
LovelyZeeiam Feb 21, 2021
d68e3b0
modify handshake message a little bit
LovelyZeeiam Feb 21, 2021
53a360c
Multi-gameplay: place and destroy block
LovelyZeeiam Feb 21, 2021
0c26d8c
Multi-gameplay: bone animation
LovelyZeeiam Feb 22, 2021
df9b3c6
i have to rewrite all to create a more APIer game
LovelyZeeiam Feb 23, 2021
b8c41b0
commit README.md
LovelyZeeiam Feb 23, 2021
ee0d35f
Logger and Display
LovelyZeeiam Feb 27, 2021
b8843d9
mod and render
LovelyZeeiam Feb 28, 2021
73cf7c5
main menu
LovelyZeeiam Feb 28, 2021
2c176ad
Multi-player-new: udp, send picture
LovelyZeeiam Apr 3, 2021
8234a6b
gui widget: button group
LovelyZeeiam Apr 4, 2021
03a7bbb
Gui Widget: Toast
LovelyZeeiam Apr 4, 2021
3f03e94
last commit's lost resource
LovelyZeeiam Apr 4, 2021
a4f36d5
fix bug: list flash when "max_height" > "height"
LovelyZeeiam Apr 5, 2021
bf25517
push and update to github
LovelyZeeiam Apr 8, 2021
d5b527f
Test Dialog
LovelyZeeiam Apr 10, 2021
dd91201
push to github test
LovelyZeeiam Apr 10, 2021
fc1751f
Server Choosing: Edit Dialog Framework~
LovelyZeeiam Apr 11, 2021
c6f5457
Server: Little chat server test
LovelyZeeiam Apr 18, 2021
323a2ec
Arrange code
LovelyZeeiam Apr 18, 2021
fea4b62
Initialize
LovelyZeeiam Apr 18, 2021
2af07c4
Init build.gradle
LovelyZeeiam Apr 18, 2021
4ca9e3f
Basic World Renderer
LovelyZeeiam Apr 23, 2021
44b995b
merge bone animation from "before-rewrite" branch
LovelyZeeiam Apr 24, 2021
8ab0e0c
Infinity world and level saving
LovelyZeeiam May 1, 2021
12ed6b2
Inventory and current block name view on screen
May 1, 2021
7b007ce
Add block texture to json able to packed in Jar file now
May 1, 2021
ab5e9a6
fix an severe bug
May 1, 2021
6e7cc2b
Colorful block added
LovelyZeeiam May 1, 2021
5085627
custom model~
LovelyZeeiam May 2, 2021
a3b0c14
Stair Basic Model
LovelyZeeiam May 3, 2021
3e0f5cf
Slab Block
LovelyZeeiam May 3, 2021
1054599
Add transparency block but it looks bad
LovelyZeeiam May 3, 2021
d390521
Add plant block
LovelyZeeiam May 3, 2021
ae71525
Chunk IO is now separated from main thread
LovelyZeeiam May 8, 2021
fde5f7d
Fog again~
LovelyZeeiam May 9, 2021
d89d794
Framebuffer and new lighting method
LovelyZeeiam May 16, 2021
b53983a
Add sound support class back
LovelyZeeiam May 16, 2021
d6976ee
Simple Terrain
LovelyZeeiam May 16, 2021
7fe9ff8
Sorry but not SSAO this time xD
LovelyZeeiam May 16, 2021
96c7ae9
Block Review Generate for the Inventory
LovelyZeeiam May 21, 2021
3a420b2
Fix Framebuffer upside down and color incorrect
LovelyZeeiam May 22, 2021
b3f885c
Add: Creative Inventory (function different from Minecraft)
LovelyZeeiam May 23, 2021
f143bde
Fix: Stained glass render error; Add: Middle-click block like Minecraft
LovelyZeeiam May 23, 2021
3dc2d01
Add: Player data save
LovelyZeeiam May 23, 2021
8ec7ad9
Change OpenGL Buffer Format specially for the coming lighting
LovelyZeeiam May 27, 2021
917ba65
Better glass render - cull many faces that affects gameplay
LovelyZeeiam Jun 28, 2021
b61c3e6
Nothing.
LovelyZeeiam Jul 4, 2021
1d92cc5
Format codes and substitute MyLogger for the former used java.util.Lo…
LovelyZeeiam Aug 8, 2021
d51403d
Fake AO shadow~
LovelyZeeiam Aug 9, 2021
c9c29b3
Change README.md
LovelyZeeiam Oct 5, 2021
dcecc44
AbaAba
LovelyZeeiam Oct 7, 2021
b2e97a3
Change the way how game stores vertices
LovelyZeeiam Nov 28, 2021
420597f
Memory Improvement
LovelyZeeiam Feb 20, 2022
250af83
Try to be a game Minecraft Pocket Edition 0.8.1~
LovelyZeeiam Mar 13, 2022
4cdb10f
I think this is the best coding structure I've ever write
LovelyZeeiam Mar 20, 2022
9a6c004
Really a convenient and reasonable code structure
LovelyZeeiam May 29, 2022
fa30f92
Implements the profound resource manager from Minecraft
LovelyZeeiam Aug 2, 2022
964f8d5
a small render system that wraps procedure about VAO and VBO
LovelyZeeiam Aug 8, 2022
d3937be
Add Timer to ensure tick count per frame
LovelyZeeiam Aug 8, 2022
eabae37
Texture Atlas Resource Added
LovelyZeeiam Aug 10, 2022
4275e0e
Must be a big change in render system but I seemed to mess it up
LovelyZeeiam Aug 13, 2022
2bbef4b
A long time before I remember this, so I commit
LovelyZeeiam Nov 2, 2022
a5f288b
Full Refreshed
LovelyZeeiam Nov 2, 2022
e9de2c6
Simple Registry
LovelyZeeiam Nov 2, 2022
ddc4e1a
Copy connection-related code from my private project "MyMinecraftClient"
LovelyZeeiam Nov 2, 2022
9695144
Fix error caused by removing 'mina-core'
LovelyZeeiam Nov 2, 2022
dddd52d
Change README.md and fix some utility bugs
LovelyZeeiam Nov 3, 2022
76705ee
Let's see if image in README.md can be displayed by Github
LovelyZeeiam Nov 3, 2022
d46b5b3
Let's see if image in README.md can be displayed by Github
LovelyZeeiam Nov 3, 2022
98e7c6d
Add Render System interface
LovelyZeeiam Nov 3, 2022
d9d4acf
Add Render System to my game engine
LovelyZeeiam Nov 3, 2022
a4a989d
Clear code that I don't know why it exists and copy my multi-thread d…
LovelyZeeiam Nov 3, 2022
16ebec1
I want to implement Python library "rich" in Java
LovelyZeeiam Nov 3, 2022
f36b16e
Add Simulate Console to Buffer it
LovelyZeeiam Nov 4, 2022
2aa0675
Add attributes to my JRich but bugs are everywhere
LovelyZeeiam Nov 4, 2022
113a5e3
Implement the packet processor
LovelyZeeiam Nov 7, 2022
881ad10
Implement the server-side connection
LovelyZeeiam Nov 7, 2022
a5ac37e
Server and Client Communication Successfully
LovelyZeeiam Nov 8, 2022
4f00d2e
Original Render System should be improved
LovelyZeeiam Nov 11, 2022
ef0ebb0
Make new attribute and buffer system
LovelyZeeiam Nov 11, 2022
363e26b
No more "sync" in RenderBuffer
LovelyZeeiam Nov 11, 2022
981b244
Add "setBuffer" methods to build layers
LovelyZeeiam Nov 11, 2022
11e913d
[Renderer] Add "BackRenderBuffer" to adapt to multithreading mesh gen…
LovelyZeeiam Nov 11, 2022
3705039
[Renderer] BackBuffer Pass the Test
LovelyZeeiam Nov 12, 2022
fb31ae9
[Renderer] Give up writing font renderer
LovelyZeeiam Nov 14, 2022
ac90d6d
[Renderer] Unwelcomed test of BufferPool
LovelyZeeiam Nov 14, 2022
4a4dd5f
[NanoVG] Mark removal for singleton mode
LovelyZeeiam Nov 16, 2022
b940976
Arrange code
LovelyZeeiam Nov 16, 2022
8dc9e83
Now we can run the game in command line
LovelyZeeiam Nov 16, 2022
9c90dfe
[Resource] Add reload listener
LovelyZeeiam Nov 17, 2022
d52b5c6
[GameUI] I tried to use NanoVG to repeat an image in the background
LovelyZeeiam Nov 18, 2022
7a9f910
[GameUI] Randomly directional background dirt block
LovelyZeeiam Nov 18, 2022
c80c59e
[GameUI] Fix bugs about randomly directional background dirt block
LovelyZeeiam Nov 19, 2022
9b8dd8a
[Network] Add listener in each connection instance
LovelyZeeiam Dec 3, 2022
cc5cca9
[Render] Implementing my new render system
LovelyZeeiam Dec 27, 2022
c032a07
[Render] Implement Block Renderer
LovelyZeeiam Dec 27, 2022
2d093f7
[Render] A bunch of blocks drawn on screen
LovelyZeeiam Dec 28, 2022
68e4669
[Render] Change the brightness of the sides of blocks
LovelyZeeiam Dec 28, 2022
24f93c4
[Physics] Now the player can no longer slide in blocks
LovelyZeeiam Dec 28, 2022
bbe2617
[Input] There should be bugs when facing with too many inputs here
LovelyZeeiam Dec 28, 2022
13fa6a0
Fix all warning messages
LovelyZeeiam Jan 5, 2023
64f7698
It's placing and removing blocks again
LovelyZeeiam Jan 6, 2023
4add628
[Logger] Change the way Logger like, but we still need more
LovelyZeeiam Jan 8, 2023
4aa751c
[Logger] Change Log color and add Italic to filename
LovelyZeeiam Jan 9, 2023
0b19454
[Blocks] Add Grass Block and Dirt Block
LovelyZeeiam Jan 9, 2023
540f3ae
[ECS] Sparse Set
LovelyZeeiam Jan 11, 2023
65c6853
[ECS] A simple ECS implementation
LovelyZeeiam Jan 13, 2023
cb22bd0
[GUI] Consider a new hierarchy about GUI texture and legacy texture
LovelyZeeiam Jan 13, 2023
1e19a6b
[GUI] Apply our new hierarchy and remove some deprecated code
LovelyZeeiam Jan 13, 2023
f77a6b9
[Code] Make use of something in ECS to arrange code
LovelyZeeiam Jan 13, 2023
505521f
[Buffer] So I get Unsafe to manage memory directly
LovelyZeeiam Jan 13, 2023
0127817
[Buffer] ok i found MemoryUtil that can replace my duplicated code
LovelyZeeiam Jan 13, 2023
90bdff0
[Item] Structures of item system
LovelyZeeiam Jan 13, 2023
dc5c45b
[Registry] Add tags to registry
LovelyZeeiam Jan 14, 2023
b5345cc
[Block] A block icon generator (we're again here)
LovelyZeeiam Jan 14, 2023
8d5a1bd
[Item] Item Renderer
LovelyZeeiam Jan 14, 2023
c9c938c
[Control] Change selected block by number in the keyboard
LovelyZeeiam Jan 14, 2023
ad7cf67
[Animation] Animation structure
LovelyZeeiam Jan 14, 2023
44f7430
[Font] Simple Font Renderer
LovelyZeeiam Jan 15, 2023
99cbeda
[Animation] Fix some animation bugs
LovelyZeeiam Jan 16, 2023
1c8376e
[Animation] Transition
LovelyZeeiam Jan 17, 2023
b516d4d
[Responsive] Fix some bugs
LovelyZeeiam Jan 20, 2023
e6af958
[Terrain] Maybe trying to find terrain mechanism in MCPE 0.1
LovelyZeeiam Mar 4, 2023
74f9c24
Change README.md
LovelyZeeiam Mar 4, 2023
a0283d5
[Terrain] Implement the chunk generator for MCPE 0.1
LovelyZeeiam Mar 4, 2023
da7a362
[Terrain] Maybe finally fix bugs that causes Exception in Noise stuff
LovelyZeeiam Mar 7, 2023
9e614df
[Terrain] Finish decompile "buildSurfaces" method
LovelyZeeiam Mar 10, 2023
b7a7e49
[Terrain] Change some numbers so that the grass can be here and there
LovelyZeeiam Mar 18, 2023
fb3504f
[Event] Implement window event system to engine code
LovelyZeeiam Mar 25, 2023
5097c8e
[Code] Arrange code
LovelyZeeiam May 10, 2023
7f6c7a8
[Terrain] Water and fundemental liquid renderer!
LovelyZeeiam May 12, 2023
717d5b7
A Todo announcement
LovelyZeeiam May 12, 2023
f612e07
[Bug] Fix a bug in TriFuncMap
LovelyZeeiam May 12, 2023
78de5e9
[Renderer] Trying to fix liquid render layer problem but...
LovelyZeeiam May 13, 2023
895cf1d
[Input] Reuse of mouse input code
LovelyZeeiam May 13, 2023
b73ecc4
[Block] Add some blocks
LovelyZeeiam May 13, 2023
421d07d
[Code] Arrange code and remove redundant and unused code
LovelyZeeiam May 14, 2023
0067480
Chunk generator is now using multiple thread!
LovelyZeeiam May 14, 2023
b7ee2ad
[Terrain] Little Chunk Generation
LovelyZeeiam May 17, 2023
d272fde
[Build] Try add GraalVM native image compile support but failed
LovelyZeeiam May 28, 2023
34f0abc
Remove gradle.properties that has been existed for a long time :(
LovelyZeeiam May 28, 2023
f967561
[Resource] Add ReloadableResourceTicket to arrange code
LovelyZeeiam May 31, 2023
c22e0b0
[UI] Set up a basic UI context
LovelyZeeiam May 31, 2023
7352d3f
[UI] Finish retained-mode-relative code
LovelyZeeiam May 31, 2023
20e0b0f
[UI] Add immediate mode for those very widgets
LovelyZeeiam Jun 1, 2023
e112b31
[UI] Arrange Code
LovelyZeeiam Jun 2, 2023
7a3136b
[UI] Change names of some packages
LovelyZeeiam Jun 2, 2023
f428719
[UI] Widget Group and Layout Manager
LovelyZeeiam Jun 2, 2023
07406fb
Fix a little bug and add comments
LovelyZeeiam Jun 3, 2023
98121b8
arrange code and complete .gitignore
LovelyZeeiam Jun 3, 2023
379338f
[Audio] Wrapping OpenAL API
LovelyZeeiam Jun 3, 2023
bac5dca
Give the world a little synthesizer wrecking ball!
LovelyZeeiam Jun 4, 2023
7672d1d
Append to last commit
LovelyZeeiam Jun 4, 2023
86f916a
Fix a bug in NBS stream
LovelyZeeiam Jun 4, 2023
6a7a739
[DAW] OpenAL Streaming Test
LovelyZeeiam Jun 5, 2023
9741b7c
Oops, the last commit has a compile error
LovelyZeeiam Jun 5, 2023
98aeee1
[DAW] My first Synthesizer and streaming synthesizer player!
LovelyZeeiam Jun 5, 2023
5a75dcb
[DAW] Add 2 more music to test this system
LovelyZeeiam Jun 5, 2023
e93742e
Sometimes eclipse can't find that some files have changed :{
LovelyZeeiam Jun 5, 2023
ce66e8a
Make Controller class more "single-responsible"
LovelyZeeiam Jun 8, 2023
b6a7f08
[Optimization] use LinkedList to make it faster
javaherobrine May 20, 2025
1561af0
Oh, i forgot to update the value of l1.last
javaherobrine May 20, 2025
bfd9dff
Fix misuses and add implementations
javaherobrine May 23, 2025
95982b3
oh i forgot to clear the lazy tag
javaherobrine May 23, 2025
efcba98
make it synchronized
javaherobrine May 24, 2025
f9d6c00
[Optimization] reduce some constant factor of PropertiesReflection
javaherobrine Jun 22, 2025
0f64a6e
[Bug Fix] correct an error in Readable
Jul 1, 2025
ba3415a
[Bug fix] fix a string encoding bug
Jul 4, 2025
e5cc448
Use existing functions to do the same thing
javaherobrine Jul 5, 2025
40b666f
Update gradle workflow
javaherobrine Jul 12, 2025
23e531e
Point out an incorrect implementation
javaherobrine Jul 20, 2025
3b22874
use an alternative to avoid "splice()"
javaherobrine Aug 24, 2025
338484d
something terrible :-(
javaherobrine Oct 5, 2025
49c36da
Prepare to use JNI to optimize LovelyZeeiam's code
javaherobrine Dec 19, 2025
62fe4ce
Migrate to LWJGL 3.3.6
javaherobrine Dec 28, 2025
91ace2e
Guess what! Java_Herobrine is still using AWT & Swing
javaherobrine Jan 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 0 additions & 12 deletions .classpath

This file was deleted.

38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
49 changes: 49 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: "CodeQL"

on:
schedule:
- cron: '33 23 * * 0-6'

jobs:
analyse:
name: Analyse
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
30 changes: 30 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle

name: Java CI with Gradle

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- uses: actions/upload-artifact@v2
with:
name: CraftGame
path: build/libs/CraftGame.jar
19 changes: 19 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,22 @@

# Ignore Gradle build output directory
build

bin

# Ignore working directory and debug output
output
log

.idea

.vscode
.VSCodeCounter

.settings
.classpath
.project

# Ignore my temporary directory and game working directory
.craftgame
EasingsAnim
22 changes: 0 additions & 22 deletions .project

This file was deleted.

2 changes: 0 additions & 2 deletions .settings/org.eclipse.buildship.core.prefs

This file was deleted.

2 changes: 0 additions & 2 deletions .settings/org.eclipse.core.resources.prefs

This file was deleted.

13 changes: 0 additions & 13 deletions .settings/org.eclipse.jdt.core.prefs

This file was deleted.

Loading