TheDom's Recent Forum Activity

  • I don't know the particulars of your code but, I would use a global variable rather than an instance variable. It seems to me the instance variable is created after the start of the layout within the object. Setting the value with a global variable or even a local variable should resolve it.

  • Make your image larger at higher resolution, then scale it down in C2.

  • My post didn't take so here it is again, Don't "reset global variables"

    Keyboard > Left Arrow is Down > System > Set Validate = 1

    ________________________________ > System > Wait 1.0

    ________________________________ > System > Set Validate = 0

    or

    Keyboard > Left Arrow is Released > System > Set Validate = 0

  • I have a sample project with some AI I created. I will PM you with a link.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Just published an update with new publishers and some new updated contact information. Also removed outdated publishers. If you already purchased it the past, you can download the update now.

  • Can you post a capx. Generally this happens if you have your conditions set backwards but, with the Touch object, it should only happen with the object being touched. It might be how you have constructed your condition.

    Alternatively here's a solution.

    Create an instance variable (text) within the cake object called Actions

    Create a condition:

    Cake > Actions = "Destroy_Cake" >> Cake>Destroy

    On Object Touched> Cake>> Set Actions>"Destroy_Cake"

    Only the cake touched will have the value changed and be destroyed

  • Select the "Touch" object under the project dialog. Then select "Use mouse input in the properties dialog box. You do NOT need to have the mouse object added to the project.

  • You should really read the manual on sounds and how they are handled. Preloading sound will really slow down the games loading. Background music is streamed (music put in the music folder). Sound effects are download as needed. It makes things work much smoother. I used to use "preload" sound but, not any more. I think you'll find your better off not using it at all and sounds will play fine.

  • You need to scale the game slightly oversized. Check out this tutorial my help. https://www.scirra.com/tutorials/998/screen-resolution-for-mobile

  • Use a graphics program to make a single image out of the 2 images.

  • When you leave a layout, all objects are destroyed in the layout by default that are NOT set to global in the properties dialog box. I don't know the specifics of your game mechanics so I would say, start with that. Set objects that can be taken to other layouts to global.

  • Use the pin behavior. Give the Player pin behavior and make active on collision.

TheDom's avatar

TheDom

Member since 7 Jul, 2012

Twitter
TheDom has 1 followers

Connect with TheDom

Trophy Case

  • 12-Year Club
  • x6
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

14/44
How to earn trophies