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 - aminemax

Pages: [1]
1
Game art & music / missing tiles in Absolute Hyrule Map Package
« on: August 03, 2017, 11:57:49 AM »
In the forest tiles there is one that is missing. The small tree (see screenshot below)



Note also that the color of the small tree that the tileset contains is different from the original game.

Also, the small non-animated flowers of the forest are missing in the tileset.

2
In the forest tiles there is one that is missing. The small tree (see screenshot below)



Note also that the color of the small tree that the tileset contains is different from the original game.

Also, the small non-animated flowers of the forest are missing in the tileset.


3
done, i got the solution from Christopho, it was in main.lua file.
 i replaced
Code: [Select]
local exists = sol.game.exists("save1.dat")
local game = sol.game.load("save1.dat")
game:start()

by
Code: [Select]
local game = game_manager:create("save1.dat")
game:start()

Thanks a lot Christopho

4
Hi every one, here is my main.lua file so you can help me to solve this bug
Code: [Select]
    -- This is the main Lua script of your project.
-- You will probably make a title screen and then start a game.
-- See the Lua API! http://www.solarus-games.org/solarus/documentation/

local quest_manager = require("scripts/quest_manager")
local game_manager = require("scripts/game_manager")

function sol.main:on_started()
print("example de map.")

  -- Make quest-specific initializations.
  quest_manager:initialize_quest()

  -- Setting a language is useful to display text and dialogues.
  sol.language.set_language("fr")
 
  local solarus_logo = require("menus/solarus_logo")
 
  -- Show the Solarus logo initially.
  sol.menu.start(self, solarus_logo)
  solarus_logo.on_finished = function()
    -- Do whatever you want next, like showing your title screen
    -- or starting a game.
local exists = sol.game.exists("save1.dat")
local game = sol.game.load("save1.dat")
game:start()

  end

end




5
the editor always starts the game with the same map which is the first map declared in project_db.dat

6
i've changed the folder's name, same problem, i also changed starting map but still have the same bug ???

7
i verified but all names are correct really weird. See the screenshot bellow


8
I've done everything that you said, I set a default destination in the map 7, I even set its exact name in set_starting_location but the editor always starts in the map 1!

9
i can't open a specific map, i have changed starting_location to open a map named (7) but Solarus quest editor starts the quest in the first map named (1). See the code below:

Quote
local dialog_box_manager = require("scripts/dialog_box")

local game_manager = {}

-- Sets initial values for a new savegame of this quest.
local function initialize_new_savegame(game)
  game:set_starting_location("Light-world/7")
  game:set_max_money(100)
  game:set_max_life(12)
  game:set_life(game:get_max_life())
end

-- Creates a game ready to be played.
function game_manager:create(file)

  -- Create the game (but do not start it).
  local exists = sol.game.exists(file)
  local game = sol.game.load(file)
  if not exists then
    -- This is a new savegame file.
    initialize_new_savegame(game)
  end
 
  local dialog_box

  -- Function called when the player runs this game.
  function game:on_started()

    dialog_box = dialog_box_manager:create(game)
  end

  -- Function called when the game stops.
  function game:on_finished()

    dialog_box:quit()
    dialog_box = nil
  end

  return game
end

return game_manager

i also deleted .solarus folder to avoid starting a savegame but still have the same problem and the editor shows the following error:
 Error: No valid destination on map 'Light-world/1'. Placing the hero at (0,0) instead.

Pages: [1]