[Update 3] CloveX - powerfull game editor and engine for LÖVE

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
AnRu
Citizen
Posts: 69
Joined: Sun Oct 27, 2013 1:33 pm
Contact:

[Update 3] CloveX - powerfull game editor and engine for LÖVE

Post by AnRu » Thu Aug 04, 2016 8:25 pm

Hi
I would like to tell you about starting of the development first full featured Unity-like editor for LÖVE.
I think making some things automatic with visual editors and tools will produce performance and reduce time of development

There are screenshot with what I done yet:

Image

This is the first vision of entity editor, you can drag camera by mouse, toggle and resize grid and toggle ruler coodrinates
There are also two nested images with both coordinates (50;50) but second is nested in first

Main goals (will be updated):
- Project managment
- Entity editor
- Properties inspector
- One-click building
- Entity trees and transformations
- Lighweight Love2d-based Engine and Editor API
- ...

Update 3: Huge engine update

For now we are not working on editor but with engine.
For example, now you don't need to use 'self' in script, all functions are automaticly sandboxes:

Code: Select all

property("rotationAmount", 620) -- per sec

function load()
	transform = entity:getComponent("Transform")
end

function update(dt)
	transform.rotation = transform.rotation + rotationAmount * dt
end
As you can see there are also 'property' function. This is for future editor integration.
Another update is first built-in comonents: Transform, Sprite, Shape.

Update 2: Script sandboxing

CloveX uses component system. Every script (even default like transformation) you can modify
Script reference is very simple:

Code: Select all

-- Globals are listed in inspector's window
someValue1 = 123
someValue2 = "Hey!"

-- Callbascks, that engine runs
function load(self)

end

function update(self, dt)

end
-- ...
This is very basicly script. For now, entites can have multiply different propeties, that defined in '.entity' file
For example, on start entities can have 50 50 position, instead of 0 0 that defined below.
part of 'entity' file (JSON):

Code: Select all

...
"properties": 
[
	{"key": "position", "value": {"x": 50, "y": 50}},
	{"key": "rotation", "value": 90},
	{"key": "scale", "value": {"x": 50, "y": 50}}
]
...
Update: X/Y/X+Y tools for position change

Image

I also thinked about implementing code editor and figured out that is not necessary - 90% of lovers are using another editors for Lua and this is good :)
Because of this i'll implement support for the most usable code editors and also leave place for integrating your own
As a default editor I chose Atom

I need your help to figure what features you prefer to see inside CloveX first
Leave your proposals here or in the Issues section of the repo


Great thanks to developers of Editor Framework for Electron

Leave your opinion about project :)

Repo: Bitbucket
Last edited by AnRu on Thu Aug 18, 2016 10:29 am, edited 5 times in total.

User avatar
Ulydev
Party member
Posts: 438
Joined: Mon Nov 10, 2014 10:46 pm
Location: Paris
Contact:

Re: [InDev] CloveX - powerfull game editor/engine for LÖVE

Post by Ulydev » Fri Aug 05, 2016 3:20 am

Interesting! I'm looking forward to experimenting with this :awesome:

bobbyjones
Party member
Posts: 720
Joined: Sat Apr 26, 2014 7:46 pm

Re: [InDev] CloveX - powerfull game editor/engine for LÖVE

Post by bobbyjones » Fri Aug 05, 2016 5:40 am

