ENIGMA Development Environment
Website is in read-only mode due to a recent attack.

Pages: 1 2 »
  Print  
Author Topic: Sprite Editor / Sound Editor  (Read 4164 times)
Offline (Male) fredcobain
Posted on: April 08, 2011, 09:09:26 AM

Member
Location: Brazil
Joined: Apr 2011
Posts: 40
MSN Messenger - fredcobain@gmail.com
View Profile
Hi,

One of the first think I miss when I started handle with LateralGM is a sprite editor. I realized that I can only Load sprites. Sometimes we have to create very simple sprites (like a square, circle) that a very simple sprite editor can save time. So, a simple sprite editor is the first topic.

In the same line, a simple sound editor (with simple functions like to cut part of the sound) can be either a useful tool to make the creation progress faster.

What do u think, guys ?

Regards,

Fred.

Logged
Offline (Male) Josh @ Dreamland
Reply #1 Posted on: April 08, 2011, 11:46:18 AM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2951

View Profile Email
I can't speak for Ism on the matter (this is really her area), but I know a sprite editor has been a request and a to-do item for a long time. We're focusing on more technical aspects, especially with the high number of people that tell us they hate LGM and will use it only as an easy way of invoking ENIGMA.

The nice thing is that LGM gets along well with GIMP, and Ism has promised to allow setting your own external editor at some point in the near future.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Post made April 08, 2011, 04:48:14 PM was deleted at the author's request.
Offline (Male) fredcobain
Reply #3 Posted on: April 08, 2011, 07:24:01 PM

Member
Location: Brazil
Joined: Apr 2011
Posts: 40
MSN Messenger - fredcobain@gmail.com
View Profile
The nicest external editors would be Paint.NET/GIMP and Audacity.


I agree... maybe could be a good IDEA integrate Paint.net as the default sprite editor.
(ok, I know I can assign it manually but who knows it can be in the Enigma package)

=)
Logged
Offline (Male) fredcobain
Reply #4 Posted on: April 08, 2011, 08:02:15 PM

Member
Location: Brazil
Joined: Apr 2011
Posts: 40
MSN Messenger - fredcobain@gmail.com
View Profile
Dammit! I could not find where do I assign an external Image Editor in LateralGM.

Help help!
 ???
Logged
Offline (Female) IsmAvatar
Reply #5 Posted on: April 08, 2011, 11:37:45 PM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 877

View Profile Email
LateralGM has a preferences.properties file which stores all the default external editors.
More information on how to change this value is documented in our wiki:
http://enigma-dev.org/docs/Wiki/Overriding_settings

We have been frequently chewing on the idea of a built-in sprite editor, but it seems like a lot of a hastle when an external editor works just fine, and instead of spending time building a sprite editor, we can instead spend that valuable time on more useful features in LGM, like fixing bugs, or getting it to fully support everything that GM8 introduced.

There was a side-project started ages ago for a built-in sprite editor, which we were building from the ground up, called JEIE (Java Easy Image Editor), but after developing some of the basics of it, and not getting any help, I paused development on it so I could focus on LateralGM again.
« Last Edit: April 08, 2011, 11:42:34 PM by IsmAvatar » Logged
Offline (Male) fredcobain
Reply #6 Posted on: April 09, 2011, 08:30:58 AM

Member
Location: Brazil
Joined: Apr 2011
Posts: 40
MSN Messenger - fredcobain@gmail.com
View Profile
LateralGM has a preferences.properties file which stores all the default external editors.
More information on how to change this value is documented in our wiki:
http://enigma-dev.org/docs/Wiki/Overriding_settings

We have been frequently chewing on the idea of a built-in sprite editor, but it seems like a lot of a hastle when an external editor works just fine, and instead of spending time building a sprite editor, we can instead spend that valuable time on more useful features in LGM, like fixing bugs, or getting it to fully support everything that GM8 introduced.

There was a side-project started ages ago for a built-in sprite editor, which we were building from the ground up, called JEIE (Java Easy Image Editor), but after developing some of the basics of it, and not getting any help, I paused development on it so I could focus on LateralGM again.

Ism, I fully agree there is no reason to reinvent the wheel in this case. But I understand we should elect a "de facto" sprite editor and sound editor (free or opensource, of course) to be part of the Enigma IDE Package (and also install with). This would make the IDE more powerfull without effort.
Logged
Offline (Unknown gender) luiscubal
Reply #7 Posted on: April 09, 2011, 09:49:14 AM
Member
Joined: Jun 2009
Posts: 452

