Martifou's Recent Forum Activity

  • 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 ! :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, it's The_Lord_King (it's an another account, I can't access the other...). Thanks for the answer it works like i want, but I have an another problem and i don't know how to solve it except with a lot of events so I hope there is a better solution.

    docs.google.com/open

    This is the picture of what I've done. In my game, I want the sword rotate 90 from the character's angle, so I made a "angleDepart" variable (can be translated by "Start Angle").

    All of this works expect the last event (when the sword's angle is greater than 270).

    Thanks again ! :)

    EDIT : I found the solution sorry for this post. I used "Is Clockwise from" compare.

Martifou's avatar

Martifou

Member since 28 Jul, 2012

None one is following Martifou yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies