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] 4 5 ... 80
Development / Re: NPC disappears during walking animation?
« on: January 09, 2019, 08:21:17 AM »
This is true for NPC of type "usual" (somebody). Use an NPC of type "generalized" (something) to avoid any default behavior.

Bugs & Feature requests / Re: Having Trouble with Quest simulation
« on: January 09, 2019, 08:18:37 AM »
I then got 1.6 and it automatically updated the file
No, when you update to 1.6 Solarus does not touch your scripts at all.

Bugs & Feature requests / Re: Having Trouble with Quest simulation
« on: January 09, 2019, 12:26:12 AM »
When you do File > New Quest in Solarus 1.6, main.lua is not the one you posted.

General discussion / Re: Solarus Discord/Matrix channel descriptions
« on: January 07, 2019, 01:52:02 PM »
Done, thanks for the proposal!

You can do it even more easily in 1.6, now that you can add any sprite to the hero.

Development / Re: Weird Stairs Issue
« on: January 02, 2019, 08:15:54 PM »
Ok, can you open a gitlab issue? I will try to fix it in 1.6.1.

Development / Re: Weird Stairs Issue
« on: January 01, 2019, 04:26:37 PM »
The old behavior was a bug. But did you try to make a single stairs entity with a size of 48x16? (You need to do it from a script)

Development / Re: Error 1.5 -> 1.6
« on: December 27, 2018, 12:25:56 PM »
It is an error in the script. sol.timer.start is called with a parameter of a wrong type. Nothing has changed in 1.6 in this area, except that this error was not detected before.

Development / Re: Weird Stairs Issue
« on: December 25, 2018, 08:27:11 PM »
This tutorial explains how to change the layer using sensors:

Development / Re: Weird Stairs Issue
« on: December 22, 2018, 11:31:31 PM »
I think this problem is not new in 1.6, is it?
I have never considered putting 3 stairs next to each other like this. The hero can only use one of them at a time, so the behavior is expected.

2 solutions:
- You could try making a stairs entity of size 48x16, because in 1.6, all entities can have any size. But for stairs you can only change the size from a script, and more importantly, it was never tested.
- Do you even need a stairs entity at all? You can use sensors instead to change the layer of the hero.

Development / Re: Making the gameplay faster
« on: December 05, 2018, 07:56:29 PM »
Just don't use the built-in grass feature, make your own one to customize it as you want.

Development / Re: Lua promises
« on: December 05, 2018, 01:39:53 AM »
Autotiles :)

Development / Re: Installing in Ubuntu
« on: November 01, 2018, 09:39:40 AM »
That's correct PeterB but Solarus needs to be installed before Solarus Quest Editor (because Solarus Quest Editor needs Solarus).
Note that you are talking about installing the development version: 1.6, which is not released yet. Do this at your own risk :) Unless you need a development version for a specific reason, you should normally installed the latest stable release.

You are right, sprites of NPCs automatically take the direction of the NPC's movement. But there are two types of NPCs: usual NPCs, that have this behavior, and generalized NPCs, that have no automatic behavior. So just set your NPC as a generalized one (in the quest editor) and you will be fine.

Your scripts / Re: NPC item picker script
« on: October 25, 2018, 09:50:40 AM »
Note that Solarus 1.6 will have a new feature sol.main.get_resource_ids("item").

Pages: 1 2 [3] 4 5 ... 80