This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package; | |
import luxe.Text; | |
import luxe.Color; | |
import luxe.Vector; | |
import luxe.Entity; | |
import phoenix.Batcher; | |
class Fps extends Entity { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SpatialHash uniform-grid implementation | |
// Broad-phase algorithm for collision detection | |
// Andrei Rudenko // SpatialHash.hx (24.07.2016) | |
import luxe.Vector; | |
import luxe.utils.Maths; | |
class SpatialHash { | |
public var min(default, null):Vector; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package; | |
import luxe.Text; | |
import luxe.Color; | |
import luxe.Vector; | |
import luxe.Log.*; | |
import luxe.options.TextOptions; | |
class FPS extends Text { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package; | |
import luxe.Sprite; | |
import luxe.Color; | |
import luxe.Parcel; | |
import luxe.ParcelProgress; | |
import luxe.options.ParcelProgressOptions; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package; | |
import luxe.Color; | |
import luxe.Component; | |
import luxe.Sprite; | |
/** | |
* This will set the color of any Sprite to a gradient. | |
* | |
* @author Abel Toy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"cmd": ["lua", "$file"], | |
"file_regex": "^lua: (...*?):([0-9]*):?([0-9]*)", | |
"selector": "source.lua" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VIDEO LINK: http://www.youtube.com/watch?v=X5D_h2X8LCk | |
cl /MD /O2 /c /DLUA_BUILD_AS_DLL *.c | |
This line compiles all files in the directory with the ".c" extension without linking them (/c) with the fastest possible (/O2) multithreaded (/MD) code | |
NOTICE! IN THE NEXT FEW STEPS X.X MEANS YOUR CURRENT LUA VERSION NUMBER, E.G. 5.2 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unbindall | |
// Scripts | |
bind ] "vstr chat" | |
set chat vstr chatOFF | |
set chatOFF "cg_teamchatsonly 1; set chat vstr chatON; print ^7chat ^1OFF" | |
set chatON "cg_teamchatsonly 0; set chat vstr chatOFF; print ^7chat ^2ON" | |
bind [ "vstr voice" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package util; | |
/** | |
* ... | |
* @author Kevin | |
*/ | |
@:build(util.AssetPathsMacro.build()) | |
class AssetPaths | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import luxe.Component; | |
import luxe.Rectangle; | |
import luxe.Vector; | |
// import luxe.Sprite; | |
import phoenix.Texture; | |
import luxe.Log.*; |
OlderNewer