BadMario's Recent Forum Activity

  • on the other hand moveTo and tweening can be done with a couple of events. It's always better to use events and avoid potential problmes unless we are talking about a plugin that saves you a lot of time.

    Even scroll to or pin, sure I use them sometimes, but I can do the same with events in about 2 minutes.

  • add instance variable posY to brick object then on start of layout set it to Self.Y so each brick knows where it is.

    after one is hit do

    Brick > set instance variable posY to Self.Y + 32

    Brick > abs(Self.Y - Self.posY) <0.1 ACTION: Brick > set Y to lerp(Self.Y,Self.posY,1-0.15^dt)

    That should work

  • Maybe a for loop ( for each enemy ) and has no line of sight as a sub event in there

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Talking about all of them. They are inconsistent and often clueless. Same device, same browser will do different things sometimes. But that's a different topic. Using invisible buttons in Construct is the most reliable thing right now.

  • It's not a bug though. For security reasons browser will not let you open links automatically and tapping a sprite counts about the same as just opening a link automatically, a pop up or whatever. Buttons count as user action so they should work in every situation.

    You may get different results on different browsers or different versions of same browser because people coding these things spend more time on reddit and youtube than thinking while coding.

  • Yeah, you would need to explain the issues. I am still on Construct 2, but it should work the same way. Always worked without issues for me.

  • create a global variable called musicVol and set it to 0 or whatever the volume is supposed to be ( goes from 0 decibels to -infinity I guess )

    create another variable called fade = 0

    have an event that sets music volume to the value of this global variable

    Then on your command set fade variable to 1

    create another event: if fade = 1 > every 0.1 seconds subtract 1 from musicVol variable. That would reduce music volume by 10 decibels per second, need it to fade faster set it to subtract 1 every 0.05 seconds or whatever fits your game.

    I would also put some limits here. if musicVol<-100 set fade to 0 again so it stops fading because you can't hear anything at -100 anyway.

    You can also bring it back up again, same way, just set fade = 2 and add event that if fade = 2 ads 1 to musicVol every 0.05 seconds, and if musicVol>than 0 and fade = 2 set fade back to 0 and musicVol back to 0, so it stops at 0 decibels

  • I am guessing there aren't really any. People who say there are, are probably just referring to having to find workarounds to what would normally be easy if Construct also had a real code editor. Some things would be easier to do if you could actually code them in Construct, but since you can't you sometimes end up with a lot of events which can seem like a really bad and inefficient way of doing it if you are used to coding things. Exactly the opposite of what Construct is supposed to do, but I don't think this happens often enough to really be an issue.

  • You should be able to open both projects and copy a sprite from project 1 and paste into project 2.

    I have done it

  • I mean that in your event where you add damage ( I assume it is on collision with enemy/bullet ) you need to add another condition :

    In your case if using flashing behavior, just ad player is flashing condition, then invert that ( add it to your event that checks for collisions and ads damage ).

    That means even if colliding with enemies and bullets he will not take on damage while flashing

  • That is not a good design for mobiles though. Your finger will cover too much of the power bar and you will not be able to see exactly how much power there is and it's generally not a good idea to have to stick a finger in the middle of the screen in games like this.

    I always go for, tap/click behind the ball and move away from the ball in the opposite direction of the power bar. That way you see everything clearly

  • Crop outer?

BadMario's avatar

BadMario

Member since 3 Sep, 2015

Twitter
BadMario has 2 followers

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies