dop2000's Recent Forum Activity

  • If you have access to one of these phones, try getting LogCat log from it. There is a good possibility you'll see the error message in the log.

  • If every enemy should have a pistol, add them to a container. Then the code will be very simple:

    On every tick - Pistol set position to Enemy.imagePointX("gun"),Enemy.imagePointY("gun")

    You won't need "For each" loop, won't need to link them by UID.

  • https://editor.construct.net/#open=template-eat-em-all

    You can copy all events to C2.

  • On Enemy destroyed
    Repeat 10 times
    	Create Cube at (Enemy.x+random(-50,50), Enemy.y+random(-50,50))
    	Cube disable physics collision with Cube
    	Cube set scale to random(0.5, 1.5)
    	Cube apply impulse random(1,2) at angle random(200,340)
    	Cube set angular velocity to random(-300,300)
    	... etc.
    

    Of course, you will need to experiment with all these values and Physics settings (density, damping etc.)

  • My own version of what? What have you tried?

    If you want to try Physics - create a number of cubes in a loop, for each cube set random scale, apply random impulse at random angle, random torque or angular velocity.

  • It's not really a loop. You just need to increment the LEVEL variable when some conditions are met (all coins collected, all enemies killed). And then you can start a new level, creating a number of new coins/enemies, which is based on the LEVEL value.

    So your code may look something like this:

    On start of layout
    	Repeat (LEVEL) times	: Create Enemy
    	Repeat (LEVEL*2) times	: Create Coin
    
    
    On Enemy destroyed
    if Enemy.count=1 // last enemy killed
    	Wait 1 second
    	Add 1 to LEVEL
    	Restart layout
    	
    
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Another option is to add RoomInside object to a family. Then you will be able to pick two separate instances in the same event.

    Pick RoomInside instance N
    	Pick FamilyRoomInside instance (RoomInside.IID+1)
    	...........
    
  • You can style TextInput with CSS - use "Set CSS style" action.

    Another option is to make your own text input using text or sprite font, then you will be able to use bbcode.

  • Post a comment. Then click "Edit" above your comment. Then you will be able to insert a picture. It's a bug on the forum:

    github.com/Scirra/Construct.net-website-bugs/issues/135

  • Try Physics. Disable cubes collisions with other cubes, they should only collide with the immovable ground.

    Or you can use Bullet behavior with gravity and Bounce off solids=yes. On Collision with the ground reduce bullet speed. It will not look that nice, but should have better performance.

  • No, the second event should be "On Player Collision with MainTrack".

  • You mean if the player stays close to the wall after the collision, it should be destroyed after 5 seconds? But if it moves further from the wall, it will not be destroyed?

    You can pin another invisible sprite to the player, with slightly bigger collision polygon. When player collides with the wall, start a Timer "destroy" for 5 seconds.

    On "destroy" Timer event - destroy the player.

    If the timer "destroy" is running, but that invisible sprite is no longer overlapping the wall, stop the "destroy" timer.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 279 followers

Connect with dop2000

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x14
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

30/44
How to earn trophies