Spark not jumping 1 pixel gap

  • hyp3rs0mn1a
    13th Jan 2017 Member 0 Permalink

    Hello, I'm new to the forum and just recently downloaded this game. I have been trying to follow along with the Complete Electronics Tutorial posted on the Wiki. Unfortunately, I'm having trouble getting a spark to jump the 1 pixel gap and travel along METL, NSCN, PSCN and all other conductive materials, excluding GOLD. A spark will jump the 1 pixel gap between gold, but will not jump the 3 pixel gap between gold which is listed on the Wiki. Has the game been updated/have these rules changed since the publication of the page? Any help or tips are greatly appreciated. Thanks!

  • Mrprocom
    13th Jan 2017 Moderator 0 Permalink
    @hyp3rs0mn1a (View Post)
    Nothing has changed that made it impossible for spark to jump over 1 pixel gaps. Maybe you are doing something wrong.
    Here is how it's supposed to be done in a GIF animation: http://i.imgur.com/DVq5qZo.gif
    If you still can't do it, try uploading a save with your problem demonstrated there, you can attach it to a post by copying its ID and then typing:
    ~ID
    Example: ~1 becomes


    Also for some reason gold is weird with transferring spark over gaps, is this normal or a bug? I don't see it explained in the wiki. This is what I get with 2 pixel gaps: http://i.imgur.com/mBugARk.gif

    Edit: Oh, and since you are new to the game, maybe you don't know the keyboard shortcuts I used in those animations, you can learn them from this awesome interactive shortcut tutorial made by @boxmein if you are interested.
    Edited once by Mrprocom. Last: 13th Jan 2017
  • QuanTech
    13th Jan 2017 Member 0 Permalink

    It does seem to be a bug. GOLD does not conduct to anything inside a 4px 'boundary' except for another GOLD 3px away (by this I mean a 3px gap in between.) So GOLD doesn't conduct 2px. This can't be fixed though because it would break a lot of saves. The way it should've been done is to have rx and ry in https://github.com/simtr/The-Powder-Toy/blob/master/src/simulation/elements/GOLD.cpp in for loops just like almost every other element update function. Then GOLD would be able to conduct to any other GOLD inside its 4px boundaries.

    Edited 4 times by QuanTech. Last: 13th Jan 2017
  • LBPHacker
    13th Jan 2017 Developer 0 Permalink

    Not a bug. The code obviously does what it's intended to do. It's a perk. The wiki explains it incorrectly, that's all.