GithubHelp home page GithubHelp logo

solarus-games / solarus-quest-editor Goto Github PK

View Code? Open in Web Editor NEW
96.0 96.0 29.0 85.72 MB

This repository was moved to GitLab: https://gitlab.com/solarus-games/solarus-quest-editor

License: Other

CMake 2.09% C++ 93.48% Lua 4.30% C 0.12%
solarus zelda

solarus-quest-editor's People

Contributors

akaadream avatar christopho avatar daniloegea avatar diarandor avatar mailaender avatar maxs1789 avatar mus-candidus avatar oclero avatar vlag avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

solarus-quest-editor's Issues

Quest tree freeze

Open the testing quest of Solarus and unfold the sounds folder: scrolling the quest tree becomes very slow and the sounds folder refuses to collapse.

Check that editor version matches Solarus version

Is is easy to get wrong and for example compile the editor from the 1.4 editor with Solarus 1.5 headers.
The editor source code should know its own version and there should be a compilation error if it does not matches the version of Solarus headers.
Also, this would allow the editor and Solarus to have independent bugfix releases.

Allow to import resources from another quest

It would be nice to allow the user to import resources (musics, sounds, sprites, tilesets, maps…) from another quest.
We could make a dialog that lets the user select which resources will be imported.

For now, the only way to import resources from another quest is to copy files and then add them to the project from the quest tree. (Note: this is better as before 1.4 where the merge had to be done in project_db.dat manually.)

Add PNG files from the editor

Feature request from ZoriaRPG:

Add a PNG resource file, for use with sprites/tiles, from inside the Solarus editor.

Place a button 'add' in the sprites editors, select a file from anywhere on the local volume. Then, Solarus copies it into the required directory, and assigns it a name matching the resource ID a user provides.

That would be simpler than manually going to the resource directory, copying, renaming it, and ensuring that it matches.

Inaccurate dependency

QSignalBlocker is used in several places. Either the dependency on Qt in the compilation instructions should be bumped to 5.3, or some kind of fallback should be provided.

N.B. After removing all references to QSignalBlocker I was able to compile with Qt 5.2. The editor even starts and I can click on things.

Map editor: cannot redo on the 'world' field

If we do several changes on the world field, and that we undo these changes, we cannot return to the last state.

Example :

  • set a world, by example world (change focus to apply the action)
  • uncheck the check box
  • recheck the check box
  • change the value, by example world2 (change focus to apply the action)
  • undo four times

and you cannot return to the state world2.

Files aren't closed when changing the open project

When loading a project in the same window where an other project has been open before the files (e.g. maps, sprites etc.) of the old project aren't closed, causing some confusion whether the new project was successfully opened.

Allow to play musics and sounds directly in editor

From @Renkineko:

Sometimes, you don't really remember what is the name of the music you search, or what is the correct sound effect for something. Be able to play musics and sounds directly in editor could be a little time saver than open files in a media player, find the correct one and go back to the editor to select it.

Map editor : crash when resizing nothing

in 1.4.2, if you press R to resize while having nothing selected at all, the editor crashes.

ADDENDUM (may be useless) : Also crashes when resizing while placing pasted elements.

Wrong key up events when running the quest from the editor

Run ZSDX from the editor, open the world map pause screen and try to scroll the minimap vertically: the scrolling slows down after a small delay. This is because of wrong SDL_KEYUP events received when the game is run from the editor.

The edit entity dialog allows to set illegal sizes

Il est possible de donner aux entités n'importe quelle taille multiple de 8 (mais supérieur à celle du pattern) alors qu'on devrait (je pense) pouvoir ne donner qu'une taille qui soit multiple de celle du pattern.

Je ne sais pas si ce bug concerne également le moteur, mais de son coté il n'indique aucune erreur mais n'affiche pas le tile tel qu'il est dans l'éditeur. Par exemple pour un tile de 32px de hauteur, si je lui donne une hauteur de 40px le moteur affichera ce tile sur 64px de hauteur (pareil pour les collisions).

