Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Christopho

Pages: [1] 2 3 ... 71
1
Development / Re: Besoin d'aide pour le dialogue de début
« on: December 07, 2017, 08:10:44 pm »
Est-ce que tu as bien activé une langue ?

2
Development / Re: Besoin d'aide pour le dialogue de début
« on: December 07, 2017, 04:26:51 pm »
Est-ce que tu peux copier-coller les erreurs qui s'affichent dans le terminal au lieu de faire des captures d'écran stp ?

3
Development / Re: Besoin d'aide pour le dialogue de début
« on: December 07, 2017, 03:36:40 pm »
Comme le dit le message d'erreur, tu as une erreur de syntaxe ligne 60 à cause d'une parenthèse.

Pour info, tu peux copier-coller les erreurs qui s'affichent dans le terminal (pas besoin de faire des captures d'écran donc).

4
Bugs & Feature requests / Re: Improve gamepad support
« on: December 06, 2017, 05:22:34 pm »
Don't worry about that, you can make a PR to the dev branch and if I want to put it in a new branch I can still do it.

5
Bugs & Feature requests / Re: Improve gamepad support
« on: December 06, 2017, 04:51:10 pm »
Looks great. It is annoying that we can't guess correct buttons automatically with the current solarus.
A pull request will be welcome :)

I think joystick added/removed events and a haptic rumble API are other subjects (new features) and should be developed in separate works later.

6
Bugs & Feature requests / Re: Solarus like Rpg Maker 2003
« on: November 24, 2017, 09:44:09 am »
Yes this is the direction I am taking, but unfortunetaly I can't say when it can be done.

7
Bugs & Feature requests / Re: hero:set_size
« on: November 24, 2017, 09:42:20 am »
There is already an issue for that: https://github.com/solarus-games/solarus/issues/528
It won't be very easy to do it yourself because unfortunately, the size of 16x16 is hardcoded in a lot of places of the source code.

8
Development / Re: Save file ?
« on: November 24, 2017, 09:12:32 am »
Solarus automatically detects a writable user directory.

If it does not work, a workaround is to create a savegame file from a computer where it works, and then to put the savegame file in the directory of your quest. Then the savegame will be able to load (but still not to save).

9
Bugs & Feature requests / Re: Solarus like Rpg Maker 2003
« on: November 22, 2017, 03:01:23 pm »
wrightmat: the entity editor will have a feature that allows to put custom properties (additionally to the built-in ones: x, y, layer, etc). Just like the custom properties in the dialog edtor.
And the Lua API will have two new methods: entity:get_property(property_name) and entity:set_property(property_name, value).
Uses cases are countless :D

10
Development / Re: How to make the game folder into an .exe file?
« on: November 20, 2017, 11:08:25 pm »
You can use InnoSetup to create a .exe installer. It can install both Solarus and your quest data.
I explain this in a tutorial here (only in French for now, sorry): https://www.youtube.com/watch?v=4i5YR5UIYis

11
Development / Re: Changing Hero on death behavior?
« on: November 04, 2017, 12:19:48 pm »
You can define the event game:on_game_over_started() to do what you want instead of just restarting the game (which is the default).
See http://www.solarus-games.org/doc/1.5/lua_api_game.html#lua_api_game_on_game_over_started

12
Development / Re: Can an enemy activate a switch?
« on: October 26, 2017, 09:30:19 am »
Make sure that your entity parameter is a variable of type entity.

13
Development / Re: Wrapper Segfault
« on: October 12, 2017, 10:44:09 am »
Can you run a debugger to get a backtrace and know more about the crash?

14
Development / Re: Wrapper Segfault
« on: October 11, 2017, 05:52:27 pm »
Just create an empty Argument object and then use add_argument to add them. You don't have to mess with char* pointers.

15
Development / Re: Wrapper Segfault
« on: October 11, 2017, 09:54:43 am »
When you do argv.push_back(nullptr), there is a good chance that your arguments vector gets reallocated so the arg.data() pointers are no longer valid.

Pages: [1] 2 3 ... 71