summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjussi2024-02-14 21:46:29 +0200
committerjussi2024-02-14 21:46:29 +0200
commit48adbe20dc022d286875408d215ef323c853e6f4 (patch)
tree00877204265329e57446e92da879eeddbf5be4a9
parentb8f27aefaedb7972fa0f1ff11b998aebdca4fb89 (diff)
downloadreilua-enhanced-48adbe20dc022d286875408d215ef323c853e6f4.tar.gz
reilua-enhanced-48adbe20dc022d286875408d215ef323c853e6f4.tar.bz2
reilua-enhanced-48adbe20dc022d286875408d215ef323c853e6f4.zip
Logo.
-rw-r--r--README.md6
-rw-r--r--changelog7
-rw-r--r--devnotes2
-rw-r--r--examples/snake/main.lua9
-rw-r--r--include/main.h4
-rw-r--r--logo.pngbin0 -> 1191 bytes
6 files changed, 18 insertions, 10 deletions
diff --git a/README.md b/README.md
index 00fdfd5..83ea956 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,5 @@
+![ReiLua logo](logo.png)
+
## About
Idea of this project was to bring the power and simplicity of Raylib to easy beginner friendly language like Lua in a very straight forward manner. It is loose binding to Raylib, some functions will not be included and some are added. The idea of pointing "main.lua" file and access functions "init", "process" and "draw" are borrowed from Löve game framework.
@@ -27,8 +29,8 @@ List of some MISSING features that are planned to be included. For specific func
## Roadmap
-* v0.7
- * Switch to Raylib v5.0
+* v0.8
+ * Thorough search for any missing raylib functions that should get implemented.
## Usage
diff --git a/changelog b/changelog
index 9b2e855..41f91f5 100644
--- a/changelog
+++ b/changelog
@@ -1,4 +1,11 @@
------------------------------------------------------------------------
+Release: ReiLua version 0.8.0 Using Raylib 5.0 and Forked Raygui 4.0
+------------------------------------------------------------------------
+KEY CHANGES:
+
+DETAILED CHANGES:
+
+------------------------------------------------------------------------
Release: ReiLua version 0.7.0 Using Raylib 5.0 and Forked Raygui 4.0
------------------------------------------------------------------------
KEY CHANGES:
diff --git a/devnotes b/devnotes
index ba4234b..8794dc3 100644
--- a/devnotes
+++ b/devnotes
@@ -4,7 +4,7 @@ Current {
Backlog {
* Godot scene importer lib.
* Script to find unimplemented raylib functions. Should have list for fuctions that will not
- be implemented.
+ get implemented.
* Raygui lib
* Check if could remove flickering from changing draw order by making queue for order changing and only
change them after everything is drawn.
diff --git a/examples/snake/main.lua b/examples/snake/main.lua
index a4086c1..d9e5f5c 100644
--- a/examples/snake/main.lua
+++ b/examples/snake/main.lua
@@ -18,9 +18,9 @@ local monitorSize = Vec2:new( RL.GetMonitorSize( monitor ) )
local winScale = 6
local winSize = Vec2:new( RESOLUTION.x * winScale, RESOLUTION.y * winScale )
local gameState = STATE.GAME
-local grassTexture = -1
-local snakeTexture = -1
-local appleTexture = -1
+local grassTexture = nil
+local snakeTexture = nil
+local appleTexture = nil
local gameSpeed = 7.0
local moveTimer = 1.0
local snake = {}
@@ -213,8 +213,7 @@ local function drawSnake()
RL.DrawTexturePro(
snakeTexture,
{ 24, 0, 8, 8 },
- { snake.headPos.x * TILE_SIZE + 4,
- snake.headPos.y * TILE_SIZE + 4, 8, 8 },
+ { snake.headPos.x * TILE_SIZE + 4, snake.headPos.y * TILE_SIZE + 4, 8, 8 },
{ 4, 4 },
angle * RL.RAD2DEG,
RL.WHITE
diff --git a/include/main.h b/include/main.h
index af353f1..f24f789 100644
--- a/include/main.h
+++ b/include/main.h
@@ -3,9 +3,9 @@
#define STRING_LEN 1024
#define VERSION_MAJOR 0
-#define VERSION_MINOR 7
+#define VERSION_MINOR 8
#define VERSION_PATCH 0
-#define VERSION_DEV 0
+#define VERSION_DEV 1
#include <stdio.h>
#include <stdlib.h>
diff --git a/logo.png b/logo.png
new file mode 100644
index 0000000..9a4eb53
--- /dev/null
+++ b/logo.png
Binary files differ