lionz's Forum Posts

  • It's because when you press space to set an animation, one of your speed checks is always true and overrides the one time setting of that animation. You'll need to set some kind of character state by way of global variable when the character goes to punch, and under the speed checks say when character is not set to punch, so the punch animation can play. You then have punch on a timer so say after 1 second you set him back to not punching, the other idle animations would then take effect.

  • What specifically are you trying to do in the game? What type of game is it?

  • Tick the checkbox 'Unbounded scrolling'. You've disabled it by accident I guess.

  • You can define what objects should be doing with instance variables, i.e. if object.var=1 then it can move left, if object.var=0 it doesn't move left. You set up instance variables on the object then define conditions with events.

  • Layers need to match across layouts.

  • You could try and get funding from kickstarter or something similar. You are asking for $500 but you didn't post any links to any of the games in development. It would be nice to see them. Also does your title mean you are looking for a sponsor from Russia or just that you guys are from Russia?

  • On interact with box : call function "Loot" with parameter "choose(1,2,3,4)"

    On function "Loot"

    sub event > if param 0 = 1 : spawn object A

    sub event > if param 0 = 2 : spawn object B

    etc

  • Nice looking game :)

    Yes I think you may be able to go about this differently. Put the text objects in a container with the object, so they are both created together. You can also pin the text object to the moving object. Then all you need to do is set the text object visible/not visible based on line of sight and no 'creating' needs to happen.

  • Your functions look a little redundant as the only difference is the creation of a different text object. You can just use one function like in my example and send another parameter through it with the text to set in a single text object. Your functions are also sub events of a global variable condition, not sure what this is for but checking a global variable at the time of line of sight so 2 things must be true can be risky.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here's my example of the objects acting independently with LOS, check it out see if it helps. dropbox.com/scl/fo/b70f3o9xv7topxgvrzgw5/AM4tmNo4oB-wMEzX3KpJoYU

  • Could be many things, but the likely thing is you have a destroy action to get rid of all projectiles so you never see them on start of layout. Are you able to share capx? Probably easy to resolve with the file.

  • Every frame, do you mean tick? How big is a 'place', are you on a grid? Set position would teleport the enemy, is that what you want or do you want more a bouncing off player type thing, for that you can set the angle to reverse of current angle for a bit then continue at the previous angle. For set position teleporting you have the right idea, just calculate which of the 4 directions it's heading in and you can add or subtract x,y based on the enemy direction.

  • Hiya, I don't really understand the logic there as it is just a small section but be careful using functions after picking instance because when you run the function it does not relate to this instance and can pick a different one. You can pass through the UID of the object 1 through the function, and then on function call you can say for object 1 where UID = param 0.

  • I think the main problem with this post is that you didn't explain how it's not working for you. You asked how do I share posts to Facebook news feed, I have tried for days. So in what way is it not working for you? Some more detail around this would've helped other users work out what you could be doing wrong and I see now the thread has become requests for your C3 file anyway.

    Looks like Ashley's comments are implying that although possible to share to the news feed using IG according to SDK documentation, maybe it isn't possible in Construct 3 plugin and you can only share to the messenger part. OP you will have used this more than me, maybe you can explain what you tried and what is and is not being shared when you use the share part of the plugin.

  • Not sure how the underscore worked, looks like the issue is that the values you pushed to the array have a lower case L, the name must be exact. If it's working though, problem solved :)