Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dragosha/slasher-prototype

Defold. Lua. Game prototype. 2.5D perspective view. Levels loader, a hero controller, simple monsters logic.
https://github.com/dragosha/slasher-prototype

defold defold-game game-prototype spine-animation

Last synced: 7 days ago
JSON representation

Defold. Lua. Game prototype. 2.5D perspective view. Levels loader, a hero controller, simple monsters logic.

Awesome Lists containing this project

README

        

![](slasher.jpg)

# slasher-prototype
Game prototype. 2.5D perspective view. Levels loader, the hero controller, monsters and basic AI logic.
Gamepad and keyboard binding supported.
LUA. Defold engine.

## HTML5 demo
Try here: [demo](https://dragosha.github.io/slasher-prototype/)

## Code
**Used dependencies:**
* Defold-input (by britzl)
* Rendercam (by rgrams)
* ludobits (by britzl)

## Level design
![](docs/level.jpg)
tip: use ```Ctrl(cmd)+LeftMouse``` to rotate camera in the editor.

Notice: Y-coordinate of gameobject used as pivot for auto-correction Z-coordinate for perspective view of scene. See: scene.script > load_complete function.

![](docs/pivot.png)

**Composite object:**

![](docs/composite.png)
- contains 2 sprite component, one for a front plane, second for a top plane with rotating around X-axe

## Art and animations license:

CC0 1.0 Universal
You’re free to use these assets in any project, personal or commercial. There’s no need to ask permission before using these. Giving attribution is not required, but is greatly appreciated!