dop2000's Recent Forum Activity

  • newt Yeah, but is there a similarly easy way to extract Base64 from image, without plugins?

  • tomhaiger

    This is easy, just add "Slder_button isDragging=1" condition to the event #25

    .

    Also, where did you get the WebStorage plugin?! It has been deprecated at least 3 years ago! You need to use Local Storage instead.

    And, you probably know this, but the sprite cursor will not work with Form Controls (your big OK button is a Form Control).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Pode's addons can be downloaded from his repository:

    github.com/Pseudopode/construct2_plugins_behaviors

  • You need to use "wait 0.5*loopindex" in the first line, not your static variable.

    The first loop (for "IndexX") is actually executed in one tick, but it creates many Wait threads. If you use static variable, at this time it's 0, so all these threads will become "Wait 0". If you use loopindex, then they will be scheduled with 0.5s increments.

  • That's a clever solution! Much easier than what I had in mind.

  • Making the car to only turn on intersections is easy - just put an invisible square sprite there and ignore left/right keys if the car is not overlapping it.

    But if you want the car to make a naturally looking 90-degree turn and enter its lane properly - this part may be tricky.

  • I don't really understand how your game is supposed to work. You need to post your project, or maybe a youtube video of a similar game.

  • Put the JSON string with character spacing data in here:

    I also highlighted other important fields.

    If you configure everything correctly, you will not need to change anything with events.

  • Why did you put a dot in "savedWithRelease" line? If it contained 13802, you need to replace it with 13700

    If this doesn't help, please post you file. I don't know what you are doing wrong, but it will definitely be easier to change it myself...

  • Try this:

    Enemy has LOS to player
    ...Enemy bullet speed<1000 : Enemy set bullet acceleration to 500
    ...Else : Enemy set bullet acceleration to 0
    
    
    PlayerBullet on collision with Enemy : Enemy set bullet speed to 1
    

    So every time player bullet hits the enemy, it will stop, and then will start accelerating again, up to the maximum speed of 1000.

    If you don't want it to stop, then instead of 1 you can use something like min(100, Enemy.Bullet.Speed) or (Enemy.Bullet.Speed/2)

  • You can definitely do this with blend modes.

    Set layer transparent=no, color=black, Force own texture=yes

    Put your circle sprites on this layer with blend mode "Destination out".

  • It's actually much more complex than that, especially with only one family for all NPC types. Here, I made a little demo:

    dropbox.com/s/1zqazbbvfhnraqz/ChasingAnimals.capx

    This can be done easier (the picking part) if you make separate families for predator and prey objects. You can actually add the same object to multiple families, for example a Wolf sprite can be in Predators family and in NPC family. On Predators family you add instance variables only applicable for predators (for example, attack speed etc). On NPC family you can add more general variables, that apply to all NPCs, like health.

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