This file contains hidden or 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
{ | |
"Rat": { | |
"kind":2, | |
"moveSpeed":350, | |
"idleSpeed":700, | |
"shadowOffsetY":-2, | |
"isAggressive":false, | |
"hp":80, | |
"armor":1, | |
"weapon":1, |
This file contains hidden or 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
/* global bootKind, _, exports, module, Types */ | |
Types = { | |
Quest: { | |
TOTAL_QUEST_NUMBER: 35 | |
}, | |
Messages: { | |
CREATE: 0, | |
LOGIN: 1, |
This file contains hidden or 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
var Items = {}, | |
_ = require("underscore"), | |
Types = require("gametypes"), | |
ItemsJson = require("../data/items.json"); | |
module.exports = Items; | |
var ItemData = {}; | |
_.each( ItemsJson, function( value, key ) { | |
ItemData[key.toLowerCase()] = { |
This file contains hidden or 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
{ | |
"Sword1": { | |
"kind":60, | |
"type":"weapon", | |
"attack":1, | |
"name":"Sword" | |
}, | |
"Sword2": { | |
"kind":61, | |
"type":"weapon", |
This file contains hidden or 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
-- -------------------------------------------------------- | |
-- Host: 127.0.0.1 | |
-- Server version: 10.1.10-MariaDB - mariadb.org binary distribution | |
-- Server OS: Win32 | |
-- HeidiSQL Version: 9.3.0.4984 | |
-- -------------------------------------------------------- | |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | |
/*!40101 SET NAMES utf8mb4 */; | |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
This file contains hidden or 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
using Microsoft.Xna.Framework; | |
using Microsoft.Xna.Framework.Graphics; | |
using Microsoft.Xna.Framework.Input; | |
using System; | |
using System.Diagnostics; | |
using System.Xml.Linq; | |
using TiledSharp; | |
namespace GameExample | |
{ |
This file contains hidden or 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
using Microsoft.Xna.Framework; | |
using Microsoft.Xna.Framework.Graphics; | |
using System; | |
using System.Diagnostics; | |
using System.IO; | |
using TiledSharp; | |
namespace Game1 | |
{ | |
/// <summary> |
This file contains hidden or 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
WORKDIR = %cd% | |
CC = x86_64-w64-mingw32-gcc.exe | |
CXX = x86_64-w64-mingw32-g++.exe -m32 | |
AR = x86_64-w64-mingw32-gcc-ar.exe | |
LD = x86_64-w64-mingw32-g++.exe -m32 | |
WINDRES = windres.exe | |
INC = -I. | |
CFLAGS = -pedantic-errors -pedantic -Wfatal-errors -Wextra -Wall -std=gnu++1y |
This file contains hidden or 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
# | |
# time Makefile | |
# | |
CC = x86_64-w64-mingw32-gcc.exe | |
AR = x86_64-w64-mingw32-gcc-ar.exe | |
CFLAGS = -O2 -fPIC -Wall -ansi -pedantic -std=c99 -ltime | |
INCLUDE = -I"D:\\Program Files\\mingw-w64\\x86_64-4.9.1-release-posix-sjlj\\mingw64\\x86_64-w64-mingw32\\include" | |
SHLD = ${CC} ${CFLAGS} $(INCLUDE) |
This file contains hidden or 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
WORKDIR = %cd% | |
CC = gcc.exe -m32 | |
CXX = g++.exe -m32 | |
AR = ar.exe -m32 | |
LD = g++.exe -m32 | |
WINDRES = windres.exe | |
INC = -I. -Ilib -I"D:\\Program Files\\mingw-w64\\x86_64-4.9.1-release-posix-sjlj\\mingw64\\x86_64-w64-mingw32\\include" -I"D:\\Program Files\\mingw-w64\\x86_64-4.9.1-release-posix-sjlj\\mingw64\\include" | |
CFLAGS = -pedantic-errors -pedantic -Wfatal-errors -Wextra -Wall -std=gnu++1y |