Menu

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.

Show posts Menu

Messages - Diarandor

#1036
Finally, I found here the answer I have been looking for all this time:

http://www.gnu.org/distros/free-system-distribution-guidelines.en.html

It seems that the license of the game (for instace, a GPL one) does not affect to the art (sprites, music, etc), which is considered as non-functional data. So that using the CC license for the art would be fine, as far as I understand.
#1037
Development / Re: Draw text
June 28, 2015, 10:05:42 PM
As far as I know (maybe I am wrong), I think that your problem is that you need to draw it at each "iteration" (your code draws it during a quick "instant" and then disappears, so you don't see it).

I would try to use the method dungeon_name:draw(surface) inside the method on_draw() of a menu, that will be automatically drawn at each iteration (the engine makes the work). (The same happens when you draw sprites on map entities, which are usually drawn by the engine at each iteration, which does not happen in general.) Maybe you can make your surface become a menu or something like that...
#1038
General discussion / Re: Music loops?
June 26, 2015, 06:15:59 PM
Thanks! I didn't know.
#1039
General discussion / Music loops?
June 26, 2015, 04:54:08 PM
Hi! I was wondering if it is possible to make a loop on the music with the loop starting point in the middle of the song. Is this possible? (I am using music with ogg extension.)

I found in some forums that it is possible to make this in RPG Maker, setting some properties on the ogg file. You can check it in the link below:

http://www.rpgmakervxace.net/topic/3825-make-looping-bgm-part-1-ogg-vorbis/

Is it possible to make something like this in Solarus? It could be useful.
#1040
Development / Re: Side scrolling functionality
June 25, 2015, 10:21:15 PM
These are good news. I was planning trying to script something like this in the future. I guess that the script can be modified to simulate diving with this side scrolling (like in Link's awakening), which would be cool.

I have been working on several scripts with other functionalities that I would like to share when I finish making the game to the end of the first level. (I don't have too much free time, and drawing all the sprites takes a lot of time and patience, so it will probably be ready by the end of this year or a bit later).

Some scripts I have done allow to have 3 heroes and switch between the heroes on the current map with space bar (or using a switching menu in case the heroes are in different maps, but this menu is not done yet). I also have scripts to carry custom entities which are not destroyed when thrown (I make them bounce when they fall), and they can be thrown from one hero to another (they are picked in the air). Also I made custom buttons that can be pressed by any of the three heroes or custom entities (like weights that can be carried and thrown). Platforms also work well with custom entities that can be carried and the secondary heroes.

The only technical problem I had is that if you leave one map with some secondary hero and come back, the destructible entities, platforms, etc are reseted, which can make a secondary hero to appear overlapping a destructible entity (that had been destroyed before) or to appear over a hole (in case a platform was moved), etc. I solved this easily using a script that saves the state/position of the entities if necessary (it does not work in the current version of Solarus because of a bug that has already been fixed by Christopho, but I hope it to work in the next release).

These are some of the things I made, just in case you are interested. My (maybe too ambitious) goal is to make a hybrid game between Lost Vikings 2 and Link's awakening, but it will take some years of work until it is finished.
#1041
I found some interesting things related copyrights:
http://www.artbusiness.com/register_and_copyright_art_for_artists.html
http://copyright.gov/circs/circ01.pdf
http://info.legalzoom.com/copyright-laws-video-games-20305.html
http://www.teachingcopyright.org/handout/copyright-faq

It seems that it is not necessary to formalize the copyright, but it may help to prove authorship in case of infringement. I think this is the place to do it:
http://www.copyright.gov/

(I hate this kind of legal bureau crazy bureaucracy...  :-\)
#1042
Thanks a lot!

In this websites they say that CC and GPL are not compatible, or something like that, but I don't know if all this info is completely trustable.
http://www.diffen.com/difference/Creative_Commons_License_vs_GPL
https://wordpress.org/support/topic/creative-commons-verses-gpl
https://wiki.creativecommons.org/GPL_compatibility_use_cases

PS: I hope people to be nice too...  :(
#1043
Development / Re: Bubble + boomerang = fairy?
June 13, 2015, 06:20:48 PM
Yes. It is possible to make almost anything if you know how to code it (but not easy).

To do what you want, I would use a custom entity for the bubble. You can use a collision test on the bubble script to detect the collision with the boomerang. (I have done something similar to make trees that throw leaves when hit with the sword, and it works.) You can use something like this:

entity:add_collision_test("sprite", function(entity, other_entity, sprite, other_sprite)
  if other_sprite:get_animation() ~= "boomerang" then return end
  -- Here goes your code...
end
#1044
I just realized that creative commons licenses are not compatible with the GPL (although I am not sure at all). Probably I would need either to choose a non GPL license for the game, or not to use the creative commons license for the art  (which one do you think would fit my purpose?).
#1045
Thanks. (Yes, I had already seen that website. But I was still confused.)

-So, what I need to do is just to copy-paste the info of the GPL license into a file LICENSE.txt in the data. Is that all? And how could I prove later that I was the creator of that game in case I need it?

-Another question. Is the GPL license applied to my art (sprites/tilesets, sounds and music) too? Or should I use a different license for my art? I have read about the creative commons licenses, and also about the website opengameart.org, but I am not sure if this is necessary for my purpose and/or recommendable.

I was considering to use the GPL license for the game, so I could even distribute the game with the engine, if I am not wrong. Would you recommend using a different license?

Thanks again
#1046
Hi,

I am creating a game with Solarus (which is still at a very early stage). I would like the game to be free (free as in freedom), but I need some advice (I am new to these things). Do you recommend me to use github to store all the data files?

I am creating all resources such as sounds, music and sprites for the game, so I am afraid of loosing my work if someone steals registers these resources (in case this is possible for a free game that uses them). Would it be safe if I just put all the data on github? Or must I do something more to make these other resources (not the code) to be free (as in freedom) too?

PS: of course, I know that if the game is free and open-source anyone could use my resources for a game (and even sell them), I don't mind that. The point is that I want to avoid someone to register these resources as his property, which would make me loose the right of using them in my game. (I want these resources to be free, so anyone can use them.)

Thanks in advance!
#1047
Development / Re: Collision tests and movement
June 11, 2015, 01:24:46 AM
Hi Dragon_noir,

the main problem in your code is probably that you set "pushed = true", but you forgot to change it to false later. I would not use the custom command effect "action" for pushing blocks, since that effect is usually used when the space bar is pressed, but this is just my opinion ;D. As an advice, the Lua API recommends to use a timer or other solution instead the on_update event since it is called too many times (if I understand correctly, this kind of methods could slow down the game a little bit, maybe on slow computers). Another advice, you are repeating some code a lot of times in some functions that is not necessary; this would improve some of your functions:


function boulder_small:go()

  local movement = sol.movement.create("path")
  local direction = hero:get_direction()
  sprite:set_animation("rolling")
  sprite:set_direction(direction)
  movement:set_path({2*direction, 2*direction})
  movement:start(boulder_small)

  function movement:on_finished()
    boulder_small:stop()
  end
end

-- Makes the hero move.
function hero:go()
 
  local m = sol.movement.create("straight")
  local direction = hero:get_direction()
  hero:set_animation("pushing")
  m:set_angle(direction * math.pi / 2)
  m:start(hero)
end


I hope this helps you to improve your script a bit (I have not tried it anyway).
#1048
Development / Re: NPC asking question
May 28, 2015, 11:25:31 PM
Have you tried something like this?

-- Save game dialog
dialog{
  id = "pause.save",
  question = true,
  text = [[
Is your desire to save the game?
Yes
No
]]
}
#1049
General discussion / Re: Distribution
May 03, 2015, 09:58:21 PM
Hi, I am trying to make a game with Solarus and, since I am new to this things, I would like to know more about licenses, copyrights and trademarks. Could you help me? I would like to make a game with a freeware license. (The graphics, sounds, music, etc. will be made by me.)

1) What must I do to obtain a copyright and where can I obtain it? How expensive can it be?

2) What must I do to obtain a trademark for the title of the game and where can I obtain it? How expensive can it be?

3) Is it possible to copyright a game that is still being developed? And if it is possible, can it be done without having to pay each time the game is actualized? I would like to do this, if possible, with a freeware license.

4) To use a (freeware) license for the game, is it enough to copy-paste the text of the license and put it in a text file with the info of the game?

Thanks in advance for your help!
#1050
Yes, you are right, I forgot that line (I found that I had a global variable hero in other script, by mistake), and the "touching" collision should be the best choice for the platform. Thank you!

I only have tested the platform between two normal walls, and it works fine, at least in that case. I didn't find the last issue that you said.
(Maybe the problem is with that kind of wall that only affects NPC's, I don't know...)