A fantasy console written in C++ using SFML and using ChaiScript and LuaJIT for scripting.
I thought I'd add named releases, starting with "Ancient Ascension."
Additions:
spr
and it's helper function sidx
which can be used to determine a sprite index from its sprite page and cell coordinates.Changes:
system.hpp
has been split into system.hpp
(trimmed down mode), system/system.cpp
, system/internal.cpp
, and system/api.cpp
btn
, mbtn
, and mpos
added.
btn(button_id)
returns true if the indicated button is pressed
mbtn(button_id)
returns true if the indicated mouse button is pressed
mpos(axis_id)
returns the position of the mouse along the indicated axis
This version is functionally equivalent of v0.1.70 (d060bd4e2d82de223eca36221910401db54bd9a4).
This release just switches over to a more controlled versioning system.
Previously the release versions were <major>.<minor>.<build>
, now they are <major>.<minor>.<revision>.<build>
Also, dev
branch release versions are now <major>.<minor>.x.<build>-dev
Note, the <build>
portion is shared between master
and dev
builds, hence why it was decided to make the <build>
portion of less importance.
AppVeyor Release for DRAK-0
DRAK-0 can now load a script file.
DRAK-0.exe example.chai
Example Script
trace("Hello World!); // Prints "Hello World!" to Windows console
def update() {
// Required function, called every frame
}
exit(); // Quits execution of script
AppVeyor Release for DRAK-0
Now the 64-bit builds should be just the .exe inside the .zip files.
AppVeyor can now build DRAK-0
I finally have AppVeyor semi-correctly building the for versions of DRAK-0.
NOTE: It's very possible that the current builds only work on Windows 10. If it doesn't work on your system please make an issue. Also, if you know how to support more systems please make a pull request.