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]
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 !

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

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 ?

3
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 = "dungeon.name.0",
    horizontal_alignment = "center"
  }
    dungeon_name:draw(surface)
end

But it does not work. I have no error.

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

I want to use this : http://www.solarus-games.org/doc/latest/lua_api_path_finding_movement.html so i do this :

Code: [Select]
myInterrupt.on_activated = function()
game:start_dialog('myDialog')
local m = sol.movement.create('path_finding')
m:set_target(map:get_entity("hero"))
m:set_speed(64)
m:start(myNPC)
end

but myNPC have a random movement.

What i fail ?

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

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

Thanks

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

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.

Thanks

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

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 :(

8
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

Thanks

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

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.

Thanks

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

It's me again ...  :-[

Now i want to create a menu for the items. I Dowload your package : https://www.youtube.com/watch?v=oh6I4yLUQ3E&index=28&list=PLzJ4jb-Y0ufySXw9_E-hJzmzSh-PYCyG2
I modified the file "Game_Manager" like you, but when i start the gamehttp://forum.solarus-games.org/Themes/default/images/bbc/table.gif 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("([^$]+)$(.*)")

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

I try to make my HUD, i watch your video on Youtube https://www.youtube.com/watch?v=uhIowwFzd3Q&index=26&list=PLzJ4jb-Y0ufySXw9_E-hJzmzSh-PYCyG2
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

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

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]
./quest_editor
Error: Unable to access jarfile editor/target/solarus-editor.jar

Thanks.

Pages: [1]