Undo/Redo Shortcuts

In any editors, shortcuts Ctrl+Z and Shift+Ctrl+Z allow to undo and redo, but if a field is focused (like a SpinBox or a LineEdit) it doesn't work.

Sprite editor: auto-detect the grid size

When all frames of a sprite have the exact same size and are aligned, the initial grid size could be automatically set to that size.
This is the case of most sprites.

Template scripts

When the user creates a new map, item, enemy or custom entity, the initial script could have usual content with helpful comments rather than being empty.

Add show/hide obstacle options to the editor

From @wrightmat:

In the map editor, it would be helpful to have a show/hide toggle for obstacles (for the hero) vs. non-obstacles, especially with tiles (like we have for layers and such). Normally you can't tell which tiles are obstacles without going to the tileset editor and looking at each tile.

Also changing the way the editor toggles these show/hide options could make room for more. I'd recommend adding a "View" menu with check/uncheck options for each of the types we have now and may add in the future. Then they can be taken off the toolbar entirely or limited to a few of the most popular ones (but more would be available to the user).

Clicking on a tile with control should start a selection rectangle

This was a feature of Solarus Quest Editor 1.3 and no longer works in 1.4.

Bug report from Zaidyer:

You can hold left-click and drag to create a rectangle. Anything inside the rectangle is then selected. This is useful for working with groups of tiles that form a single object such as trees, mountains, dungeon door frames, and so on.
But if you left-click on a tile that already exists (whether it's from the tile window or the map window) it will not let you create a selection rectangle. There needs to be some kind of keystroke that will invoke the rectangle no matter what.

Use the Clipboard when doing Copy/Paste

From @Renkineko:

When you want to copy some parts of a map from a quest to another, for now you can't just copy from one editor and paste to the other, you have to import the map on your project, copy what you need and delete the map from the project... A little heavy.

Sprite editor: add a button to reload the PNG image

Like the "refresh tileset" button of the map editor, a "refresh image" button would be useful in the sprite editor.

When you make a sprite, you draw the PNG image in a separate image editor and want to check the result in the sprite editor (show the result in the sprite previewer). Every time you change something in the PNG image, you have to close the sprite, reopen it and reopen the animation and direction to see the change.

Improve resource selectors

  • Sprite selectors should show the icon of the sprite
  • Enemy selectors should show the icon of the enemy's sprite
  • Music and sound selectors should allow to play the audio file

Door sprite not updated when changing the direction

Bug report from linky:
http://forum.solarus-games.org/index.php/topic,253.msg843.html#msg843

Hello,

I'm trying the new editor 1.42 that is really nice and a big improvement to the previous one.

I believe there is a little bug with door item at least on my configuration. When you use contextmenu to change its direction (ie left to right), the door's icon is not updated immediatly. To make it change to the new direction you have chosen you have to go in its property pannel by double clicking on this door icon, where you can see that the new direction has really been changed but not visualy applied, and then make ok. This makes the door icon takes the good direction.

Settings

It would be great to have a settings window for the editor.

Settings are useful for all editors, here are some example of setting :

  • font (size, highlight color, etc ...)
  • background (background color for all graphics views)
  • grid (size, style, etc ...)
  • Maybe the step of some spinboxes
  • etc ...

Maybe that the editor can use PHYSFS to store settings in the user directory (.solarus-quest-editor per example) like the engine.

Now, for the format of the settings file, I don't know if it is better to use Lua or XML.

Numpad Enter key does not function

Numpad Enter should work exactly like the regular Enter key (and did so in the Java editor). It currently does nothing that I can tell.

Allow to change the grid size

The grid size is always 16x16. This is probably always good for the tileset editor and the map editor, but the sprite editor needs more choices.

Show selected entity info in the status bar

The status bar of the map view currently shows mouse coordinates. When a single entity is selected, it would be nice to show information about it like its name and type.

Cannot add directions to new sprite

When creating an animation, the old way of adding directions no longer works. Pressing the plus sign just creates a new animation instead of asking if you want a new animation or direction.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.