Skip to content

Instantly share code, notes, and snippets.

Avatar

Andrei Rudenko RudenkoArts

View GitHub Profile
View android-native error
art_sigsegv_fault 0x0000007e1f24c704
art::FaultManager::HandleFault(int, siginfo*, void*) 0x0000007e1f24cc14
___lldb_unnamed_symbol20$$app_process64 0x0000005e518900d4
<unknown> 0x0000007ea5aef690
___lldb_unnamed_symbol1510$$libandroid_runtime.so 0x0000007ea0a87adc
___lldb_unnamed_symbol1510$$libandroid_runtime.so 0x0000007ea0a87adc
nativeReadFromParcel 0x00000000747ecbe8
art_quick_invoke_static_stub 0x0000007e1f604650
art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*) 0x0000007e1f17ccec
art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*) 0x0000007e1f32d33c
@RudenkoArts
RudenkoArts / OMGJAM 4 Komet
Last active Jul 4, 2018
Source code for my OMGJAM 4 entiry
View OMGJAM 4 Komet
// author: Andrei Rudenko (https://github.com/RudenkoArts)
// desc: omgjam4
// script: wren
// you can use this code in TIC-80 0.70 version (current git version)
// TIC-80 starting with 0.70 support wren language
// https://github.com/nesbox/TIC-80
import "random" for Random
// utils
@RudenkoArts
RudenkoArts / LD41
Created Apr 23, 2018
Ludum Dare 41 source code for TIC-80 game, written in wren language
View LD41
// author: Andrei Rudenko
// desc: ld41
// script: wren
import "random" for Random
class Maths {
static clamp(value, a, b) { ( value < a ) ? a : ( ( value > b ) ? b : value ) }
static sign( x ) { (x >= 0) ? 1 : -1 }
View build lua 5.3.4 on windows
> cd C:\lua-5.3.0
> vcvars32
> cl /MD /O2 /c /DLUA_BUILD_AS_DLL *.c
> ren lua.obj lua.o
> ren luac.obj luac.o
> link /DLL /IMPLIB:lua5.3.0.lib /OUT:lua5.3.0.dll *.obj
> link /OUT:lua.exe lua.o lua5.3.0.lib
> lib /OUT:lua5.3.0-static.lib *.obj
> link /OUT:luac.exe luac.o lua5.3.0-static.lib
View controller bug
Main.hx:305: i / main / gamepad device; ge_device_added device: 0 id: XInput Controller
Main.hx:305: i / main / gamepad device; ge_device_added device: 1 id: Controller (XBOX One For Windows)
Main.hx:305: i / main / gamepad device; ge_device_removed device: 1 id: XInput Controller
Main.hx:305: i / main / gamepad device; ge_device_added device: 0 id: XInput Controller
Main.hx:305: i / main / gamepad device; ge_device_added device: 1 id: Controller (XBOX One For Windows)
Main.hx:305: i / main / gamepad device; ge_device_removed device: 3 id: XInput Controller
@RudenkoArts
RudenkoArts / Accelerometer.hx
Created Jun 21, 2017 — forked from josuigoa/Accelerometer.hx
Getting accelerometer values with Luxe engine
View Accelerometer.hx
package;
import luxe.Input;
typedef AccelEvent = {
timestamp:Float,
value:Float,
axis:Int
}
@RudenkoArts
RudenkoArts / perlin.hx
Created Mar 5, 2017 — forked from anissen/perlin.hx
Perlin noise test
View perlin.hx
// Haxe implementation ported from https://gist.github.com/Flafla2/f0260a861be0ebdeef76
// Related article: http://flafla2.github.io/2014/08/09/perlinnoise.html
class Perlin {
public var repeat :Int;
public function new(repeat :Int = -1) {
this.repeat = repeat;
}
@RudenkoArts
RudenkoArts / SpriteAnimation.hx
Last active Jul 24, 2016
SpriteRenderer, VisualRenderer, and SpriteAnimation Components for Luxeengine
View SpriteAnimation.hx
import luxe.Component;
import luxe.Rectangle;
import luxe.Vector;
// import luxe.Sprite;
import phoenix.Texture;
import luxe.Log.*;
@RudenkoArts
RudenkoArts / AssetPaths.hx
Created May 20, 2016 — forked from kevinresol/AssetPaths.hx
Macro to read asset paths
View AssetPaths.hx
package util;
/**
* ...
* @author Kevin
*/
@:build(util.AssetPathsMacro.build())
class AssetPaths
{
@RudenkoArts
RudenkoArts / 2r.cfg
Created May 5, 2016
my QuakeLive config
View 2r.cfg
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"
You can’t perform that action at this time.