Compare commits
263 Commits
Author | SHA1 | Date |
---|---|---|
Kazhnuz Klappsthul | 7fd8db592d | |
Kazhnuz Klappsthul | a5f075d5d2 | |
Kazhnuz Klappsthul | c64b9a42b7 | |
Kazhnuz Klappsthul | 5ab63a145a | |
Kazhnuz Klappsthul | 6d3c8de013 | |
Kazhnuz Klappsthul | d5f446f4ed | |
Kazhnuz Klappsthul | 69a567e4c2 | |
Kazhnuz Klappsthul | f3d175266b | |
Kazhnuz Klappsthul | f9b936a726 | |
Kazhnuz Klappsthul | 3cb6c61cac | |
Kazhnuz Klappsthul | eec43a522e | |
Kazhnuz Klappsthul | f892b1ce4e | |
Kazhnuz Klappsthul | de08fbd56b | |
Kazhnuz Klappsthul | 4722b734ed | |
Kazhnuz Klappsthul | a315fcebb5 | |
Kazhnuz Klappsthul | 5178ee0020 | |
Kazhnuz Klappsthul | c3179dcf9d | |
Kazhnuz Klappsthul | 8c4bcc70d5 | |
Kazhnuz Klappsthul | 2974d94df4 | |
Kazhnuz Klappsthul | fff87e8ebb | |
Kazhnuz Klappsthul | b8ac8e7d51 | |
Kazhnuz Klappsthul | b670e456e4 | |
Kazhnuz Klappsthul | 43f7277dab | |
Kazhnuz Klappsthul | a4045ba456 | |
Kazhnuz Klappsthul | c5c8897aa6 | |
Kazhnuz Klappsthul | 8ade1a1f93 | |
Kazhnuz Klappsthul | f347f47aab | |
Kazhnuz Klappsthul | e8b796f978 | |
Kazhnuz Klappsthul | 150aad86f1 | |
Kazhnuz Klappsthul | baa5a24ce6 | |
Kazhnuz Klappsthul | 8f1c326e6a | |
Kazhnuz Klappsthul | f8910aefa4 | |
Kazhnuz Klappsthul | af6ceef38d | |
Kazhnuz Klappsthul | d3350e3938 | |
Kazhnuz Klappsthul | 99952487a9 | |
Kazhnuz Klappsthul | 870a4f7118 | |
Kazhnuz Klappsthul | 772becc1a8 | |
Kazhnuz Klappsthul | 92c10440a1 | |
Kazhnuz Klappsthul | e5d8e699bc | |
Kazhnuz Klappsthul | b22cc2159f | |
Kazhnuz Klappsthul | 0f4b6daf73 | |
Kazhnuz Klappsthul | 72829eb02a | |
Kazhnuz Klappsthul | 49509001ab | |
Kazhnuz Klappsthul | 93bbf56047 | |
Kazhnuz Klappsthul | abfda56b14 | |
Kazhnuz Klappsthul | 3ae96e4cfc | |
Kazhnuz Klappsthul | e2d029ab0f | |
Kazhnuz Klappsthul | bb6cf14437 | |
Kazhnuz Klappsthul | a72dfc0711 | |
Kazhnuz Klappsthul | 7e697c3628 | |
Kazhnuz Klappsthul | 37fc1fc9be | |
Kazhnuz Klappsthul | 4ff85e2cc1 | |
Kazhnuz Klappsthul | 89bbf5fff2 | |
Kazhnuz Klappsthul | 876d30671d | |
Kazhnuz Klappsthul | 12b4b3fbc1 | |
Kazhnuz Klappsthul | a3e2da3972 | |
Kazhnuz Klappsthul | b1cd9a6683 | |
Kazhnuz Klappsthul | d9b8b71672 | |
Kazhnuz Klappsthul | 7e7cfe3763 | |
Kazhnuz Klappsthul | dca462803f | |
Kazhnuz Klappsthul | 74d8e904b2 | |
Kazhnuz Klappsthul | 4b66d15014 | |
Kazhnuz Klappsthul | 82cf59588a | |
Kazhnuz Klappsthul | e58f197049 | |
Kazhnuz Klappsthul | cf1928444f | |
Kazhnuz Klappsthul | fb55c9e706 | |
Kazhnuz Klappsthul | c3ee812d1a | |
Kazhnuz Klappsthul | dcc2965431 | |
Kazhnuz Klappsthul | 9eb0d321c8 | |
Kazhnuz Klappsthul | b2623cdb6a | |
Kazhnuz Klappsthul | f30fc6346d | |
Kazhnuz Klappsthul | 9993221e0d | |
Kazhnuz Klappsthul | b071547630 | |
Kazhnuz Klappsthul | 92c08e30ee | |
Kazhnuz Klappsthul | 79902a097f | |
Kazhnuz Klappsthul | 5393d16007 | |
Kazhnuz Klappsthul | b97d320dc7 | |
Kazhnuz Klappsthul | 730d89a76c | |
Kazhnuz Klappsthul | 124a228d3b | |
Kazhnuz Klappsthul | 5837fd8b51 | |
Kazhnuz Klappsthul | c5c9f040bc | |
Kazhnuz Klappsthul | 3b1097c917 | |
Kazhnuz Klappsthul | fed8ab4662 | |
Kazhnuz Klappsthul | 6a66cff503 | |
Kazhnuz Klappsthul | 77311a803b | |
Kazhnuz Klappsthul | 982be45f1a | |
Kazhnuz Klappsthul | 6bac6704f5 | |
Kazhnuz Klappsthul | e8e75ac4db | |
Kazhnuz | c946e582bd | |
Kazhnuz | 9a0db953ba | |
Kazhnuz | 92cbda69a1 | |
Kazhnuz | 8b3a5f1f0c | |
Kazhnuz | b12108a260 | |
Kazhnuz | f843d4f550 | |
Kazhnuz | 5575b90271 | |
Kazhnuz | ccbff45f21 | |
Kazhnuz | 9f4c057a27 | |
Kazhnuz | b98e8dd291 | |
Kazhnuz | 4cedf30bfd | |
Kazhnuz | d59fe10927 | |
Kazhnuz | a83dceee80 | |
Kazhnuz | ad295bf9c9 | |
Kazhnuz | 84919719f8 | |
Kazhnuz | 4b24579070 | |
Kazhnuz | 8385a69636 | |
Kazhnuz | a1afa0821c | |
Kazhnuz | 02bc52a49b | |
Kazhnuz | 8290fbb8d2 | |
Kazhnuz | ab3d9abf9f | |
Kazhnuz | eccaf77687 | |
Kazhnuz | e40ea3cfab | |
Kazhnuz | c339129566 | |
Kazhnuz | 8e000dbc44 | |
Kazhnuz | 47c6bab698 | |
Kazhnuz | 8d524fb4db | |
Kazhnuz | 077b1151f1 | |
Kazhnuz | 0fecc3a431 | |
Kazhnuz | 60390ed1a7 | |
Kazhnuz | e6f0315a8c | |
Kazhnuz | 76fb15f862 | |
Kazhnuz | f61f529302 | |
Kazhnuz | 3a696ee58c | |
Kazhnuz | 77670d8ec0 | |
Kazhnuz | b5059e848a | |
Kazhnuz | b167c45530 | |
Kazhnuz | ca721ec8ac | |
Kazhnuz | 9ea2d2ca40 | |
Kazhnuz | 2da2ffd538 | |
Kazhnuz | 3e907b69d7 | |
Kazhnuz | 2e3fd587c0 | |
Kazhnuz | 70d5fdfd8c | |
Kazhnuz | 4e9923b2ea | |
Kazhnuz | 543247e721 | |
Kazhnuz | 88526282ea | |
Kazhnuz | df274f9dd0 | |
Kazhnuz | e068acbc7b | |
Kazhnuz | d8c0e62190 | |
Kazhnuz | 303b6a7184 | |
Kazhnuz | 25e1257cf2 | |
Kazhnuz | 91d7284775 | |
Kazhnuz | 215aed8684 | |
Kazhnuz | dd15c329c8 | |
Kazhnuz | eb88c017ea | |
Kazhnuz | 54167f8a77 | |
Kazhnuz | 1a5abfeaac | |
Kazhnuz | 1d74beb263 | |
Kazhnuz | 2ef5c01f47 | |
Kazhnuz | 7d65359230 | |
Kazhnuz | 3e26d9a769 | |
Kazhnuz | cbebb16c46 | |
Kazhnuz | 107b75c3ed | |
Kazhnuz | 56c64baba5 | |
Kazhnuz | eb751807f4 | |
Kazhnuz | c53e91a564 | |
Kazhnuz | 27773ad8d6 | |
Kazhnuz | b5be7e58a3 | |
Kazhnuz | 93c4f5251d | |
Kazhnuz | 79f38a2585 | |
Kazhnuz | 7e91bf406d | |
Kazhnuz | 90d0892b7e | |
Kazhnuz | 4e366051c4 | |
Kazhnuz | afbbf50539 | |
Kazhnuz | c04d9f3ba1 | |
Kazhnuz | 22c8617717 | |
Kazhnuz | 542f9c6bac | |
Kazhnuz | 26ff29b8aa | |
Kazhnuz | a48308ae40 | |
Kazhnuz | 932ec26283 | |
Kazhnuz | 79aff589b9 | |
Kazhnuz | 2f7d313ab9 | |
Kazhnuz | f2cabff81c | |
Kazhnuz | f9a268a51a | |
Kazhnuz | 7376d75aeb | |
Kazhnuz | 7ec715850c | |
Kazhnuz | 81dd584e11 | |
Kazhnuz | 35433b273d | |
Kazhnuz | c7e2f2daca | |
Kazhnuz | f48de0e9bd | |
Kazhnuz | 6947d2f3f2 | |
Kazhnuz | fb428b45c3 | |
Kazhnuz | e4b89ddd31 | |
Kazhnuz | 1c8c2d6937 | |
Kazhnuz | 208c523248 | |
Kazhnuz | fafaa3fe49 | |
Kazhnuz | 443b8c0e1c | |
Kazhnuz | fbe5d56b4d | |
Kazhnuz | 98103a8d48 | |
Kazhnuz | 6ee3a910f6 | |
Kazhnuz | f9ba042089 | |
Kazhnuz | a7821e8f48 | |
Kazhnuz | ee6ac56eea | |
Kazhnuz | 342d073572 | |
Kazhnuz | 242e916d4b | |
Kazhnuz | 696360ac30 | |
Kazhnuz | 0993f1e8bb | |
Kazhnuz | a3b0f47127 | |
Kazhnuz | c043bb8ecf | |
Kazhnuz | 5bdb275b8a | |
Kazhnuz | cdddc79973 | |
Kazhnuz | 940cb1b41f | |
Kazhnuz | c06f1c49aa | |
Kazhnuz | ddebdba2e8 | |
Kazhnuz | cf04a16c84 | |
Kazhnuz | 9639524abe | |
Kazhnuz | 1ee0b77b50 | |
Kazhnuz | 5f5b4da9c5 | |
Kazhnuz | fc32ce43f5 | |
Kazhnuz | 30a0d59a41 | |
Kazhnuz | 0687bc4cfe | |
Kazhnuz | 2004efa558 | |
Kazhnuz | a60058522b | |
Kazhnuz | ce48e451c1 | |
Kazhnuz | b558650d00 | |
Kazhnuz | 57446b89a3 | |
Kazhnuz | 49558ac6e4 | |
Kazhnuz | 4cb3a7a105 | |
Kazhnuz | 91fc55555f | |
Kazhnuz | 392fa80986 | |
Kazhnuz | a31eae5c24 | |
Kazhnuz | e7c7aa1f79 | |
Kazhnuz | e6c2af5429 | |
Kazhnuz | 369e0ceec0 | |
Kazhnuz | b4f3008552 | |
Kazhnuz | ff78a6ecfe | |
Kazhnuz | 10bbd5fd84 | |
Kazhnuz | 049213000a | |
Kazhnuz | c57f372648 | |
Kazhnuz | 7cce6ea99f | |
Kazhnuz | f68e300019 | |
Kazhnuz | 81c7dc7cd4 | |
Kazhnuz | 0a66082e99 | |
Kazhnuz | e916c28630 | |
Kazhnuz | 9f66df8537 | |
Kazhnuz | b7344a8973 | |
Kazhnuz | 961c7816c1 | |
Kazhnuz | cace01cf3a | |
Kazhnuz | 89b2ffe483 | |
Kazhnuz | 3fd8d2fecc | |
Kazhnuz | 41cbf40890 | |
Kazhnuz | eafc266544 | |
Kazhnuz | 3314f1e3f9 | |
Kazhnuz | 5c5b3eed34 | |
Kazhnuz | dca4ece7fe | |
Kazhnuz | 6fb3fecc95 | |
Kazhnuz | 531f3c5803 | |
Kazhnuz | 8a5692c1a1 | |
Kazhnuz | a3b6bcd499 | |
Kazhnuz | f88c7f49e4 | |
Kazhnuz | c553dfafa3 | |
Kazhnuz | b770253cb5 | |
Kazhnuz | 8c1e9d8e05 | |
Kazhnuz | cb97c2ceee | |
Kazhnuz | 2b1bdd0be5 | |
Kazhnuz | 241baad935 | |
Kazhnuz | 4547628ba5 | |
Kazhnuz | ff38f7fe87 | |
Kazhnuz | 0b6101a398 | |
Kazhnuz | 79c79d9613 | |
Kazhnuz | 664a2c7309 | |
Kazhnuz | 91019b2074 | |
Kazhnuz | 408a71434f | |
Kazhnuz | 3ced2dbef4 | |
Kazhnuz | 80072d285a |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"Lua.diagnostics.globals": [
|
||||
"love",
|
||||
"loadstring",
|
||||
"unpack",
|
||||
"framework",
|
||||
"utils",
|
||||
"core",
|
||||
"scenes",
|
||||
"game"
|
||||
],
|
||||
"Lua.diagnostics.disable": [
|
||||
"redundant-parameter"
|
||||
]
|
||||
}
|
106
CHANGELOG.md
|
@ -7,7 +7,111 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## Unreleased
|
||||
|
||||
## 0.5.0 - 2019-06-16
|
||||
- Project renamed to Epervier Framework and rebased entirely on Sonic Radiance codebase
|
||||
|
||||
- New loading system
|
||||
|
||||
### Added
|
||||
|
||||
- Add a gamesystem module
|
||||
|
||||
- **core/debug:** new logging framework
|
||||
|
||||
- **camera+maps:** add a way to add padding to map limits
|
||||
|
||||
### Changed
|
||||
|
||||
- **world:** extract map module from the world module
|
||||
|
||||
- **core/input:** extract virtualpads from the input controller
|
||||
|
||||
- **core:** The core is now separated from the rest of the framework
|
||||
|
||||
- **core+assets:** Music are now managed directly by the core
|
||||
|
||||
## [0.6.0] - 2019-07-20
|
||||
|
||||
- Meta: Add proper crediting
|
||||
|
||||
### Added
|
||||
|
||||
- **actor2D:** Make hitbox modifiable.
|
||||
|
||||
- **actor2D:** Add multiple hitbox support.
|
||||
|
||||
- **assets:** Add a way to get current relative frame
|
||||
|
||||
- **assets:** Add more wrapper around animator functions in Sprite
|
||||
|
||||
- **world:** Add more wrapper around sprite functions in BaseActor
|
||||
|
||||
- **assets:** Add a new getCurrentAnimation function
|
||||
|
||||
- **world:** Add a way to automatically load hitbox from a file
|
||||
|
||||
- **utils:** Add basic table functions
|
||||
|
||||
- **camera:** Add two new camera types: "middle" and "zoom".
|
||||
|
||||
- **world:** Add a fake 3D world, à la Zelda or BeatThemAll, complete with shadow support
|
||||
|
||||
- **examples:** Test all player number and camera types
|
||||
|
||||
- **core.screen:** Add a way to get coordinate and scale
|
||||
|
||||
### Changed
|
||||
|
||||
- **world2D:** Use a list for bodies (hitboxes, etc) and one other for actors
|
||||
|
||||
- **world2D:** Make the hitbox an object, owned by the actor
|
||||
|
||||
- **actor:** Rename all function related to YGravity to just \*Gravity
|
||||
|
||||
- **world:** Separate "queryRect()" into two functions
|
||||
|
||||
- **world:** Make object creation more customizable by worlds
|
||||
|
||||
- **camera:** Make mode configuration configurable
|
||||
|
||||
- **examples:** Rename "movable" to "topdown"
|
||||
|
||||
- **camera:** Brand new camera system based on canvases instead of just transforms
|
||||
|
||||
- **core:** Activate vsync by default.
|
||||
|
||||
- **examples:** Put together all assets.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **world:** Remove a forgotten camera debug function
|
||||
|
||||
- **examples:** Add missing translations
|
||||
|
||||
- **camera:** Fix onscreen coordinates by using new core.screen func
|
||||
|
||||
- **camera:** Fix camera's drawing in other resolution mode
|
||||
|
||||
- **world:** Don't draw unused sti objectlayer
|
||||
|
||||
### Removed
|
||||
|
||||
- **actor:** Remove all function related to XGravity
|
||||
|
||||
- **examples:** Remove basic examples
|
||||
|
||||
- **libs:** Remove hump.camera
|
||||
|
||||
## [0.5.1] - 2019-06-21
|
||||
|
||||
### Fixed
|
||||
|
||||
- **examples:** Add missing HUD example for one-player plateformer
|
||||
|
||||
- **world:** Separate getting dimensions of the internal and advertised view.
|
||||
|
||||
- **world:** use right camera internal coordinate
|
||||
|
||||
## [0.5.0] - 2019-06-16
|
||||
|
||||
- Meta: Add a Code of Conduct
|
||||
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
# gamecore credits
|
||||
|
||||
## Library used
|
||||
|
||||
- [Binser](https://github.com/bakpakin/binser) under MIT Licence
|
||||
|
||||
- [Classic](https://github.com/rxi/classic) under MIT Licence
|
||||
|
||||
- An altered version of [CScreen](https://github.com/CodeNMore/CScreen) under a custom licence.
|
||||
|
||||
- [LoveBird](https://github.com/rxi/lovebird) under MIT Licence
|
||||
|
||||
- [Bump.lua](https://github.com/kikito/bump.lua), under MIT Licence
|
||||
|
||||
- [Bump.3DPD](https://github.com/oniietzschan/bump-3dpd), under MIT Licence
|
||||
|
||||
- [Tsort](https://github.com/bungle/lua-resty-tsort), under BSD-2 Clause
|
||||
|
||||
- [Simple Tiled Implementation](https://github.com/karai17/Simple-Tiled-Implementation), under MIT Licence
|
||||
|
||||
- [tween.lua](https://github.com/kikito/tween.lua), under MIT Licence
|
62
README.md
|
@ -1,44 +1,40 @@
|
|||
# gamecore
|
||||
# Épervier Framework
|
||||
|
||||
Gamecore aim to be an integrated, simple core system for love2D. It aim to make work in a integrated way several managers to automatically handle inputs, screen, and several utilities to make game developpement easier and less repetitive.
|
||||
The Épervier Framework is an RPG-oriented framework for Love2D. It aim to work as a set of managers to automatically handle inputs, screen, and several utilities to make game developpement easier and less repetitive. It's also specialized in game with RPG mechanics, with functions to serialize/deserialize easily datas.
|
||||
|
||||
Gamecore use [Classic](https://github.com/rxi/classic/) as its base Object
|
||||
Épervier use [Classic](https://github.com/rxi/classic/) as its base Object.
|
||||
|
||||
## How to load GameCore
|
||||
## Core features
|
||||
|
||||
To load gamecore, you basically need the following code.
|
||||
Épervier provide a lot of feature that can be usefull to create an RPG. This is a non-exhaustive list of what the framework can do :
|
||||
|
||||
````
|
||||
Core = require "gamecore"
|
||||
- Scene system to be able to change your gameplay easily, with transitions
|
||||
- Easy data loading and parsing via the core.data module
|
||||
- A save system using data serialization
|
||||
- Tweening and time support via tween.lua
|
||||
- A world system with support for camera, multiple hitbox per actor, and two type of physics (bump2D and bump3D) and tiled map loading (via sti.lua)
|
||||
- A GUI system to make your game more easily have HUD and menus
|
||||
- Several utilities functions
|
||||
|
||||
function love.load()
|
||||
core = Core()
|
||||
## How to load Épervier
|
||||
|
||||
The framework must be located in the `framework/` folder to work. After that, all you have to do is to load a gamecore based engine and then.
|
||||
|
||||
Note : the `framework`, `core`, `game` and `utils` global namespaces will be used by the framework.
|
||||
|
||||
```lua
|
||||
require "framework"
|
||||
|
||||
function love.load(args)
|
||||
framework.start("game", args)
|
||||
end
|
||||
|
||||
````
|
||||
```
|
||||
|
||||
Then you have to create some scene object,
|
||||
### Launch in debug mode
|
||||
|
||||
## Gamecore managers
|
||||
To launch in debug mode, the love2D game must be launched with a DEBUGLEVEL bigger than 1, for instance :
|
||||
|
||||
- Debug
|
||||
|
||||
- Input
|
||||
|
||||
- Lang
|
||||
|
||||
- Options
|
||||
|
||||
- Screen
|
||||
|
||||
- Scene Manager
|
||||
|
||||
## GameCore modules
|
||||
|
||||
Modules are utilies that you can load everywhere in your code and that aren't loaded specifically inside the core.
|
||||
|
||||
- Scene Object
|
||||
|
||||
- Assets
|
||||
|
||||
- Menu System
|
||||
```sh
|
||||
love ./examples DEBUGLEVEL=4
|
||||
```
|
41
conf.lua
|
@ -1,41 +0,0 @@
|
|||
function love.conf(t)
|
||||
t.identity = "space.kazhnuz.GameCore" -- The name of the save directory (string)
|
||||
t.version = "11.1" -- The LÖVE version this game was made for (string)
|
||||
t.console = false -- Attach a console (boolean, Windows only)
|
||||
t.accelerometerjoystick = false -- Enable the accelerometer on iOS and Android by exposing it as a Joystick (boolean)
|
||||
t.gammacorrect = false -- Enable gamma-correct rendering, when supported by the system (boolean)
|
||||
|
||||
t.window.title = "GameCore Example" -- The window title (string)
|
||||
t.window.icon = nil -- Filepath to an image to use as the window's icon (string)
|
||||
t.window.width = 424 -- The window width (number)
|
||||
t.window.height = 240 -- The window height (number)
|
||||
t.window.borderless = false -- Remove all border visuals from the window (boolean)
|
||||
t.window.resizable = false -- Let the window be user-resizable (boolean)
|
||||
t.window.minwidth = 1 -- Minimum window width if the window is resizable (number)
|
||||
t.window.minheight = 1 -- Minimum window height if the window is resizable (number)
|
||||
t.window.fullscreen = false -- Enable fullscreen (boolean)
|
||||
t.window.fullscreentype = "exclusive" -- Choose between "desktop" fullscreen or "exclusive" fullscreen mode (string)
|
||||
t.window.vsync = true -- Enable vertical sync (boolean)
|
||||
t.window.msaa = 0 -- The number of samples to use with multi-sampled antialiasing (number)
|
||||
t.window.display = 1 -- Index of the monitor to show the window in (number)
|
||||
t.window.highdpi = false -- Enable high-dpi mode for the window on a Retina display (boolean)
|
||||
t.window.x = nil -- The x-coordinate of the window's position in the specified display (number)
|
||||
t.window.y = nil -- The y-coordinate of the window's position in the specified display (number)
|
||||
|
||||
t.modules.audio = true -- Enable the audio module (boolean)
|
||||
t.modules.event = true -- Enable the event module (boolean)
|
||||
t.modules.graphics = true -- Enable the graphics module (boolean)
|
||||
t.modules.image = true -- Enable the image module (boolean)
|
||||
t.modules.joystick = true -- Enable the joystick module (boolean)
|
||||
t.modules.keyboard = true -- Enable the keyboard module (boolean)
|
||||
t.modules.math = true -- Enable the math module (boolean)
|
||||
t.modules.mouse = true -- Enable the mouse module (boolean)
|
||||
t.modules.physics = true -- Enable the physics module (boolean)
|
||||
t.modules.sound = true -- Enable the sound module (boolean)
|
||||
t.modules.system = true -- Enable the system module (boolean)
|
||||
t.modules.timer = true -- Enable the timer module (boolean), Disabling it will result 0 delta time in love.update
|
||||
t.modules.touch = true -- Enable the touch module (boolean)
|
||||
t.modules.video = true -- Enable the video module (boolean)
|
||||
t.modules.window = true -- Enable the window module (boolean)
|
||||
t.modules.thread = true -- Enable the thread module (boolean)
|
||||
end
|
|
@ -1,11 +0,0 @@
|
|||
return {
|
||||
["basic"] = "Basic Examples",
|
||||
["menu"] = "Menus Examples",
|
||||
["gameplay"] = "Gameplay Examples",
|
||||
["test1"] = "Basic Test 1",
|
||||
["test2"] = "Basic Test 2",
|
||||
["testmenu"] = "Basic Test Menu",
|
||||
["movable"] = "Movable Player",
|
||||
["options"] = "Options",
|
||||
["inventory"] = "Inventory",
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
return {
|
||||
["basic"] = "Exemples basiques",
|
||||
["menu"] = "Exemples de menus",
|
||||
["gameplay"] = "Examples de jeux",
|
||||
["test1"] = "Test basique 1",
|
||||
["test2"] = "Test basique 2",
|
||||
["testmenu"] = "Test basique menu",
|
||||
["movable"] = "Deplacement Joueur",
|
||||
["options"] = "Paramètres",
|
||||
["inventory"] = "Inventaire",
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
## Assets credits
|
||||
|
||||
- SFX by [Joth](http://opengameart.org/users/joth)
|
||||
|
||||
- Option Music from [OpenSonic](http://opensnc.sourceforge.net/home/index.php) by Di Rodrigues
|
||||
|
||||
- Fonts from [SuperPowers](https://opengameart.org/content/superpowers-assets-bitmap-fonts)
|
||||
|
||||
### Sprites
|
||||
|
||||
- [Monkey Lad in Magical Planet](https://opengameart.org/content/monkey-lad-in-magical-planet) by [surt](https://opengameart.org/users/surt)
|
||||
|
||||
- [Tux Bros](https://opengameart.org/content/tux-bros) by [surt](https://opengameart.org/users/surt)
|
||||
|
||||
- [16x16 Fantasy Tileset](https://opengameart.org/content/16x16-fantasy-tileset) by [Jerom](https://opengameart.org/users/jerom)
|
||||
|
||||
- [Arcade Plateformer Assets](https://opengameart.org/content/arcade-platformer-assets) by [GrafxKid](https://opengameart.org/users/grafxkid)
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 280 B After Width: | Height: | Size: 280 B |
Before Width: | Height: | Size: 580 B After Width: | Height: | Size: 580 B |
Before Width: | Height: | Size: 520 B After Width: | Height: | Size: 520 B |
|
@ -43,8 +43,8 @@ return {
|
|||
pauseAtEnd = false,
|
||||
},
|
||||
["punch"] = {
|
||||
startAt = 10,
|
||||
endAt = 10,
|
||||
startAt = 11,
|
||||
endAt = 11,
|
||||
loop = 1,
|
||||
speed = 0,
|
||||
pauseAtEnd = false,
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
|
@ -1,13 +0,0 @@
|
|||
local folder = "examples/basic/test_scene2/"
|
||||
|
||||
return {
|
||||
["images"] = {
|
||||
{"debris", folder .. "assets/debris.png"}
|
||||
},
|
||||
["tilesets"] = {
|
||||
{"weapon", folder .. "assets/weapon"}
|
||||
},
|
||||
["sprites"] = {
|
||||
{"poof", folder .. "assets/poof"}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,47 @@
|
|||
function love.conf(t)
|
||||
t.identity = "city.kobold.Birb" -- The name of the save directory (string)
|
||||
t.version = "11.1" -- The LÖVE version this game was made for (string)
|
||||
t.console = false -- Attach a console (boolean, Windows only)
|
||||
t.accelerometerjoystick = false -- Enable the accelerometer on iOS and Android by exposing it as a Joystick (boolean)
|
||||
t.gammacorrect = false -- Enable gamma-correct rendering, when supported by the system (boolean)
|
||||
t.gameversion = "0.7.0" -- The game version (different than love2D version)
|
||||
|
||||
t.window.title = "Birb Examples" -- The window title (string)
|
||||
t.window.icon = nil -- Filepath to an image to use as the window's icon (string)
|
||||
t.window.width = 424 -- The window internal width (number)
|
||||
t.window.height = 240 -- The window internal height (number)
|
||||
t.window.borderless = false -- Remove all border visuals from the window (boolean)
|
||||
t.window.resizable = false -- Let the window be user-resizable (boolean)
|
||||
t.window.minwidth = 1 -- Minimum window width if the window is resizable (number)
|
||||
t.window.minheight = 1 -- Minimum window height if the window is resizable (number)
|
||||
t.window.fullscreen = false -- Enable fullscreen (boolean)
|
||||
t.window.fullscreentype = "exclusive" -- Choose between "desktop" fullscreen or "exclusive" fullscreen mode (string)
|
||||
t.window.vsync = true -- Enable vertical sync (boolean)
|
||||
t.window.msaa = 0 -- The number of samples to use with multi-sampled antialiasing (number)
|
||||
t.window.display = 1 -- Index of the monitor to show the window in (number)
|
||||
t.window.highdpi = false -- Enable high-dpi mode for the window on a Retina display (boolean)
|
||||
t.window.x = nil -- The x-coordinate of the window's position in the specified display (number)
|
||||
t.window.y = nil -- The y-coordinate of the window's position in the specified display (number)
|
||||
t.window.resolution = 2 -- The default resolution
|
||||
|
||||
t.volume = {}
|
||||
t.volume.music = 100 -- music audio volume
|
||||
t.volume.sfx = 100 -- sfx audio volume
|
||||
|
||||
t.modules.audio = true -- Enable the audio module (boolean)
|
||||
t.modules.event = true -- Enable the event module (boolean)
|
||||
t.modules.graphics = true -- Enable the graphics module (boolean)
|
||||
t.modules.image = true -- Enable the image module (boolean)
|
||||
t.modules.joystick = true -- Enable the joystick module (boolean)
|
||||
t.modules.keyboard = true -- Enable the keyboard module (boolean)
|
||||
t.modules.math = true -- Enable the math module (boolean)
|
||||
t.modules.mouse = true -- Enable the mouse module (boolean)
|
||||
t.modules.physics = true -- Enable the physics module (boolean)
|
||||
t.modules.sound = true -- Enable the sound module (boolean)
|
||||
t.modules.system = true -- Enable the system module (boolean)
|
||||
t.modules.timer = true -- Enable the timer module (boolean), Disabling it will result 0 delta time in love.update
|
||||
t.modules.touch = true -- Enable the touch module (boolean)
|
||||
t.modules.video = true -- Enable the video module (boolean)
|
||||
t.modules.window = true -- Enable the window module (boolean)
|
||||
t.modules.thread = true -- Enable the thread module (boolean)
|
||||
end
|
|
@ -0,0 +1 @@
|
|||
return {}
|
|
@ -0,0 +1,19 @@
|
|||
return {
|
||||
["basic"] = "Basic Examples",
|
||||
["menu"] = "Menus Examples",
|
||||
["gameplay"] = "Gameplay Examples",
|
||||
["test1"] = "Basic Test 1",
|
||||
["test2"] = "Basic Test 2",
|
||||
["testmenu"] = "Basic Test Menu",
|
||||
["topdown"] = "Top Down",
|
||||
["topdown3D"] = "Top Down (3D)",
|
||||
["topdown (zoom)"] = "Top Down (zoom)",
|
||||
["topdown3D (zoom)"]= "Top Down (3D, zoom)",
|
||||
["plateform"] = "Plateformer",
|
||||
["options"] = "Options",
|
||||
["inventory"] = "Inventory",
|
||||
["1player"] = "1 Player",
|
||||
["2player"] = "2 Players",
|
||||
["3player"] = "3 Players",
|
||||
["4player"] = "4 Players",
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
return {
|
||||
["basic"] = "Exemples basiques",
|
||||
["menu"] = "Exemples de menus",
|
||||
["gameplay"] = "Examples de jeux",
|
||||
["test1"] = "Test basique 1",
|
||||
["test2"] = "Test basique 2",
|
||||
["testmenu"] = "Test basique menu",
|
||||
["topdown"] = "Vue du dessus",
|
||||
["topdown3D"] = "Vue du dessus (3D)",
|
||||
["topdown (zoom)"] = "Vue du dessus (zoom)",
|
||||
["topdown3D (zoom)"]= "Vue du dessus (3D, zoom)",
|
||||
["plateform"] = "Plateformer",
|
||||
["options"] = "Paramètres",
|
||||
["inventory"] = "Inventaire",
|
||||
["1player"] = "Un joueur",
|
||||
["2player"] = "Deux joueurs",
|
||||
["3player"] = "Trois joueurs",
|
||||
["4player"] = "Quatre joueurs",
|
||||
}
|
|
@ -0,0 +1,502 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<map version="1.2" tiledversion="1.2.4" orientation="orthogonal" renderorder="right-down" width="65" height="65" tilewidth="16" tileheight="16" infinite="0" nextlayerid="9" nextobjectid="85">
|
||||
<tileset firstgid="1" source="tileset_basic_terrain.tsx"/>
|
||||
<tileset firstgid="529" source="tileset_mountains.tsx"/>
|
||||
<tileset firstgid="1145" source="tileset_other.tsx"/>
|
||||
<layer id="1" name="base" width="65" height="65">
|
||||
<data encoding="csv">
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
|
||||
50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50
|
||||
</data>
|
||||
</layer>
|
||||
<layer id="2" name="stuff" width="65" height="65">
|
||||
<data encoding="csv">
|
||||
59,59,59,59,59,59,59,59,59,10,72,0,0,0,575,576,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,573,574,58,59,59,59,59,59,59,
|
||||
59,59,59,59,59,59,59,59,59,60,0,0,0,0,597,598,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,595,596,70,12,59,59,59,59,59,
|
||||
59,59,59,59,59,10,11,11,71,72,0,0,0,0,619,620,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,617,618,0,24,59,59,59,59,59,
|
||||
59,59,59,59,59,60,0,0,0,0,0,0,0,0,557,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,24,59,59,59,59,59,
|
||||
59,10,11,11,71,72,0,0,0,0,0,0,0,0,557,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,24,59,59,59,59,59,
|
||||
59,60,0,0,0,0,0,0,0,0,0,0,0,0,557,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,58,59,59,59,59,59,
|
||||
71,72,0,0,0,0,0,0,0,0,0,0,0,0,557,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,70,71,11,11,12,59,
|
||||
0,575,576,578,578,578,578,578,578,578,578,578,578,578,579,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,0,0,58,59,
|
||||
0,597,598,600,600,600,600,600,600,600,600,600,600,600,601,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,0,0,70,71,
|
||||
0,619,620,622,622,622,622,622,622,622,622,622,622,622,623,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,0,0,0,0,
|
||||
0,619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,148,149,149,149,149,149,149,149,149,149,149,149,149,149,150,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,0,0,0,0,
|
||||
0,619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,161,161,161,161,161,161,161,161,161,161,161,161,161,162,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,0,0,0,0,
|
||||
0,619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,161,161,161,161,161,161,161,161,161,161,161,161,161,162,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,0,0,0,0,
|
||||
0,619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,161,161,161,161,161,161,161,161,161,161,161,161,161,162,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,0,0,0,0,
|
||||
0,619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,161,161,161,161,161,161,161,161,161,161,161,161,161,162,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,0,0,0,0,
|
||||
0,619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,161,161,161,161,161,161,161,161,161,112,113,173,173,174,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,0,0,0,0,
|
||||
0,619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,161,161,161,161,161,161,161,161,161,124,125,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,0,0,0,0,
|
||||
0,619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,161,161,161,161,161,161,161,161,161,162,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,0,0,0,0,
|
||||
0,619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,161,161,112,113,173,173,173,173,173,174,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,577,578,578,573,574,0,0,0,
|
||||
0,619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,161,161,124,125,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,599,600,600,595,596,0,0,0,
|
||||
0,619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,172,173,173,174,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,621,622,622,617,618,0,0,0,
|
||||
0,619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,
|
||||
0,619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,
|
||||
0,619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,
|
||||
0,619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,
|
||||
0,619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,575,576,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,578,573,574,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,
|
||||
0,619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,597,598,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,600,595,596,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,
|
||||
0,619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,619,620,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,622,617,618,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,
|
||||
0,619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,557,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,
|
||||
0,619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,557,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,
|
||||
0,619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,557,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,
|
||||
0,619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,557,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,
|
||||
0,619,0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,0,0,0,0,0,0,0,555,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,
|
||||
0,619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,557,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,
|
||||
0,619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,531,532,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,529,530,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,
|
||||
0,0,534,535,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,553,554,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,551,552,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,
|
||||
0,0,556,557,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,
|
||||
0,0,0,531,532,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,
|
||||
0,0,0,553,554,534,534,534,534,534,534,534,535,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,557,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,
|
||||
0,0,0,0,0,0,0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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,557,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,557,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,555,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,531,532,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,529,530,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,553,554,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,534,551,552,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1145,1146,1147,1148,1149,1150,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1168,1169,1170,1171,1172,1173,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1363,0,0,0,0,0,0,1191,1192,1193,1194,1195,1196,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1214,1215,1216,1217,1218,1219,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1237,1238,1239,1240,1241,1242,0,0,0,1145,1146,1147,1148,1149,1150,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1260,1261,1262,1263,1264,1265,0,0,0,1168,1169,1170,1171,1172,1173,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,1145,1146,1147,1148,1149,1150,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1191,1192,1193,1194,1195,1196,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,1168,1169,1170,1171,1172,1173,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1214,1215,1216,1217,1218,1219,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,1191,1192,1193,1194,1195,1196,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1237,1238,1239,1240,1241,1242,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,1214,1215,1216,1217,1218,1219,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1260,1261,1262,1263,1264,1265,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,1237,1238,1239,1240,1241,1242,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,1260,1261,1262,1263,1264,1265,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
</data>
|
||||
</layer>
|
||||
<objectgroup id="8" name="box">
|
||||
<object id="80" x="64" y="160" width="16" height="16">
|
||||
<properties>
|
||||
<property name="adaptPosition" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="32"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="81" x="96" y="160" width="16" height="16">
|
||||
<properties>
|
||||
<property name="adaptPosition" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="32"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="82" x="128" y="160" width="16" height="16">
|
||||
<properties>
|
||||
<property name="adaptPosition" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="32"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="83" x="112" y="176" width="16" height="16">
|
||||
<properties>
|
||||
<property name="adaptPosition" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="32"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="84" x="80" y="176" width="16" height="16">
|
||||
<properties>
|
||||
<property name="adaptPosition" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="32"/>
|
||||
</properties>
|
||||
</object>
|
||||
</objectgroup>
|
||||
<objectgroup id="4" name="wall">
|
||||
<object id="1" x="544" y="144" width="96" height="64">
|
||||
<properties>
|
||||
<property name="d" type="int" value="16"/>
|
||||
<property name="fromTop" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="48"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="2" x="400" y="80" width="96" height="64">
|
||||
<properties>
|
||||
<property name="d" type="int" value="16"/>
|
||||
<property name="fromTop" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="48"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="3" x="176" y="176" width="96" height="64">
|
||||
<properties>
|
||||
<property name="d" type="int" value="16"/>
|
||||
<property name="fromTop" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="48"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="4" x="0" y="0" width="240" height="128">
|
||||
<properties>
|
||||
<property name="d" type="int" value="32"/>
|
||||
<property name="fromTop" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="64"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="5" x="0" y="128" width="32" height="544">
|
||||
<properties>
|
||||
<property name="d" type="int" value="32"/>
|
||||
<property name="fromTop" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="64"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="6" x="0" y="928" width="1040" height="112">
|
||||
<properties>
|
||||
<property name="d" type="int" value="32"/>
|
||||
<property name="fromTop" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="64"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="7" x="0" y="720" width="208" height="208">
|
||||
<properties>
|
||||
<property name="d" type="int" value="32"/>
|
||||
<property name="fromTop" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="64"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="8" x="0" y="672" width="64" height="48">
|
||||
<properties>
|
||||
<property name="d" type="int" value="32"/>
|
||||
<property name="fromTop" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="64"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="9" x="976" y="304" width="64" height="624">
|
||||
<properties>
|
||||
<property name="d" type="int" value="32"/>
|
||||
<property name="fromTop" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="64"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="10" x="912" y="0" width="128" height="304">
|
||||
<properties>
|
||||
<property name="d" type="int" value="32"/>
|
||||
<property name="fromTop" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="64"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="11" x="240" y="0" width="672" height="16">
|
||||
<properties>
|
||||
<property name="d" type="int" value="32"/>
|
||||
<property name="fromTop" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="64"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="16" x="0" y="0" width="416" height="1040">
|
||||
<properties>
|
||||
<property name="d" type="int" value="32"/>
|
||||
<property name="fromTop" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="32"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="17" x="416" y="0" width="624" height="416">
|
||||
<properties>
|
||||
<property name="d" type="int" value="32"/>
|
||||
<property name="fromTop" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="32"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="18" x="736" y="416" width="304" height="624">
|
||||
<properties>
|
||||
<property name="d" type="int" value="32"/>
|
||||
<property name="fromTop" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="32"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="19" x="416" y="672" width="320" height="368">
|
||||
<properties>
|
||||
<property name="d" type="int" value="32"/>
|
||||
<property name="fromTop" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="32"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="20" x="400" y="400" width="352" height="320">
|
||||
<properties>
|
||||
<property name="d" type="int" value="16"/>
|
||||
<property name="fromTop" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="0"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="27" x="576" y="496" width="96" height="48">
|
||||
<properties>
|
||||
<property name="d" type="int" value="16"/>
|
||||
<property name="fromTop" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="16"/>
|
||||
</properties>
|
||||
</object>
|
||||
</objectgroup>
|
||||
<objectgroup id="5" name="tree">
|
||||
<object id="21" x="656" y="96" width="32" height="32">
|
||||
<properties>
|
||||
<property name="z" type="int" value="32"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="22" x="688" y="288" width="32" height="32">
|
||||
<properties>
|
||||
<property name="z" type="int" value="32"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="23" x="480" y="352" width="32" height="32">
|
||||
<properties>
|
||||
<property name="z" type="int" value="32"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="24" x="496" y="560" width="32" height="32">
|
||||
<properties>
|
||||
<property name="z" type="int" value="0"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="25" x="192" y="320" width="32" height="32">
|
||||
<properties>
|
||||
<property name="z" type="int" value="32"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="26" x="304" y="96" width="32" height="32">
|
||||
<properties>
|
||||
<property name="z" type="int" value="32"/>
|
||||
</properties>
|
||||
</object>
|
||||
</objectgroup>
|
||||
<objectgroup id="6" name="player">
|
||||
<object id="29" x="592" y="592" width="16" height="16">
|
||||
<properties>
|
||||
<property name="z" type="int" value="0"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="77" x="624" y="592" width="16" height="16">
|
||||
<properties>
|
||||
<property name="z" type="int" value="0"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="78" x="624" y="624" width="16" height="16">
|
||||
<properties>
|
||||
<property name="z" type="int" value="0"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="79" x="592" y="624" width="16" height="16">
|
||||
<properties>
|
||||
<property name="z" type="int" value="0"/>
|
||||
</properties>
|
||||
</object>
|
||||
</objectgroup>
|
||||
<objectgroup id="7" name="coin">
|
||||
<object id="33" x="464" y="480" width="16" height="16">
|
||||
<properties>
|
||||
<property name="z" type="int" value="0"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="52" x="464" y="512" width="16" height="16">
|
||||
<properties>
|
||||
<property name="z" type="int" value="0"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="53" x="464" y="544" width="16" height="16">
|
||||
<properties>
|
||||
<property name="z" type="int" value="0"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="54" x="464" y="576" width="16" height="16">
|
||||
<properties>
|
||||
<property name="z" type="int" value="0"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="55" x="112" y="384" width="16" height="16">
|
||||
<properties>
|
||||
<property name="adaptPosition" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="32"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="68" x="144" y="384" width="16" height="16">
|
||||
<properties>
|
||||
<property name="adaptPosition" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="32"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="69" x="128" y="416" width="16" height="16">
|
||||
<properties>
|
||||
<property name="adaptPosition" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="32"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="70" x="176" y="384" width="16" height="16">
|
||||
<properties>
|
||||
<property name="adaptPosition" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="32"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="71" x="160" y="416" width="16" height="16">
|
||||
<properties>
|
||||
<property name="adaptPosition" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="32"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="72" x="768" y="176" width="16" height="16">
|
||||
<properties>
|
||||
<property name="adaptPosition" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="32"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="73" x="768" y="208" width="16" height="16">
|
||||
<properties>
|
||||
<property name="adaptPosition" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="32"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="74" x="736" y="208" width="16" height="16">
|
||||
<properties>
|
||||
<property name="adaptPosition" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="32"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="75" x="768" y="240" width="16" height="16">
|
||||
<properties>
|
||||
<property name="adaptPosition" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="32"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="76" x="800" y="208" width="16" height="16">
|
||||
<properties>
|
||||
<property name="adaptPosition" type="bool" value="true"/>
|
||||
<property name="z" type="int" value="32"/>
|
||||
</properties>
|
||||
</object>
|
||||
</objectgroup>
|
||||
</map>
|
After Width: | Height: | Size: 45 KiB |
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<tileset version="1.2" tiledversion="1.2.4" name="tileset_basic_terrain" tilewidth="16" tileheight="16" tilecount="528" columns="12">
|
||||
<image source="tileset_basic_terrain.png" width="192" height="704"/>
|
||||
</tileset>
|
After Width: | Height: | Size: 69 KiB |
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<tileset version="1.2" tiledversion="1.2.4" name="tileset_mountains" tilewidth="16" tileheight="16" tilecount="616" columns="22">
|
||||
<image source="tileset_mountains.png" width="352" height="448"/>
|
||||
</tileset>
|
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 59 KiB |
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<tileset version="1.2" tiledversion="1.2.4" name="tileset_other" tilewidth="16" tileheight="16" tilecount="736" columns="23">
|
||||
<image source="tileset_other.png" width="368" height="512"/>
|
||||
</tileset>
|
After Width: | Height: | Size: 114 KiB |
Before Width: | Height: | Size: 103 KiB After Width: | Height: | Size: 103 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
@ -0,0 +1 @@
|
|||
../framework/
|
|
@ -0,0 +1,9 @@
|
|||
local GameSystem = require "framework.gamesystem"
|
||||
local Game = GameSystem:extend()
|
||||
|
||||
function Game:new()
|
||||
Game.super.new(self)
|
||||
self.currentSlot = 1
|
||||
end
|
||||
|
||||
return Game
|
|
@ -1,70 +0,0 @@
|
|||
local Base = require "gamecore.modules.world.actors.actor2D"
|
||||
local Player = Base:extend()
|
||||
|
||||
function Player:new(world, x, y, id)
|
||||
Player.super.new(self, world, "player", x, y, 16, 24, true)
|
||||
self:setSprite("player", 8, 12)
|
||||
self:cloneSprite()
|
||||
self:setYGravity(480)
|
||||
end
|
||||
|
||||
function Player:updateStart(dt)
|
||||
self.xfrc = 480*3
|
||||
|
||||
if self.keys["up"].isPressed and (self.onGround) then
|
||||
self.ysp = -280
|
||||
end
|
||||
if self.keys["down"].isDown then
|
||||
--self.ysp = 120
|
||||
end
|
||||
if self.keys["left"].isDown then
|
||||
self.xsp = -120
|
||||
end
|
||||
if self.keys["right"].isDown then
|
||||
self.xsp = 120
|
||||
end
|
||||
|
||||
if self.keys["start"].isPressed then
|
||||
--self.world:switchActivity()
|
||||
--self.assets:switchActivity()
|
||||
self.scene.menusystem:activate()
|
||||
self.scene.menusystem:switchMenu("PauseMenu")
|
||||
self.scene:flushKeys()
|
||||
end
|
||||
|
||||
self:setDirection(self.xsp)
|
||||
end
|
||||
|
||||
function Player:updateEnd(dt)
|
||||
self:setAnimation()
|
||||
end
|
||||
|
||||
function Player:setAnimation()
|
||||
self:setCustomSpeed(math.abs(self.xsp) / 12)
|
||||
if (self.onGround) then
|
||||
if math.abs(self.xsp) > 0 then
|
||||
self:changeAnimation("walk", false)
|
||||
else
|
||||
self:changeAnimation("idle", true)
|
||||
end
|
||||
else
|
||||
self:changeAnimation("jump", true)
|
||||
end
|
||||
end
|
||||
|
||||
function Player:setDirection(direction)
|
||||
direction = direction or 0
|
||||
if direction ~= 0 then
|
||||
direction = utils.math.sign(direction)
|
||||
self:setSpriteScallingX(direction)
|
||||
end
|
||||
end
|
||||
|
||||
function Player:collisionResponse(collision)
|
||||
if collision.other.type == "coin" then
|
||||
collision.other:takeCoin(self)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
return Player
|
|
@ -1,5 +0,0 @@
|
|||
## PLATFORM EXEMPLE ASSET CREDITS
|
||||
|
||||
### Sprites
|
||||
|
||||
- [Monkey Lad in Magical Planet](https://opengameart.org/content/monkey-lad-in-magical-planet) by [surt](https://opengameart.org/users/surt)
|
|
@ -1,15 +0,0 @@
|
|||
return {
|
||||
["sprites"] = {
|
||||
{"player", "examples/gameplay/plateform/assets/monkey_lad"},
|
||||
{"coin", "examples/gameplay/plateform/assets/coin5"},
|
||||
{"sparkle", "examples/gameplay/plateform/assets/sparkle"}
|
||||
},
|
||||
["imagefonts"] = {
|
||||
{"medium", "examples/mainmenu/assets/medium"}
|
||||
},
|
||||
["sfx"] = {
|
||||
{"navigate", "examples/mainmenu/assets/menu_move.mp3"},
|
||||
{"confirm", "examples/mainmenu/assets/menu_confirm.mp3"},
|
||||
{"cancel", "examples/mainmenu/assets/menu_error.mp3"},
|
||||
}
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
return {
|
||||
MainMenu = require "examples.mainmenu",
|
||||
Test = require "examples.basic.test_scene",
|
||||
Test2 = require "examples.basic.test_scene2",
|
||||
TestMenu = require "examples.basic.test_menus",
|
||||
Inventory = require "examples.menus.inventory",
|
||||
Options = require "examples.menus.options",
|
||||
MovePlayer = require "examples.gameplay.moveplayer",
|
||||
Plateformer = require "examples.gameplay.plateform"
|
||||
}
|
|
@ -21,11 +21,12 @@
|
|||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
]]
|
||||
|
||||
Core = require "gamecore"
|
||||
examples = require "examples"
|
||||
require "framework"
|
||||
|
||||
function love.load()
|
||||
core = Core()
|
||||
scenes = require "scenes"
|
||||
|
||||
examples.MainMenu()
|
||||
function love.load(args)
|
||||
print(utils.table.toString(args))
|
||||
framework.start("game", args)
|
||||
scenes.MainMenu()
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
## Assets credits
|
||||
|
||||
- SFX by [Joth](http://opengameart.org/users/joth)
|
|
@ -1,10 +0,0 @@
|
|||
return {
|
||||
["imagefonts"] = {
|
||||
{"medium", "examples/mainmenu/assets/medium"}
|
||||
},
|
||||
["sfx"] = {
|
||||
{"navigate", "examples/mainmenu/assets/menu_move.mp3"},
|
||||
{"confirm", "examples/mainmenu/assets/menu_confirm.mp3"},
|
||||
{"cancel", "examples/mainmenu/assets/menu_error.mp3"},
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
return {
|
||||
filename = "medium.png",
|
||||
glyphs = "!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|} ",
|
||||
extraspacing = 1,
|
||||
}
|
Before Width: | Height: | Size: 2.0 KiB |
|
@ -1,139 +0,0 @@
|
|||
-- scenes/mainmenu :: the main menu of the different gamecore examples
|
||||
|
||||
--[[
|
||||
Copyright © 2019 Kazhnuz
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
]]
|
||||
|
||||
local Scene = require "gamecore.modules.scenes"
|
||||
local MainMenu = Scene:extend()
|
||||
|
||||
local ListBox = require "gamecore.modules.menusystem.listbox"
|
||||
local Widget = require "gamecore.modules.menusystem.widgets"
|
||||
|
||||
local SubMenuWidget = Widget.Text:extend()
|
||||
local SceneWidget = Widget.Text:extend()
|
||||
local ExitWidget = Widget.Text:extend()
|
||||
|
||||
function MainMenu:new()
|
||||
MainMenu.super.new(self)
|
||||
self.assets:batchImport("examples.mainmenu.assets")
|
||||
|
||||
self:addMenu("main", true)
|
||||
self:addSubMenu("basic", "basic")
|
||||
self:addScene("basic", examples.Test, "test1")
|
||||
self:addScene("basic", examples.Test2, "test2")
|
||||
self:addScene("basic", examples.TestMenu, "testmenu")
|
||||
self:addSubMenu("menus", "menu")
|
||||
self:addScene("menus", examples.Inventory, "inventory")
|
||||
self:addScene("menus", examples.Options, "options")
|
||||
self:addSubMenu("gameplay", "gameplay")
|
||||
self:addScene("gameplay", examples.MovePlayer, "movable")
|
||||
self:addScene("gameplay", examples.Plateformer, "plateform")
|
||||
|
||||
|
||||
self.menusystem:setSoundFromSceneAssets("navigate")
|
||||
|
||||
ExitWidget(self, "main")
|
||||
self.menusystem:switchMenu("main")
|
||||
end
|
||||
|
||||
-- MENU FUNCTION
|
||||
-- Functions that serve the handling of menus
|
||||
|
||||
function MainMenu:addMenu(name, nobackbutton)
|
||||
local screenHeight, screenWidth = core.screen:getDimensions()
|
||||
local w, h = 424/2, 240 - 48
|
||||
local x, y = w / 2, 24
|
||||
ListBox(self.menusystem, name, x, y, w, h, 8)
|
||||
end
|
||||
|
||||
function MainMenu:addSubMenu(name, fullname)
|
||||
self:addMenu(name)
|
||||
SubMenuWidget(self, "main", name, fullname)
|
||||
SubMenuWidget(self, name, "main", "back", 1)
|
||||
end
|
||||
|
||||
function MainMenu:addScene(submenu, scene, fullname)
|
||||
SceneWidget(self, submenu, scene, fullname)
|
||||
end
|
||||
|
||||
function MainMenu:draw()
|
||||
love.graphics.setColor(.3, .1, .4, 1)
|
||||
love.graphics.rectangle("fill", 0, 0, 424, 240)
|
||||
end
|
||||
|
||||
-- WIDGETS
|
||||
-- Widgets used by menus
|
||||
|
||||
-- Submenu widget :: go to a submenu
|
||||
|
||||
function SubMenuWidget:new(scene, menu, newmenu, fullname, order)
|
||||
self.scene = scene
|
||||
local widgetmenu = self.scene.menusystem.menus[menu]
|
||||
local font = self.scene.assets.fonts["medium"]
|
||||
self.newmenu = newmenu
|
||||
local label = ""
|
||||
if fullname == "back" then
|
||||
label = core.lang:translate("commons", fullname)
|
||||
self.sfx = "cancel"
|
||||
else
|
||||
label = core.lang:translate("mainmenu", fullname)
|
||||
self.sfx = "confirm"
|
||||
end
|
||||
SubMenuWidget.super.new(self, widgetmenu, font, label)
|
||||
self.order = order or 0
|
||||
end
|
||||
|
||||
function SubMenuWidget:action()
|
||||
self.scene.assets:playSFX(self.sfx)
|
||||
self.scene.menusystem:switchMenu(self.newmenu)
|
||||
end
|
||||
|
||||
-- Scene widget :: switch scene
|
||||
|
||||
function SceneWidget:new(scene, menu, newscene, fullname)
|
||||
self.scene = scene
|
||||
local widgetmenu = self.scene.menusystem.menus[menu]
|
||||
local font = self.scene.assets.fonts["medium"]
|
||||
self.newscene = newscene
|
||||
local label = core.lang:translate("mainmenu", fullname)
|
||||
SceneWidget.super.new(self, widgetmenu, font, label)
|
||||
end
|
||||
|
||||
function SceneWidget:action()
|
||||
core.scenemanager:storeCurrentScene("mainmenu")
|
||||
self.newscene()
|
||||
end
|
||||
|
||||
-- Exit Widget : exit the examples
|
||||
|
||||
function ExitWidget:new(scene, menu)
|
||||
self.scene = scene
|
||||
local widgetmenu = self.scene.menusystem.menus[menu]
|
||||
local font = self.scene.assets.fonts["medium"]
|
||||
local label = core.lang:translate("commons", "exit")
|
||||
SceneWidget.super.new(self, widgetmenu, font, label)
|
||||
end
|
||||
|
||||
function ExitWidget:action()
|
||||
love.event.quit()
|
||||
end
|
||||
|
||||
return MainMenu
|
|
@ -1,5 +0,0 @@
|
|||
return {
|
||||
filename = "medium.png",
|
||||
glyphs = "!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|} ",
|
||||
extraspacing = 1,
|
||||
}
|
Before Width: | Height: | Size: 2.0 KiB |
|
@ -21,55 +21,55 @@
|
|||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
]]
|
||||
|
||||
local Scene = require "gamecore.modules.scenes"
|
||||
local Scene = require "framework.scenes"
|
||||
local TestScene = Scene:extend()
|
||||
|
||||
local MenuType = require "gamecore.modules.menusystem.listbox"
|
||||
local MenuType2 = require "gamecore.modules.menusystem.flowbox"
|
||||
local MenuType3 = require "gamecore.modules.menusystem.grid"
|
||||
local Widget = require "gamecore.modules.menusystem.widgets"
|
||||
local MenuType = require "framework.scenes.gui.menus.listbox"
|
||||
local MenuType2 = require "framework.scenes.gui.menus.flowbox"
|
||||
local MenuType3 = require "framework.scenes.gui.menus.grid"
|
||||
local Widget = require "framework.scenes.gui.menus.widgets"
|
||||
|
||||
local MenuWidget = Widget.Text:extend()
|
||||
|
||||
function TestScene:new()
|
||||
TestScene.super.new(self)
|
||||
self.assets:addImageFont("medium", "examples/basic/test_menus/assets/medium")
|
||||
self.assets:addImageFont("medium", "assets/fonts/medium")
|
||||
|
||||
MenuType(self.menusystem, "testMenu1", 32, 32, 100, 24*8, 4)
|
||||
MenuWidget(self, "testMenu1", "text_menu1")
|
||||
Widget.Base(self.menusystem.menus["testMenu1"])
|
||||
Widget.Base(self.menusystem.menus["testMenu1"])
|
||||
Widget.Base(self.menusystem.menus["testMenu1"])
|
||||
Widget.Base(self.menusystem.menus["testMenu1"])
|
||||
Widget.Base(self.menusystem.menus["testMenu1"])
|
||||
Widget.Base("testMenu1")
|
||||
Widget.Base("testMenu1")
|
||||
Widget.Base("testMenu1")
|
||||
Widget.Base("testMenu1")
|
||||
Widget.Base("testMenu1")
|
||||
|
||||
MenuType2(self.menusystem, "testMenu2", 164, 32, 24*8, 24*2, 8, 2)
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base("testMenu2")
|
||||
Widget.Base("testMenu2")
|
||||
Widget.Base("testMenu2")
|
||||
Widget.Base("testMenu2")
|
||||
Widget.Base("testMenu2")
|
||||
Widget.Base("testMenu2")
|
||||
Widget.Base("testMenu2")
|
||||
Widget.Base("testMenu2")
|
||||
Widget.Base("testMenu2")
|
||||
Widget.Base("testMenu2")
|
||||
Widget.Base("testMenu2")
|
||||
Widget.Base("testMenu2")
|
||||
Widget.Base("testMenu2")
|
||||
Widget.Base("testMenu2")
|
||||
Widget.Base("testMenu2")
|
||||
Widget.Base("testMenu2")
|
||||
Widget.Base("testMenu2")
|
||||
Widget.Base("testMenu2")
|
||||
Widget.Base("testMenu2")
|
||||
Widget.Base("testMenu2")
|
||||
|
||||
MenuType3(self.menusystem, "testMenu3", 164, 32 + 72, 24*8, 24*5, 8, 5)
|
||||
Widget.Base(self.menusystem.menus["testMenu3"])
|
||||
Widget.Base(self.menusystem.menus["testMenu3"])
|
||||
Widget.Base(self.menusystem.menus["testMenu3"])
|
||||
Widget.Base(self.menusystem.menus["testMenu3"])
|
||||
Widget.Base("testMenu3")
|
||||
Widget.Base("testMenu3")
|
||||
Widget.Base("testMenu3")
|
||||
Widget.Base("testMenu3")
|
||||
self.menusystem.menus["testMenu3"]:addSlot(1, 0, 0, 4, 3)
|
||||
self.menusystem.menus["testMenu3"]:addSlot(2, 0, 3, 5, 2)
|
||||
self.menusystem.menus["testMenu3"]:addSlot(3, 5, 0, 3, 1)
|
||||
|
@ -120,7 +120,7 @@ end
|
|||
|
||||
function TestScene:addTextWidget(menu, number)
|
||||
for i=1, number do
|
||||
Widget.Text(self.menusystem.menus[menu], self.assets.fonts["medium"], "lorem ipsum " .. i)
|
||||
Widget.Text(menu, "medium", "lorem ipsum " .. i)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -131,10 +131,8 @@ end
|
|||
|
||||
function MenuWidget:new(scene, menu, newmenu)
|
||||
self.scene = scene
|
||||
local widgetmenu = self.scene.menusystem.menus[menu]
|
||||
local font = self.scene.assets.fonts["medium"]
|
||||
self.newmenu = newmenu
|
||||
MenuWidget.super.new(self, widgetmenu, font, newmenu)
|
||||
MenuWidget.super.new(self, menu, "menu", newmenu)
|
||||
end
|
||||
|
||||
function MenuWidget:action()
|
|
@ -21,7 +21,7 @@
|
|||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
]]
|
||||
|
||||
local Scene = require "gamecore.modules.scenes"
|
||||
local Scene = require "framework.scenes"
|
||||
local TestScene = Scene:extend()
|
||||
|
||||
function TestScene:new()
|
||||
|
@ -37,9 +37,9 @@ end
|
|||
function TestScene:mousepressed(x, y)
|
||||
if (x > 424/2) then
|
||||
core.scenemanager:storeCurrentScene("pausedScene")
|
||||
examples.Test2()
|
||||
scenes.Test2()
|
||||
else
|
||||
examples.TestMenu()
|
||||
scenes.TestMenu()
|
||||
end
|
||||
end
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
local Parent = require "examples.basic.test_scene2.actors.parent"
|
||||
local Parent = require "scenes.basic.test_scene2.actors.parent"
|
||||
local Explosion = Parent:extend()
|
||||
|
||||
function Explosion:new(world, x, y)
|
|
@ -1,4 +1,4 @@
|
|||
local Base = require "gamecore.modules.world.actors.actor2D"
|
||||
local Base = require "framework.scenes.world.actors.actor2D"
|
||||
local Parent = Base:extend()
|
||||
|
||||
function Parent:new(world, type, x, y, w, h)
|
|
@ -0,0 +1,13 @@
|
|||
local folder = "scenes/basic/test_scene2/"
|
||||
|
||||
return {
|
||||
["images"] = {
|
||||
{"debris", "assets/sprites/debris.png"}
|
||||
},
|
||||
["tilesets"] = {
|
||||
{"weapon", "assets/sprites/weapon"}
|
||||
},
|
||||
["sprites"] = {
|
||||
{"poof", "assets/sprites/gfx/poof"}
|
||||
}
|
||||
}
|
|
@ -21,22 +21,22 @@
|
|||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
]]
|
||||
|
||||
local Scene = require "gamecore.modules.scenes"
|
||||
local Scene = require "framework.scenes"
|
||||
local TestScene = Scene:extend()
|
||||
|
||||
local folder = "examples/basic/test_scene2/"
|
||||
local folder = "scenes/basic/test_scene2/"
|
||||
|
||||
local World = require "gamecore.modules.world.baseworld"
|
||||
local World = require "framework.scenes.world.baseworld"
|
||||
|
||||
function TestScene:new()
|
||||
TestScene.super.new(self)
|
||||
|
||||
self.assets:batchImport("examples.basic.test_scene2.assets")
|
||||
self.assets:batchImport("scenes.basic.test_scene2.assets")
|
||||
|
||||
self.i = 0
|
||||
self.estImpair = false
|
||||
|
||||
World(self, "examples.basic.test_scene2.actors")
|
||||
World(self, "scenes.basic.test_scene2.actors")
|
||||
|
||||
self.world:newActor("explosion", 12, 12)
|
||||
self.world:newActor("explosion", 1, 78)
|
|
@ -0,0 +1,10 @@
|
|||
local Base = require "framework.scenes.world.actors.actor3D"
|
||||
local Box = Base:extend()
|
||||
|
||||
function Box:new(world, x, y, z)
|
||||
Box.super.new(self, world, "box", x, y, z, 16, 16, 16, true)
|
||||
self:setDebugColor(0,0,0)
|
||||
self.boxes.Textured(self, 16, 16, 16, "boxtop", "box")
|
||||
end
|
||||
|
||||
return Box
|
|
@ -0,0 +1,14 @@
|
|||
local Base = require "framework.scenes.world.actors.actor3D"
|
||||
local Coin = Base:extend()
|
||||
|
||||
function Coin:new(world, x, y, z)
|
||||
Coin.super.new(self, world, "coin", x, y, z + 16, 16, 16, 16, false)
|
||||
self:setSprite("coin")
|
||||
end
|
||||
|
||||
function Coin:takeCoin(other)
|
||||
self.obj.GFX(self.world, self.x + 8, self.y + 8, self.z + 8, "sparkle")
|
||||
self:destroy( )
|
||||
end
|
||||
|
||||
return Coin
|
|
@ -0,0 +1,13 @@
|
|||
return {
|
||||
["idle"] = {
|
||||
{
|
||||
{"main", {0, 0, 0, 16, 16, 24}, true}
|
||||
}
|
||||
},
|
||||
["punch"] = {
|
||||
{
|
||||
{"main", {0, 0, 0, 16, 16, 24}, true},
|
||||
{"punch", {16, 2, 6, 12, 12, 12}, false}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
local Obj = {}
|
||||
|
||||
-- On charge toutes les différentes types d'acteurs
|
||||
local cwd = (...):gsub('%.init$', '') .. "."
|
||||
Obj.Player = require(cwd .. "player")
|
||||
Obj.Box = require(cwd .. "box")
|
||||
Obj.Coin = require(cwd .. "coin")
|
||||
Obj.GFX = require("framework.scenes.world.actors.gfx3D")
|
||||
|
||||
Obj.index = {}
|
||||
Obj.index["player"] = Obj.Player
|
||||
Obj.index["box"] = Obj.Box
|
||||
Obj.index["coin"] = Obj.Coin
|
||||
|
||||
Obj.collisions = {}
|
||||
Obj.collisions["wall"] = require(cwd .. "wall")
|
||||
|
||||
return Obj
|
|
@ -0,0 +1,13 @@
|
|||
local Base = require "framework.scenes.world.actors.actor3D"
|
||||
local Parent = Base:extend()
|
||||
|
||||
function Parent:new(world, type, x, y, z, w, h, d, isSolid)
|
||||
self.scene = world.scene
|
||||
Parent.super.new(self, world, type, x, y, z, w, h, d, isSolid)
|
||||
end
|
||||
|
||||
function Parent:draw()
|
||||
Parent.super.draw(self)
|
||||
end
|
||||
|
||||
return Parent
|
|
@ -0,0 +1,97 @@
|
|||
local cwd = (...):gsub('%.player$', '') .. "."
|
||||
local Parent = require(cwd .. "parent")
|
||||
local Player = Parent:extend()
|
||||
|
||||
function Player:new(world, x, y, z, id)
|
||||
Player.super.new(self, world, "player", x, y, 0, 16, 16, 24, true)
|
||||
self:setGravity(480)
|
||||
|
||||
self:setSprite("player", true, 8, 12)
|
||||
self:setHitboxFile("scenes.gameplay.action3D.actors.hitboxes.player")
|
||||
end
|
||||
|
||||
function Player:updateStart(dt)
|
||||
self.xfrc, self.yfrc = 480*3, 480*3
|
||||
|
||||
if self.keys["up"].isDown then
|
||||
self.ysp = -120
|
||||
end
|
||||
if self.keys["down"].isDown then
|
||||
self.ysp = 120
|
||||
end
|
||||
if self.keys["left"].isDown then
|
||||
self.xsp = -120
|
||||
end
|
||||
if self.keys["right"].isDown then
|
||||
self.xsp = 120
|
||||
end
|
||||
|
||||
if self.keys["A"].isDown and (self.onGround) then
|
||||
self.zsp = 280
|
||||
end
|
||||
|
||||
if self.keys["B"].isDown then
|
||||
self.isPunching = true
|
||||
else
|
||||
self.isPunching = false
|
||||
end
|
||||
|
||||
if (self.isPunching) then
|
||||
self:checkHitboxesCollisions()
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
function Player:updateEnd(dt)
|
||||
self:setAnimation()
|
||||
end
|
||||
|
||||
function Player:setAnimation()
|
||||
local gsp = utils.math.pointDistance(0, 0, self.xsp, self.ysp)
|
||||
self.sprite:setCustomSpeed(math.abs(gsp) / 12)
|
||||
self:setDirection(self.xsp)
|
||||
if (self.isPunching) then
|
||||
self.sprite:changeAnimation("punch", false)
|
||||
else
|
||||
if (self.onGround) then
|
||||
if (math.abs(self.xsp) > 0) or (math.abs(self.ysp) > 0) then
|
||||
self.sprite:changeAnimation("walk", false)
|
||||
else
|
||||
self.sprite:changeAnimation("idle", true)
|
||||
end
|
||||
else
|
||||
self.sprite:changeAnimation("jump", true)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function Player:setDirection(direction)
|
||||
direction = direction or 0
|
||||
if direction ~= 0 then
|
||||
direction = utils.math.sign(direction)
|
||||
self.direction = direction
|
||||
self.sprite:setScalling(direction, nil)
|
||||
end
|
||||
end
|
||||
|
||||
function Player:collisionResponse(collision)
|
||||
if collision.other.type == "coin" then
|
||||
collision.other.owner:takeCoin(self)
|
||||
end
|
||||
end
|
||||
|
||||
function Player:hitboxResponse(name, type, collision)
|
||||
if (collision.other.type == "coin") and (type == "punch") then
|
||||
collision.other.owner:takeCoin(self)
|
||||
end
|
||||
end
|
||||
|
||||
function Player:draw()
|
||||
Player.super.draw(self)
|
||||
end
|
||||
|
||||
function Player:drawHUD(id)
|
||||
love.graphics.print(id .. " test", 4, 4)
|
||||
end
|
||||
|
||||
return Player
|
|
@ -0,0 +1,10 @@
|
|||
local Base = require "framework.scenes.world.actors.actor3D"
|
||||
local Wall = Base:extend()
|
||||
|
||||
function Wall:new(world, x, y, z, w, h, d)
|
||||
Wall.super.new(self, world, "wall", x, y, z, w, h, d, true)
|
||||
self:setDebugColor(0,0,0)
|
||||
self.boxes.Mapped(self, x, y, z, w, h, d)
|
||||
end
|
||||
|
||||
return Wall
|
|
@ -0,0 +1,45 @@
|
|||
-- scenes/moveplayer3D :: a basic player movement example in fake3D
|
||||
|
||||
--[[
|
||||
Copyright © 2019 Kazhnuz
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
]]
|
||||
|
||||
local Scene = require "framework.scenes"
|
||||
local MovePlayer = Scene:extend()
|
||||
|
||||
local World = require "framework.scenes.world.world3D"
|
||||
|
||||
function MovePlayer:new(playerNumber, cameraMode)
|
||||
local playerNumber = playerNumber or 1
|
||||
local cameraMode = cameraMode or "split"
|
||||
|
||||
MovePlayer.super.new(self)
|
||||
self.assets:batchImport("scenes.gameplay.plateform.assets")
|
||||
|
||||
World(self, "scenes.gameplay.action3D.actors", "datas/maps/action3D/map.lua")
|
||||
|
||||
self.world:setPlayerNumber(playerNumber)
|
||||
self.world.cameras:setMode(cameraMode)
|
||||
|
||||
self.world:loadMap()
|
||||
--self.world.obj.collisions["wall"](self.world, 0,0,-16,1000, 1000, 16)
|
||||
end
|
||||
|
||||
return MovePlayer
|
|
@ -1,4 +1,4 @@
|
|||
local Base = require "gamecore.modules.world.actors.actor2D"
|
||||
local Base = require "framework.scenes.world.actors.actor2D"
|
||||
local Parent = Base:extend()
|
||||
|
||||
function Parent:new(world, type, x, y, w, h, isSolid)
|
||||
|
@ -7,7 +7,7 @@ function Parent:new(world, type, x, y, w, h, isSolid)
|
|||
end
|
||||
|
||||
function Parent:draw()
|
||||
self:drawHitbox()
|
||||
self:drawMainHitbox()
|
||||
end
|
||||
|
||||
return Parent
|
|
@ -1,4 +1,4 @@
|
|||
local Base = require "gamecore.modules.world.actors.actor2D"
|
||||
local Base = require "framework.scenes.world.actors.actor2D"
|
||||
local Wall = Base:extend()
|
||||
|
||||
function Wall:new(world, x, y, w, h)
|
||||
|
@ -7,7 +7,7 @@ function Wall:new(world, x, y, w, h)
|
|||
end
|
||||
|
||||
function Wall:draw()
|
||||
self:drawHitbox()
|
||||
self:drawMainHitbox()
|
||||
utils.graphics.resetColor( )
|
||||
end
|
||||
|
|
@ -21,17 +21,21 @@
|
|||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
]]
|
||||
|
||||
local Scene = require "gamecore.modules.scenes"
|
||||
local Scene = require "framework.scenes"
|
||||
local MovePlayer = Scene:extend()
|
||||
|
||||
local World = require "gamecore.modules.world.world2D"
|
||||
local World = require "framework.scenes.world.world2D"
|
||||
|
||||
function MovePlayer:new(playerNumber, cameraMode)
|
||||
local playerNumber = playerNumber or 1
|
||||
local cameraMode = cameraMode or "split"
|
||||
|
||||
function MovePlayer:new()
|
||||
MovePlayer.super.new(self)
|
||||
|
||||
World(self, "examples.gameplay.moveplayer.actors", "examples/gameplay/moveplayer/assets/arena.lua")
|
||||
World(self, "scenes.gameplay.moveplayer.actors", "datas/maps/topdown/arena.lua")
|
||||
|
||||
self.world:setPlayerNumber(4)
|
||||
self.world:setPlayerNumber(playerNumber)
|
||||
self.world.cameras:setMode(cameraMode)
|
||||
|
||||
self.world:loadMap()
|
||||
end
|
|
@ -0,0 +1,13 @@
|
|||
local Obj = {}
|
||||
|
||||
-- On charge toutes les différentes types d'acteurs
|
||||
local cwd = (...):gsub('%.init$', '') .. "."
|
||||
Obj.Player = require(cwd .. "player")
|
||||
|
||||
Obj.index = {}
|
||||
Obj.index["player"] = Obj.Player
|
||||
|
||||
Obj.collisions = {}
|
||||
Obj.collisions["wall"] = require(cwd .. "wall")
|
||||
|
||||
return Obj
|
|
@ -0,0 +1,14 @@
|
|||
local Base = require "framework.scenes.world.actors.actor3D"
|
||||
local Parent = Base:extend()
|
||||
|
||||
function Parent:new(world, type, x, y, z, w, h, d, isSolid)
|
||||
self.scene = world.scene
|
||||
Parent.super.new(self, world, type, x, y, z, w, h, d, isSolid)
|
||||
end
|
||||
|
||||
function Parent:draw()
|
||||
Parent.super.draw(self)
|
||||
self:drawMainHitbox()
|
||||
end
|
||||
|
||||
return Parent
|
|
@ -0,0 +1,73 @@
|
|||
local cwd = (...):gsub('%.player$', '') .. "."
|
||||
local Parent = require(cwd .. "parent")
|
||||
local Player = Parent:extend()
|
||||
|
||||
function Player:new(world, x, y, z, id)
|
||||
Player.super.new(self, world, "player", x, y, 0, 16, 16, 24, true)
|
||||
self:setGravity(480)
|
||||
|
||||
self:setSprite("player", true, 8, 12)
|
||||
end
|
||||
|
||||
function Player:updateStart(dt)
|
||||
self.xfrc, self.yfrc = 480*3, 480*3
|
||||
|
||||
if self.keys["up"].isDown then
|
||||
self.ysp = -120
|
||||
end
|
||||
if self.keys["down"].isDown then
|
||||
self.ysp = 120
|
||||
end
|
||||
if self.keys["left"].isDown then
|
||||
self.xsp = -120
|
||||
end
|
||||
if self.keys["right"].isDown then
|
||||
self.xsp = 120
|
||||
end
|
||||
|
||||
if self.keys["A"].isDown and (self.onGround) then
|
||||
self.zsp = 280
|
||||
end
|
||||
end
|
||||
|
||||
function Player:updateEnd(dt)
|
||||
self:setAnimation()
|
||||
end
|
||||
|
||||
function Player:setAnimation()
|
||||
local gsp = utils.math.pointDistance(0, 0, self.xsp, self.ysp)
|
||||
self.sprite:setCustomSpeed(math.abs(gsp) / 12)
|
||||
self:setDirection(self.xsp)
|
||||
if (self.isPunching) then
|
||||
self.sprite:changeAnimation("punch", false)
|
||||
else
|
||||
if (self.onGround) then
|
||||
if (math.abs(self.xsp) > 0) or (math.abs(self.ysp) > 0) then
|
||||
self.sprite:changeAnimation("walk", false)
|
||||
else
|
||||
self.sprite:changeAnimation("idle", true)
|
||||
end
|
||||
else
|
||||
self.sprite:changeAnimation("jump", true)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function Player:setDirection(direction)
|
||||
direction = direction or 0
|
||||
if direction ~= 0 then
|
||||
direction = utils.math.sign(direction)
|
||||
self.direction = direction
|
||||
self.sprite:setScalling(direction, nil)
|
||||
end
|
||||
end
|
||||
|
||||
function Player:draw()
|
||||
Player.super.draw(self)
|
||||
end
|
||||
|
||||
function Player:drawHUD(id)
|
||||
love.graphics.print(id .. " test", 4, 4)
|
||||
end
|
||||
|
||||
return Player
|
|
@ -0,0 +1,10 @@
|
|||
local Base = require "framework.scenes.world.actors.actor3D"
|
||||
local Wall = Base:extend()
|
||||
|
||||
function Wall:new(world, x, y, z, w, h, d)
|
||||
Wall.super.new(self, world, "wall", x, y, z, w, h, d, true)
|
||||
self:setDebugColor(0,0,0)
|
||||
self.boxes.Base(self, w, h, d)
|
||||
end
|
||||
|
||||
return Wall
|
|
@ -0,0 +1,45 @@
|
|||
-- scenes/moveplayer3D :: a basic player movement example in fake3D
|
||||
|
||||
--[[
|
||||
Copyright © 2019 Kazhnuz
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
]]
|
||||
|
||||
local Scene = require "framework.scenes"
|
||||
local MovePlayer = Scene:extend()
|
||||
|
||||
local World = require "framework.scenes.world.world3D"
|
||||
|
||||
function MovePlayer:new(playerNumber, cameraMode)
|
||||
local playerNumber = playerNumber or 1
|
||||
local cameraMode = cameraMode or "split"
|
||||
|
||||
MovePlayer.super.new(self)
|
||||
self.assets:batchImport("scenes.gameplay.plateform.assets")
|
||||
|
||||
World(self, "scenes.gameplay.moveplayer3D.actors", "datas/maps/topdown/arena.lua")
|
||||
|
||||
self.world:setPlayerNumber(playerNumber)
|
||||
self.world.cameras:setMode(cameraMode)
|
||||
|
||||
self.world:loadMap()
|
||||
self.world.obj.collisions["wall"](self.world, 0,0,-16,1000, 1000, 16)
|
||||
end
|
||||
|
||||
return MovePlayer
|