28 Dec 2018 |
oclero | thank you | 15:19:25 |
oclero | please save it in PNG | 15:19:40 |
Alex Gleason | Yep | 15:20:32 |
Alex Gleason | http://coinsh.red/p/solarus-snap-photos.zip | 15:24:59 |
Alex Gleason | did you get 'em? ^ | 15:29:10 |
oclero | yes ! | 15:31:54 |
oclero | perfect | 15:31:55 |
oclero | great, thanks for the help! Good idea for the Mastodon | 15:44:58 |
Alex Gleason | np | 15:45:17 |
Alex Gleason | I'm trying to fix this now https://gitlab.com/solarus-games/solarus-snap/issues/10
Not an issue at all for anyone with an existing project, but new users will likely be a little upset by this | 15:45:42 |
Alex Gleason | finally, I'm trying to understand how Solarus finds this folder. Is it hard-coded? etc | 15:47:43 |
oclero | I am not on my Ubuntu computer, I've not tried yet to install it | 15:47:52 |
Alex Gleason | Well fortunately snaps will push updates out to the users | 15:48:31 |
Alex Gleason | I'm trying to just patch it quickly then everyone should get the update | 15:48:43 |
Alex Gleason | FileTools::initialize_assets();
FileTools::get_assets_path().isEmpty() | 15:51:17 |
Alex Gleason | /**
* @brief Determines the path to the Solarus Quest Editor assets directory.
*
* The directory "assets" is searched in the following paths in this order:
* - The directory containing the executable.
* - The source path (macro SOLARUSEDITOR_SOURCE_PATH)
* (useful for developer builds).
* - The install path (macro SOLARUSEDITOR_DATADIR_PATH).
*/
| 15:52:49 |
Alex Gleason | About to test if what I did fixed it | 16:03:04 |
Alex Gleason | Hooray, it worked!! Pushing to stable | 16:12:54 |
Alex Gleason | Snap has been updated | 16:18:40 |
Alex Gleason | Afaik it has no real issues that affect users anymore | 16:18:56 |
Alex Gleason | Finally I can work on my own game again. 😆 | 16:22:02 |
stdgregwar | Christopho je vais profiter de faire l'api Joypad pour ajouter les vibrations aussi. SDL prend tout ça en compte. | 18:04:45 |
Christopho | ok | 18:06:13 |
stdgregwar | Une question par contre : les events on_joypad_axis_moved(axis,state) sont pas hyper compatibles avec le fait d'avoir plusieurs joypads | 18:06:25 |
Christopho | SDL1 n'était pas du tout compatible avec plusieurs joypads, et ces events datent de cette époque | 18:07:04 |
stdgregwar | qu'est-ce qu'on fait? pour l'instant j'implémente les objets joypads qu'on peut get avec sol.input.get_joypads() | 18:07:25 |
stdgregwar | et ces joypads sont des userdata sur lesquels on peut override les events | 18:07:51 |
stdgregwar | on_axis_moved(axis,val) , on_button_pressed/released(button) | 18:08:50 |
stdgregwar | et avec des méthodes is_button_pressed(button) , get_axis(axis) | 18:09:26 |
stdgregwar | get_name | 18:09:32 |