I found a small tiny insignificant bug. It's not made in love :'(
Do you frequently have great ideas but immediately lose them? Check out the MVP for my website called IdeaVault. It is designed to solve that problem. Desktop browsers only currently.

User avatar
AnRu
Citizen
Posts: 69
Joined: Sun Oct 27, 2013 1:33 pm
Contact:

Re: [InDev] CloveX - powerfull game editor/engine for LÖVE

Post by AnRu » Fri Aug 05, 2016 7:28 am

bobbyjones wrote:I found a small tiny insignificant bug. It's not made in love :'(
Love2d not very suitable to use it for creating editors. editor-framework and electron have some great advantages:
- as a love2d, electron apps can be run on Windows, MacOS and Linux
- implemented package system
- auto-updating from-the-box
- nice UI and future theming
- great docking system with nestin panels

bobbyjones
Party member
Posts: 720
Joined: Sat Apr 26, 2014 7:46 pm

Re: [InDev] CloveX - powerfull game editor/engine for LÖVE

Post by bobbyjones » Fri Aug 05, 2016 3:21 pm

love is perfectly suitable for making editors. It is just a bit more work but ultimately it would pay off imo at least.
Do you frequently have great ideas but immediately lose them? Check out the MVP for my website called IdeaVault. It is designed to solve that problem. Desktop browsers only currently.

User avatar
AnRu
Citizen
Posts: 69
Joined: Sun Oct 27, 2013 1:33 pm
Contact:

Re: [InDev] CloveX - powerfull game editor/engine for LÖVE

Post by AnRu » Fri Aug 05, 2016 4:09 pm

bobbyjones wrote:love is perfectly suitable for making editors. It is just a bit more work but ultimately it would pay off imo at least.
Using love for editors will reduce speed of development. Too many things must be implemented :)

bobbyjones
Party member
Posts: 720
Joined: Sat Apr 26, 2014 7:46 pm

Re: [Update 1] CloveX - powerfull game editor/engine for LÖVE

Post by bobbyjones » Fri Aug 05, 2016 11:20 pm

But things implemented can ultimately be used for other games and projects as libraries.
Do you frequently have great ideas but immediately lose them? Check out the MVP for my website called IdeaVault. It is designed to solve that problem. Desktop browsers only currently.

User avatar
AnRu
Citizen
Posts: 69
Joined: Sun Oct 27, 2013 1:33 pm
Contact:

Re: [Update 1] CloveX - powerfull game editor/engine for LÖVE

Post by AnRu » Sat Aug 06, 2016 5:58 am

bobbyjones wrote:But things implemented can ultimately be used for other games and projects as libraries.
Only editor will be done with editor-framework, other things like engine API's of course will be as Love2d lua files :)

User avatar
AntonioModer
Party member
Posts: 202
Joined: Fri Jun 15, 2012 5:31 pm
Location: Belarus
Contact:

Re: [Update 1] CloveX - powerfull game editor/engine for LÖVE

Post by AntonioModer » Sat Aug 06, 2016 8:23 am

Good topic.
But when I found out that Editor written in Javascript, then upset.
This is a bad idea make non-native editor.
In the future, hi will be limited (due to the difference of languages, frameworks, ...).
By the way, I also do a native simple game editor (game engine) for my game:
TDVGE.png
TDVGE.png (684.78 KiB) Viewed 5905 times
About GUI.
I found powerful UI library:

Image

Unfinished UI library, can run with or without Love (needs Love 0.9.2 or 0.10.0, or LuaJIT + SDL + SDL_ttf + SDL_image)
https://github.com/airstruck/luigi
(found there: viewtopic.php?f=3&t=2198&p=191892#p191892)

ObeyJay
Prole
Posts: 4
Joined: Thu Apr 23, 2015 6:22 pm

Re: [Update 1] CloveX - powerfull game editor/engine for LÖVE

Post by ObeyJay » Sat Aug 06, 2016 6:45 pm

Hey AnRu, your initiative is most welcome.

Löve is a great technology which in my opinion has been painfully lagging behind competing frameworks when it comes to tools for ease/speed of development.

Regarding your choice for Electron, please don't listen to the nay-sayers... of course a Löve based editor would offer powerful and unique features.. but Electron is awesome and in the end it's all about of what you are able to accomplish and I'm sure most people would agree that a well-rounded non-native editor could be more useful than a plethora of half-baked native ones.

So keep on it and prove the skeptics wrong, the ball is on your court ;-)

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests