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.


Topics - Lucifer

Pages: [1]
1
Bugs & Feature requests / Feature Request : Change the attack sound
« on: May 23, 2018, 07:59:24 pm »
Hi everyone !
I've got a question : how can I change the attack sound in Solarus ? If in my sword.lua item, I change :
Code: Lua
  1. function item:on_using()
  2. sol.audio.play_sound("some ogg sound")
  3. end
I get this :
Error: Cannot find sound file 'sounds/sword1.ogg'
How can I fix this, please ?

2
Development / Fatal: Failed to create render texture
« on: May 07, 2018, 06:39:37 pm »
Hi everybody ! When I launch my savegame, the game generate an error : "Fatal: Failed to create render texture: Texture dimensions are limited to 2048x2048". But when I check in my files, there isn't any file with a texture more than 2048x2048. Before, I didn't get that error. I'm in 1.6.

3
Bugs & Feature requests / Possible bug: Ennemies can walk in lava
« on: March 24, 2018, 12:44:48 pm »
Hi there !
As you can see, in my fire temple, red Moblins can walk in lava: is that normal ?

4
Bugs & Feature requests / Transitions like alttp
« on: March 24, 2018, 12:35:45 pm »
Hi everybody !
How can I, in Solarus, do a transition by pixelisation, or by a circle around the hero, ike alttp, please ?

5
Development / [Resolved] How to change the ground of conveyors belt ?
« on: March 21, 2018, 08:18:55 pm »
Hi everybody !
I would like to know how to change the ground of conveyor belt (like the Swamp Palace in ALttP), it's for my Water Temple, with water streams.

6
Development / Epée avec 60 pv de dégats
« on: February 06, 2018, 12:40:38 pm »
Bonjour à tous !
Comme vous l'avez vu, je souhaiterais intégrer une épée avec 60 de dégats. Malheureusement, je ne connais pas le code à réaliser pour cela.
Pourriez-vous m'aider s'il vous plaît.
En attente de votre réponse,
Cordialement,
Lucifer

7
Development / Résolu : Réceptacle de coeur
« on: January 16, 2018, 05:28:37 pm »
Bonjour !
Mes réceptacles de coeurs génèrent
Code: [Select]
Fatal: Non-empty stack before LuaContext::update() quand je les obtiens...
Pourriez-vous m'aider, svp ?
Lucifer

8
Development / Résolu : Menu de game-over + inventaire en 1.6
« on: January 14, 2018, 07:04:56 pm »
Bonsoir à tous !
Alors, je crée un jeu avec Solarus, mais je voudrais coder un menu de game-over ainsi qu'un inventaire, car quand je l'allume, ça me fait :
Code: [Select]
Info: Solarus 1.6.0
Info: Opening quest 'C:/Users/Hpo/Desktop/The legend of Zelda Hyrule Adventure'
Info: Sound volume: 100
Info: Music volume: 100
Info: Joypad support enabled: true
Info: 2D acceleration: yes
Info: Turbo mode: no
Info: Video mode: normal
Info: LuaJIT: yes (LuaJIT 2.0.3)
Info: Language: fr
Info: Lua console: yes
Info: Simulation started
Error: In on_started: scripts/menus/pause_submenu.lua:39: No value with key 'save_dialog.yes' in strings.dat for language 'fr'
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_draw: scripts/menus/pause_submenu.lua:110: attempt to index field 'caption_text_2' (a nil value)
Error: In on_finished: scripts/menus/pause_inventory.lua:84: attempt to call method 'get_hud' (a nil value)
Info: Simulation finished

pour l'inventaire, et pour le game-over, je redémarre juste...
Pourriez-vous m'aider, s'il vous plaît ?
En attente de votre réponse,
Lucifer

9
Development / Résolu : Mourir après avoir ouvert un coffre
« on: January 14, 2018, 06:28:16 pm »
Bonjour à tous,
J'ai fait une map avec Solarus et je voudrais savoir comment faire pour mourir après l'avoir ouvert, s'il vous plaît. Voici mon code :
Code: [Select]
-- Lua script of map caves/hyrule.
-- This script is executed every time the hero enters this map.

-- Feel free to modify the code below.
-- You can add more events and remove the ones you don't need.

-- See the Solarus Lua API documentation:
-- http://www.solarus-games.org/doc/latest

local map = ...
local game = map:get_game()

-- Event called at initialization time, as soon as this map is loaded.
function map:on_started()

  -- You can initialize the movement and sprites of various
  -- map entities here.
end

-- Event called after the opening transition effect of the map,
-- that is, when the player takes control of the hero.
function map:on_opening_transition_finished()

end

function wrong_chest:on_opened()
  hero:freeze 
  game:start_dialog("out.f6.chest_game.wrong_chest")
  sol.timer.start([map], 1000)
  hero:unfreeze
  game:set_life(0)
end

Et ça me génère une erreur :

Info: Solarus 1.6.0
Info: Opening quest 'C:/Users/Hpo/Desktop/The legend of Zelda Hyrule Adventure'
Info: Sound volume: 100
Info: Music volume: 100
Info: Joypad support enabled: true
Info: 2D acceleration: yes
Info: Turbo mode: no
Info: Video mode: normal
Info: LuaJIT: yes (LuaJIT 2.0.3)
Info: Language: fr
Info: Lua console: yes
Info: Simulation started
Error: Failed to load script 'maps/caves/hyrule': maps/caves/hyrule.lua:28: function arguments expected near 'game'
Info: Simulation finished

Pourriez-vous m'aider, s'il vous plaît?

Pages: [1]