lionz's Forum Posts

  • C for condition is technically an AND event. To make it an OR block you right click > make OR block. This is all in the same event, you don't need sub events.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Each background related to a variable value, varBG=1 = sunset, varBG=2 = valley etc. Have a global variable that is a score accumulator and reset on every 10. When globalvar = 10, choose(1,2,3,4,5) however many backgrounds there are, it'll choose a random number. You could run a function with this value as a parameter, a change background function where if 1 is chosen it chooses the sunset background, 2 it sets the valley etc.

    You don't need to determine which background to fade. You can put them into a backgrounds family with a family fade behaviour. Then just before the change background function you can select family > fade.

  • I don't think I've ever heard of someone trying to do that, 4 players on the same mobile, not taking it in turns but playing at the same time? Sounds crowded. if i were to do it i'd split the screen into 4 and have 4 invisible sprites over each section, when you touch anywhere on sprite A, player A can move to any x,y within that area, touching sprite B only moves player B to any x,y within sprite B etc

  • You set the frame after creating the object. Unless you pasted the logic wrong in here.

  • Yes you can. The game is set to time scale 0, but you can individually set objects to other time scales. Use system set object time scale 1.0 for that object.

  • I'm assuming this is based on an existing game, do you have an example video?

  • This has been asked quite a few times and I don't think it's possible to display friend's information. Assuming you've done the basic work to display scores and leaderboards, I don't think there's anything beyond what's in the manual, nothing else was implemented in C2.

    After doing some digging, community is having trouble getting a response here :

    facebook-highscore-list_t64758?&hilit=facebook+friends&start=30

    I don't think it's possible at the moment unless you do some javascript programming of your own, as mentioned in these tutorials where the user has modified the Facebook plugin:

    https://www.scirra.com/tutorials/446/fa ... e-a-friend

    https://www.scirra.com/tutorials/445/fa ... nds/page-5

    You could integrate these into an android game if 1. and 2. were satisfied but I don't think it's possible, I could be wrong though.

  • Your first day on C2 haha!

  • Yeah seems like the same thing either way, moving it or destroying and creating it.

  • Yes it's always 0 based index of sprites picked by the condition you set, this could be all of a family, all sprites that have a variable set to 0 etc. Not sure what your game does exactly but creating many objects can eventually affect performance.

  • Sprite > Boolean=true.

    Pick sprite nth instance 0.

    You now have the sprite where Boolean=true with the lowest IID. Sprite.IID in actions is now the IID of the picked sprite so it's knowable.

  • Well that's an entirely different problem. If the object in question has physics behaviour and the immovable object has physics behaviour then they should collide. Anything obscure you will have to post a capx.

  • Sorted on discord ayee.

  • I'm not making a capx for a single event just try it out lol