Hi
Since january 2017, I have started a tool for AGK. It's a 2d scene editor, named Age2d (for AppGameKit game editor 2d).
it's very wip, because It's only the version 0.41 , but it has some cool features ^^.
I use AppGameKit ( tier1 basic) to create this editor, so it's completely compatible with AppGameKit
. This editor is based on the code of my 3D editor (named age 3D ^^) which isn't finished, but very advanced.
Age2D is a wip version, a lot of things will be changed in the next versions.
The features of the current Version :
- Object (Create, delete, transformations) : Sprite, light (kind of), text, virtual button, virtual joystick, particles, tiles.
- Image : we can use several directories in our folder Images, to manage our images (monster/player/Background/house/plant/UI/bonus...). We can use the same images directory for differents projects if we want. The images of the current directory are drawn in a list-icon, to select the image we want to use with our object (sprite, particle...).
- To create an object, we can use : drag & drop (from the list icon of images), press key (A) or use the pain tool and click on the canvas to add it.
- Animation : For the moment, only spritesheet. We can set the animated parameters (Number of frame in width & height), sprite with animation is played. We can change the speed for animation.
- Transformation : position, rotation, scale/size, flip,
-Parameters we can change :
All objects : UvW/UvH, blendmode (=transparency), shaders, alpha, color, depth+autodepth, fixtoscreen, image, useambient colo, + editor parameter (hide, locked).
Text object : string$, maxwidth, alignment.
Particles : life, frequency, random range position (fixed), size
Tile : + number of frame (in width & height)
Some parameters aren't available for particular types of object (particles, virtual button,/joystick)
- save / load document (sprites, light, text, virtual button/joystick are saved/loaded), export in AGk code (not finished)
- Play the game : we can test our game. I have added some gameplays (behavior) to help test the levels (objectIsPlayer, keyboardPlayer, centerviewonplayer, clic&go...)
- physic : we can add some physics to sprite and use physics in the scene. (It's not finished). We can change the type of physics (none, static, dynamic, kinematic) and other parameters (canrotate, restition, mass, damping, shape (box,circle, polygon (automatic)...)
- zoom & pan view (+speed of pan), reset view, Snap, lock (x,y), Depth/autodepth/layer/group for the new created object (sprite or text).
- grid + the center of the scene (red cross), isometric snap for isometric placements.
- Atmospheric & FX : ambient light, Sky
- copy/paste objects, other editing functions like change depth/autodepth... (works with multi -selection)
- multi selection with shift-pressed + rectangle selection / multi-selection works with position, rotation and size, set image
- selection : select by name, by group + panel selection with list icon with all object listed.
- Tools : internal Image editor (to create a new image if we need, or edit an image if we want)
Download the editor :
Note : this project is open-source (for the moment, the sources aren't available because I have to clean up (the 0.26 was available in a previous version).
You can use it, change it, modify it, distribute it.
If you cahnge it please give us the new sources
You can' sell it, or tell you have made it.
https://github.com/blendman/AGK/
In this repository, you can find the version for Windows, Mac and linux I haven't tested the linux version, so please test and tell me if it's ok ^^).
Todo list (if I can ^^) :
ok 0.08 - sprite : animation (+parameters)
ok 0.10 - sprite shaders
ok 0.13 (need improvements)
- Particles : create, delete, modify (a lot of parameters)
ok - physic parameters for sprite (mass, friction, restituation, damping, canrotate) and physic in general
ok - behavior : IsPlayer, CenterTOpobject,playerkeyboard, mouse(clic and go)...
ok - Behavior : moveX/Y (sin()), rotation center,scaleX/Y (sin())
- Sprite animation : open a spine file.
- Sprite animation : open a spriter file.
- Actors : player, npc, bonus, treasure, monster, boss...
ok 0.30 - Tile : add, delete, layer, change, move (multiple), copy/paste....
- some others useful features for editing (selection, object composed...)
- Light a better system light my actual system, which is only an additive sprite ^^.
- Editor : Path
- Editor : Particles
- Editor : Animation
ok 0.31 to 0.38 - Editor : Image
Screenshots
v0.38 (22 feb 2017) ImageEditor
v0.30 (22 feb 2017) Tile
v0.25 (feb 2017) : Isometric placement
v0.13 (25 jan 2017)
v 0.08
http://blendman.free.fr/dev/agk/age2d/age2d_0.08.jpg
v0.05
http://blendman.free.fr/dev/agk/age2d/age2d_0.05.jpg
Video
v0.20
v0.14
v0.08
I hope you like. Tell me if you're interested and what you would like to have in this editor, to see if I could added those features
.
Cheers
AGK2 tier1 - http://www.dracaena-studio.com