lionz's Forum Posts

  • Using an instance variable on the spawner object, something along the lines of :

    Pick a random instance of spawner, where instance variable is not set to 0 (default/empty), set var to 1.

    Repeat this for 2, 3 and 4. You can use a for loop for 1 to 4 and use loopindex as the variable which will be 1,2,3,4 or just add 4 events top to bottom and they would run in sequence.

    Then you have 4 spawners each randomly set to 1, 2, 3, 4.

    Add logic to make 1 relate to a particular item, 2 is another item etc

    Or if the item names are known and its easier with text, set the instance variable to a string and say where instance variable is blank/"", pick a random instance of spawner and set to item1name etc and repeat 3 more times.

  • You can use set mirrored/not mirrored actions together with the simulate actions in the same event.

  • Dunno, cannot see the code :D should be a simulate left/right and if it collides with the invisible sprite then simulate the opposite direction

  • The object has properties bar and near the bottom there is 'initially visible' which is usually ticked, you can untick this to make it invisible by default.

  • That's how it works in the one I made

  • I don't think localstorage and dictionary are interchangeable, what you've done is swapped out variables for dictionary? You didn't mention how you did it originally but dictionary would be saved as json format in localstorage as well.

  • Something like this : dropbox.com/s/aenxu10o766mgza/levers.c3p

  • There's no need to set true/false variable for each instance of the variable, surely just landing on any button and setting it to true/false is fine. I see what you've done with the button checks though and it might not work. My approach would be to have any button linked to that moving platform with the same variable number. Then you can pick all buttons that have the same number (and are set to false) as the moving platform, and compare pickedcount, if its 0 that means all buttons are true and it can move. If you are always going to use 2 buttons with a platform you can of course compare if the buttons are true and that the pickedcount is 2, but the false way adds flexibility if it is more than 2 buttons.

  • Explain the problem you had with ads on C3? My experience was fine, it was really easy.

  • Giving enemy Platform behaviour is the norm. You simulate left and right and mirror/not mirror as intended.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Nope not happening with my apps

  • Just look at the image size and image memory used in the layout. It's not advisable to use a huge background and by that I mean the source image, not the size of the sprite object. But if 5 backgrounds have the same memory usage as the 1 background then there's no difference. But I've only developed for mobile where it matters greatly for performance so maybe for PC it's not the biggest problem.

  • How are we supposed to guess?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads