Martifou's Forum Posts

  • Hi, i know this is from 2011 but i have a question about that. If I have amplitude 4, values will be -4 to 4. But when i test, i always have -2 to 2 (something like that).

    What is wrong ? Thx.

  • Hi !

    I'm not sure to understand too, but you can add a subevent (after player sprite does not overlap ground sprite) like : effect sprite : pick closest from (ground.X; ground.Y) but I don't think it can be good in your case.

    Else, you can try as a subevent (after player sprite does not overlap ground sprite) : effect sprite overlaps ground sprite. That'll pick that effect sprite.

    Hope i'm right, and hope you'll find a solution !

  • Hi Jayjay, and thanks for your answer.

    What object are you talking about, Mouse & Keyboard ?

  • Is this list up to date please ?

  • I found a solution : my Keyboard and Mouse object was in global. If it's not, it works. Someone can explain me please ?

  • Hello everyone, I use Inherited layer on my game but I have a problem with events.

    Here is a .cap file with just the problem.

    When the layout "menu_princip" is first, clicking the orange button does nothing.

    If 'layout 1' is first, clicking the orange button does something.

    Why this problem and how to correct it please ?

    Hope i'm clear, thanks for answer. :)

  • Hello everyone, this is the first exemple I post on this forum.

    It's a dialog system with files. This is the same method someone of this forum, i don't remember his name, but easier.

    Because i'm french, comments are in french. But i can translate them if you want.

    Download dialog exemple

    Hope you'll like it ! :)

  • Nice one ! I tried to do a game like this but I didn't had the time for this LD. :( You made it for me. ^^

  • Wow nice game ! :D

    When i go to your link, i play in the tab where i opened it. What is the problem ?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi, after long and long research, i found a solution : The "Layout" object is a problem ! It causes problem everywhere. So i used Inherited Layer and it's fine !

    Thanks for your help ! If you have others ideas about optimization, please tell me ! :)

  • Hi, and thanks for the answer.

    Did you press 1 in your NumPad ? Because this is not that. This is the 1 at the top of the keybaord (near F1, F2, etc...). And when I press 1, this is working.

    Look at the "sorts" event sheet at the beginning, Start of Layout > i read an INI file and store values in private variables.

    I replaced the "oui"/"non" by 1 and 0.

    But, for the Tiled Background, i put a sprite, solid, then i erased path at the collision mask of this sprite, so the character can walk in. But with a Tiled Background, it works also. However, I can't put an event like "On collision with TiledBackground".

    Thanks a lot for your help.

  • Hi and thanks.

    Here is the link : -Deleted-

    Here, the global variable "classe" is "mage". Try with this, and press the button 1 (with your keyboard) then click.

    Try also by changing the global variable "classe" to "combattant". Try with this and press button 1 (with mouse on the game).

  • Hi, i have a problem with my game. I'll try to explain as my best, i'm french. <img src="smileys/smiley1.gif" border="0" align="middle" />

    I have in my game a main layout "stage", where i include an event sheet "character". In this event sheet, i include an another one called "spells".

    In the layout "stage" i have 4 layers : "couche 1", "couche 2", "couche 3" and "HUD". With this, i'll be able to manage Z order easier.

    Now, in the event sheet "spells" :

    I use functions to cast spells. I have for now 2 functions.

    1�- The first one after some effects, put a variable to 1, and outside the function, when this variable is egal to 1, an object is created at layer "couche 2"

    2�- The second one, create an other object in the function at layer "couche2".

    The 1�- works, but the 2�- doesn't work. The debug says "layer "couche 2" doesn't exist".

    What can I do to correct this please ? Tell me if you want more details.

    Thanks a lot !

  • Thanks ! :)

  • Hi, is this list in date please ?

    Thanks for this ! :)