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
class Main extends luxe.Game { | |
override function config(config:luxe.GameConfig) { | |
config.preload = PreloadAssets.parcel; | |
return config; | |
} |
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
from kivy.app import App | |
from kivy.core.window import Window | |
from kivy.clock import Clock | |
from kivy.uix.widget import Widget | |
from kivy.properties import StringProperty | |
from kivent_core.systems.gamesystem import GameSystem | |
from kivent_core.managers.resource_managers import texture_manager | |
from os.path import dirname, join, abspath | |
from kivent_maps import map_utils | |
from kivent_maps.map_system import MapSystem |
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
from collections import defaultdict | |
import tmx | |
from cymunk.cymunk import Vec2d | |
from kivent_maps.map_utils import _load_obj_models, _load_tile_map, _load_tile_properties, parse_tmx | |
from kivent_maps.map_utils import _load_tilesets | |
from kivy.app import App, platform | |
from kivy.core.window import Window, Keyboard | |
from kivy.clock import Clock | |
from kivy.uix.widget import Widget |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<map version="1.0" orientation="isometric" renderorder="right-down" width="10" height="12" tilewidth="128" tileheight="64" nextobjectid="1"> | |
<tileset firstgid="1" name="basic_ground_tiles" tilewidth="128" tileheight="128" tilecount="56" columns="8"> | |
<image source="basic_ground_tiles.png" width="1024" height="896"/> | |
</tileset> | |
<tileset firstgid="57" name="basic_ground_tiles" tilewidth="128" tileheight="128" tilecount="56" columns="8"> | |
<image source="basic_ground_tiles.png" width="1024" height="896"/> | |
</tileset> | |
<layer name="Tile Layer 1" width="10" height="12"> | |
<data> |
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
from collections import defaultdict | |
import tmx | |
from cymunk.cymunk import Vec2d | |
from kivent_maps.map_utils import _load_obj_models, _load_tile_map, _load_tile_properties | |
from kivent_maps.map_utils import _load_tilesets | |
from kivy.app import App, platform | |
from kivy.core.window import Window, Keyboard | |
from kivy.clock import Clock | |
from kivy.uix.widget import Widget |
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 fnmatch | |
import os, sys | |
#import pyperclip # for clipboard usage | |
import webbrowser | |
for file in os.listdir('.'): | |
if fnmatch.fnmatch(file, '*'+sys.argv[1]+'*'): | |
print "File: " + file | |
choice = raw_input("Delete? Y/N/L") | |
if choice.upper() == 'L': |
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
#!/usr/bin/env python | |
from pyzmo import * | |
from evdev.ecodes import * | |
from evdev import InputDevice | |
import socket | |
TCP_IP = '127.0.0.1' | |
TCP_PORT = 8000 | |
import serial |
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
#!/usr/bin/python3 | |
from kivy.app import App | |
from kivy.uix.boxlayout import BoxLayout | |
from kivy.uix.button import Button | |
class AfterSuperButton(Button): | |
def __init__(self, **kwargs): |
NewerOlder