dop2000's Recent Forum Activity

  • Yes, Bullet is not a good choice here, either use Tile Movement or Pathfinding behaviours.

  • In C2 this can easily be done with Paster plugin - on every tick paste game layer(s) on it, then resize. Don't think this is possible with DrawingCanvas.

    To make 8direction move slower at Y axis - create an instance variable oldY, on every tick set Player Y to lerp(Self.oldY, Self.Y, 0.5), then set oldY to Player.Y . This is not recursive and will decrease vertical speed by 50%.

  • You can use CB Hash or similar plugin to digitally "sign" your save data. Save it together with the hash, on load check if the hash is correct.

    This will make the simple editing of the save file impossible, but won't protect from a more experienced hacker.

  • Try to change the first condition to "On object Enemy clicked", and remove "Cursor over enemy". If this doesn't help, please post your capx.

  • It works fine if you set Diagonals:enabled in pathfinding properties. But of course, following the NPC with a camera at 50x speed is not a good idea.

  • You need to post a screenshot, otherwise how can I know what are you doing wrong?

  • You do not have permission to view this post

  • You do not have permission to view this post

  • As I understand, the problem is that at x50 speed pathfinding objects are moving too fast and sometimes may run into obstacles, get stuck, miss target position etc. I believe there is a simple solution to this:

    There may still be other issues - NPCs may trigger collision events when moving at high speed, may become destroyed if they have Destroy Outside Layout behavior etc.. You can temporary disable some events/behaviors when the time scale is set to 50.

  • Considering your array has size (width=3, height=5):

    For "w"=0 to 2
    	local variable sum=0
    
    	For "h"=0 to 4
    		Add (array.at(loopindex("w"), loopindex("h"))) to sum
    	
    	System pick Nth instance, object:TextBox, instance: loopindex("w")
    		TextBox set text to str(sum)
    
    
    
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • See also this example of dual-thumbstick I made for another post:

    dropbox.com/s/rrpxnmer3gwhl88/DoubleVirtualGamepad_v3.c3p

  • Bullet set angle of motion to angle(self.x, self.y, player.x, player.y)

    Or, if you have "Set angle=yes" in Bullet properties, then you can use action "Bullet set angle towards position (Player.x, Player.y)", the bullet will fly in the direction it's facing.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 280 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