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

Pages: [1]
Bugs & Feature requests / Solarus 1.4 for OSx
« on: August 27, 2015, 11:35:31 AM »
Hi !

I have several friends who have OSX. The latest version of it is only 1.3

There are the source code of solarus 1.4.4. how can they build the project ? They are really bad in this domain ... And i never touch OSX ...
I just know the have an Unix console but they can't do 'Apt-get install cmake'

Thanks !

Bugs & Feature requests / Playing on Android
« on: August 26, 2015, 04:14:14 PM »

I just DL ZSDX on my Android and i search how can i do the same thing.

Do you create a tutorial or something else to explain how can i do it ?

Development / Draw text
« on: June 28, 2015, 07:44:03 PM »
I try to draw text in the middle of screen when the player enter in a dungeon.

I try this :

Code: [Select]
local map = ...
local game = map:get_game()
local surface = sol.surface.create(320, 240)

function map:on_started()
local dialog_font, dialog_font_size = sol.language.get_dialog_font()
  local menu_font, menu_font_size = sol.language.get_menu_font()

dungeon_name = sol.text_surface.create {
    font = menu_font,
    font_size = menu_font_size,
    color = {240, 200, 56},
    text_key = "",
    horizontal_alignment = "center"

But it does not work. I have no error.

Development / Path finding movement
« on: June 14, 2015, 07:03:23 PM »

I want to use this : so i do this :

Code: [Select]
myInterrupt.on_activated = function()
local m = sol.movement.create('path_finding')

but myNPC have a random movement.

What i fail ?

Development / [Solarus 1.4] NPC Dialog
« on: June 14, 2015, 06:45:57 PM »

I don't find the doc for dialog.
How can i answer a question with the new editor ?


Development / It is possible ?
« on: June 10, 2015, 05:59:33 PM »

I never coded lua. I wonder if it is possible to script a mini-game when i enter in a room like a tic tac toe.


Development / Video mode
« on: December 11, 2014, 05:24:52 PM »

How can i set "hq4fx" to default video mode ?

I search in the forum but i just found how chande the size of the windows :(

Development / Sidemap - Scrolling
« on: December 09, 2014, 01:48:27 PM »
Hey' !

If i have 3 maps like this :

| A | B |
|    C   |

How can i use Scrolling - Side of the map for my teleportation ?
If i use it on the map A on C it works, but if i use it on map B on C my char go at the same position like my Map A.

If i use scrolling with teleportation point (A to B) the scrolling is like i'm goind top. How can i change it for scroll rigth to left


Development / Check Item
« on: December 03, 2014, 12:00:45 AM »

I'm sure it's not difficult but i don't find what i want ...

How can i check if the player have a X item ?
For example, a NPC block the path if the player have not the lamp.


Bugs & Feature requests / [1.3] Bug SubMenu
« on: November 20, 2014, 01:32:27 AM »

It's me again ...  :-[

Now i want to create a menu for the items. I Dowload your package :
I modified the file "Game_Manager" like you, but when i start the game and i press "D" i have some error :

Code: [Select]
Error: In on_started: [string "scripts/menus/pause_submenu.lua"]:19: attempt to call field 'get_dialog_font' (a nil value)
Error: In on_draw: [string "scripts/menus/pause_submenu.lua"]:96: attempt to index field 'caption_text_2' (a nil value)

Before doing that, I 've changed a line (in Pause Menu Line 78) :

Code: [Select]
   local line1, line2 = text:match("([^$]+)\$(.*)") to
Code: [Select]
   local line1, line2 = text:match("([^$]+)$(.*)")

Bugs & Feature requests / [1.3] Bug set_transparency
« on: November 19, 2014, 08:54:12 PM »

I try to make my HUD, i watch your video on Youtube
I take your code, but when i start my game i have an error :
Code: [Select]
Error: In on_started: [string "scripts/dialog_box.lua"]:64: attempt to call method 'set_transparency_color' (a nil value)

How can i fixe it ?

Merci :D

Bugs & Feature requests / Linux - Start Quest Editor
« on: November 11, 2014, 12:34:41 PM »

I want to use Solarus on Linux. I clone your Git and i install it. I can start the game "sample_quest" but i don't find where i can start the Quest Editor :(

When i go in "tools" i can see quest_editor. I try to tun it : ./quest_editor but it does not work. :
Code: [Select]
Error: Unable to access jarfile editor/target/solarus-editor.jar


Pages: [1]