View Profile Email
Paint.NET/Pinta are pretty good for image editing.
For sound editor, I don't really know. Audacity seems to be reasonably popular to edit sound files, but I haven't heard of creating sounds from the ground up with Audacity alone.
Logged
Offline (Female) IsmAvatar
Reply #8 Posted on: April 09, 2011, 12:06:00 PM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 877

View Profile Email
Paint.NET is Windows-only, ruling it out as a candidate for "de facto". In the past, we tried to use an image editor that most computers already had installed. This turned out to be Gimp. However, Ubuntu's removal of Gimp in default installs (not to mention, its incredible difficulty to use for simple tasks) has given us reason to seek a replacement. In the meantime, the default is still Gimp. If you have it installed, it will be used as your sprite and background editor.

Pinta may be a good option. I haven't heard of it before, but looking at the screenshots, it seems to be everything I wanted from JEIE. My biggest concern is its dependency on Gtk#, which may cause Windows users to disapprove.
« Last Edit: April 09, 2011, 12:09:01 PM by IsmAvatar » Logged
Offline (Unknown gender) luiscubal
Reply #9 Posted on: April 09, 2011, 01:04:02 PM
Member
Joined: Jun 2009
Posts: 452

View Profile Email
What about Pinta for Linux and Paint.NET for Windows?
Logged
Offline (Female) IsmAvatar
Reply #10 Posted on: April 09, 2011, 02:44:28 PM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 877

View Profile Email
It's a possibility, but it would require changing/adding a lot to LGM. First off, I'd have to force LGM to do an operating system check (which it currently doesn't have to do). Then, I'd have to add several different entries in the preferences.properties file for each operating system.

I've also noticed that Java has a java.awt.Desktop.edit(File) which can be used to launch the editor associated with the file as per the user's operating system. This may be a solution. Of course, you'd still use the Preferences.properties (or any overriding method) to override the default system editor - especially useful if the system doesn't have a default editor, or if you'd like to use a different editor for GM games than whatever the system default is (e.g. your system editor is something fancy for large-scale graphics, like GIMP, but when working with GM, you'd like to use something more pixel-oriented, like Paint[.net]/Pinta/KolourPaint.
There is a slight issue that this method returns instantly and returns void, making it hard to tell when it's done, etc., but this is not much different from our currently exec() method, which we simply resolve by wrapping it into a file monitor which we've written (listens for changes to the file specified).

Edit: Unfortunately, apparently Linux (or at least Ubuntu) doesn't define any system editors, so Desktop.edit always fails on Ubuntu...
« Last Edit: April 09, 2011, 04:07:31 PM by IsmAvatar » Logged
Offline (Unknown gender) luiscubal
Reply #11 Posted on: April 09, 2011, 06:32:26 PM
Member
Joined: Jun 2009
Posts: 452

View Profile Email
It would also be nice to have both Open AND Open With... (as in, have multiple editors registered, one of them being the default but others being available).

What about being able to edit this sort of thing on runtime?
No "Preferences.properties" to edit. Just some dialog or whatever.
Logged
Offline (Female) IsmAvatar
Reply #12 Posted on: April 10, 2011, 02:56:10 AM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 877

View Profile Email
Well, we do plan to eventually have a dialog to change the stuff in Preferences.properties. Pretty much just too lazy to implement it when my brainpower would be better spent fixing tougher bugs. Someone did recommend a two-button edit for Sprites - both buttons configurable to open separate applications, so e.g. one would open your pixel editor, while the other would open your fancy image editor like gimp or photoshop. Another person has also suggested a "Load stock images" button which would do the same thing as "Load", but would always start in a folder with simple stock images - or else some sort of "Generate" button which would generate a temporary sprite image (perhaps more useful than stock).
Logged
Offline (Female) IsmAvatar
Reply #13 Posted on: April 12, 2011, 05:50:15 PM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 877

View Profile Email
In other news, I've opened a bug with the sun java bug database for linux and Desktop.edit. I don't expect them to ever get around to it, but at least now I have an excuse why my code doesn't work.

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7035369
Logged
Post made April 13, 2011, 07:25:37 AM was deleted at the author's request.
Pages: 1 2 »
  Print