Smileh's Forum Posts

  • Hello liquidmetal. I tried it and didn't work out for the kinda of effect I was looking for. Somehow I managed to pull it off in other way that suits me better.

    Thank you very much for your kind help, is been helpfull regardless

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The container did the trick. Shall I be avoiding it?

  • Easiest way would probably be putting the enemy-box and the enemy animation in a container and having them created together, so they always reference eachother.

    Another way would be to pick the nearest enemy box and have the enemy set an instance variable to it's uid..

    then if the instance variable is the same as enemybox.uid set the position..

    Instead of setting position every tick you could ofcourse also use the pin behaviour..

    I tried the pin behaviour before for the player, that was the way I had set it up but it was giving me some problems the more I advanced further.

    Just tried the container. All I had to do is add them in a container and voilá. Hopefully it won't cause me any trouble.

  • Hello. So I guess this is a basic stuff but somehow can't manage to make it work.

    I have a player box and a player skin set to player box on every tick. This works great for my player but when it comes to enemies, since they're clone of eachothe, the set position only works for the very first enemybox and the other ones remain invisible since they have no skin attached.

    How can I attach a skin to an enemy box so it shows up in every enemybox clone?

  • I have it on the behaviours folder and still when I load a capx says that I am missing the behaviour as if it wasnt there.

  • Pretty sure you're in the wrong forum. Try under Team Requests

  • Hello.

    I am a beginner and I am staying away from plugins right now just toying around making my own platformer. So far I came up with some complicated stuff that I am struggling to make it work specially stuff like AI.

    My question is, shall I be using plugins or shall I try to stay away from them?

    Thank you for your time

  • That doesn't work for my case. I do not want any countdown and I need to set it as a layer is visible not as an object with collision. That's exactly the problem.

  • Anyone? Please

  • I'm not sure how to do what you're saying. I've set up this:

    If layer X is visible set to true

    If layer X is not visible set to false.

    I can't seem to find any condition to run if boolean is A do B. The system variables are only available for globals not instance. Sorry if I make stupid questions but I lack a lot of knowledge.

  • Hi so I want to make a sound pop up when a layer comes visible.

    This is somewhat something like a tutorial or explanation. If you pick X or Y or whatever, a layer becomes visible where a character with a text box comes and explain you the mechanic/item/whatever.

    I want to to add a sound for when this happens so I figured I would add a sound whenever that layer becomes visible. The problem is if I dont set trigger once while true, the audio loops as long as stays visible and if I trigger it, works fine but only happens the first time the layer becomes visible and I want it to happen everytime.

    Long story short: I want a sound to pop up when a layer becomes visible, just play ONCE at the start, do not repeat as long as is visible and I want it to happen every time the layer becomes visible.

    Any ideas?

  • I don't see why it would look better. You set the layer visible which makes the text box pop up. What would be the difference?

    The difference would be I can actually make a full design with different objects to pop up at once instead just one text box.

  • While I was waiting for a reply came up with a different idea. Make a layer with a design I am pleased set invisible and once I want it to show up I ll set layer to visible with the text I want and then back to invisible. This way I can make it look better graphic-wise than just popping up a textbox within the screen.

    Does it sound good?

    Also thanks for your reply, I appreciate it very much

  • Hello guys.

    I am making a platform game and before the first time you get to see something new like an item or mechanic I want a small tutorial text to appear.

    My question is how can I make this in an efficient way. I am a beginner with C2 and this is what I have in mind.

    I thought of making a character sprite to pop on in the screen with a dialogue box and the information needed. So when the player X between the X distance I want the tutorial to pop up the character sprite and the text, depeding on which item or mechanic needs to be explained. I thought of doing this in a layer called tutorial and set paralax to 0.0 place the image and set to invisible.

    My question is, is this a proper way to do it or should I be trying to do it in a different way?

    Here's an example of what I would like to do. Making the "tutorial" come up right in front, leaving the game behind in a second place.

  • Any chance you could save it in an earlier version, I don't have the beta r10 installed.