lionz's Forum Posts

  • You'll have to explain what you did and what is broken because that object is still a tiled background and the event related to it seems to be disabled.

  • Ah right it's because you're using a tiled background which has no collision, you should be using a sprite.

  • The first problem looks resolved as it spawns one only based on the logic. To use a range you can use random(x,y) where x and y would be the left and right co-ords of the box.

    For the second problem you need a parameter sent through the function, they are useful things. When you call a function it doesn't pick instances from the previous actions, to get around this you send the enemy UID through the function as a parameter. Then inside the function event you add a condition to pick enemy where enemy UID = parameter, this will pick the one you clicked on originally.

    For the third problem at its simplest you could use choose(1,2,3,4) which would set an answer from a choice of answers or you can look at Arrays where you can store many answers kind of like a spreadsheet and pick from them.

  • Well if I think of it in terms of the Family logic you can add all variables at the Family level then you should be able to compare Sprite with Family.

  • You could just do it with events then, if player exp is greater than 100 set player crit chance to 10%, if exp greater than 300 set player crit chance to 20%.

  • Again you didn't explain what you're trying to do, if you need help with implementation of a design then we need to know the design. One array per skill, what is a skill? If you have certain things that happen per level increase of a player then you could fit them in one array.

  • I know what you mean about the family logic but I tend to avoid this. If you approach it with 'pick nth instance' then you can grab the variables from the two instances, I believe ordered by UID. If you do an overlap condition then you can use pick 0 and 1 instances to get their values separately.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It would make sense if the columns were levels, but not sure what you're trying to do here you didn't really explain it?

  • Hiya,

    You can assign 2 different layouts the same event sheet. Or if you still want each layout to have their own main event sheet, you can keep the common events in one event sheet and 'include' it in the other event sheets, right-click include event sheet.

  • I don't see a fix for this because it's just not intuitive. If you make the selector invisible when cursor is not over the button then it would always be invisible which means the keyboard doesn't work. I would make it keyboard or mouse here and not use both.

  • I think it is very simple and easy to understand but of course you will need to use it and practice to get better with it. You could start by trying to make a platformer game. There are many tutorials on this site and on Youtube you could use to get started.

  • You have to change the angle of motion of the bullet. Default will be 0 to the right, you need to set the to 180 when it is created.

  • What you're describing is the name of a loop? That's not going to affect much whether it's called abc or xyz.

  • Memory usage should be low for mobile. When you are previewing on desktop it will run faster. What is the image memory usage of your project?

  • Then it is the go to layout action, you are trying to go to a layout 'by name' and the name is "1". You need to enter the right name. Show the names of your layouts in the screenshot please :)