newt's Forum Posts

  • Alright thanks guys.

    Actually I've created a bigger headache than just 5 x 10. For what I want to do I need to move the entire width of the row, so its not just one displacement/ one pixel per row, but two.

    So Ill have 12 events for each row, with five rows

    Also I forgot to factor in that the displacement starts at row 0, column 0, so instead of 5 x 10 it'll be 5 x 9, but I still have the same amount of events to make... funny no?

    Edit weeeeeeeeee!!!

    nmy1: 114 On shoot

    nmy1: 214 is moving

    Friendly: 64 Friendly: Pick closest to: nmy1 0 .X, nmy1 1 .Y

    elec1Set displacement (real) at (0, 0) to (nmy1 0 .ImagePointX("1"), nmy1 1 .ImagePointy("1"), 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (0, 1) to (nmy1 0 .ImagePointX("1"), nmy1 1 .ImagePointy("1"), 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (0, 2) to (nmy1 0 .ImagePointX("1"), nmy1 1 .ImagePointy("1"), 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (0, 3) to (nmy1 0 .ImagePointX("1"), nmy1 1 .ImagePointy("1"), 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (0, 4) to (nmy1 0 .ImagePointX("1"), nmy1 1 .ImagePointy("1"), 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (0, 5) to (nmy1 0 .ImagePointX("1"), nmy1 1 .ImagePointy("1"), 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (0, 6) to (nmy1 0 .ImagePointX("1"), nmy1 1 .ImagePointy("1"), 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (0, 7) to (nmy1 0 .ImagePointX("1"), nmy1 1 .ImagePointy("1"), 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (0, to (nmy1 0 .ImagePointX("1"), nmy1 1 .ImagePointy("1"), 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (0, 9) to (nmy1 0 .ImagePointX("1"), nmy1 1 .ImagePointy("1"), 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (5, 0) to (Friendly.ImagePointX("2"), Friendly.ImagePointy("2"), 0, 0, filter : 0 , 100)

    elec1Set displacement (real) at (5, 1) to (Friendly.ImagePointX("2"), Friendly.ImagePointy("2"), 0, 0, filter : 0 , 100)

    elec1Set displacement (real) at (5, 2) to (Friendly.ImagePointX("2"), Friendly.ImagePointy("2"), 0, 0, filter : 0 , 100)

    elec1Set displacement (real) at (5, 3) to (Friendly.ImagePointX("2"), Friendly.ImagePointy("2"), 0, 0, filter : 0 , 100)

    elec1Set displacement (real) at (5, 4) to (Friendly.ImagePointX("2"), Friendly.ImagePointy("2"), 0, 0, filter : 0 , 100)

    elec1Set displacement (real) at (5, 5) to (Friendly.ImagePointX("2"), Friendly.ImagePointy("2"), 0, 0, filter : 0 , 100)

    elec1Set displacement (real) at (5, 6) to (Friendly.ImagePointX("2"), Friendly.ImagePointy("2"), 0, 0, filter : 0 , 100)

    elec1Set displacement (real) at (5, 7) to (Friendly.ImagePointX("2"), Friendly.ImagePointy("2"), 0, 0, filter : 0 , 100)

    elec1Set displacement (real) at (5, to (Friendly.ImagePointX("2"), Friendly.ImagePointy("2"), 0, 0, filter : 0 , 100)

    elec1Set displacement (real) at (5, 9) to (Friendly.ImagePointX("2"), Friendly.ImagePointy("2"), 0, 0, filter : 0 , 100)

    elec1Set displacement (real) at (1, 0) to (elec1 0 .ImagePointX("1") , elec1 1 .ImagePointY("1") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (1, 1) to (elec1 0 .ImagePointX("1") , elec1 1 .ImagePointY("1") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (2, 0) to (elec1 0 .ImagePointX("2") , elec1 1 .ImagePointY("2") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (2, 1) to (elec1 0 .ImagePointX("2") , elec1 1 .ImagePointY("2") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (3, 0) to (elec1 0 .ImagePointX("3") , elec1 1 .ImagePointY("3") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (3, 1) to (elec1 0 .ImagePointX("3") , elec1 1 .ImagePointY("3") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (4, 0) to (elec1 0 .ImagePointX("4") , elec1 1 .ImagePointY("4") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (4, 1) to (elec1 0 .ImagePointX("4") , elec1 1 .ImagePointY("4") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (1, 2) to (elec1 0 .ImagePointX("5") , elec1 1 .ImagePointY("5") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (1, 3) to (elec1 0 .ImagePointX("5") , elec1 1 .ImagePointY("5") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (2, 2) to (elec1 0 .ImagePointX("6") , elec1 1 .ImagePointY("6") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (2, 3) to (elec1 0 .ImagePointX("6") , elec1 1 .ImagePointY("6") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (3, 2) to (elec1 0 .ImagePointX("7") , elec1 1 .ImagePointY("7") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (3, 3) to (elec1 0 .ImagePointX("7") , elec1 1 .ImagePointY("7") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (4, 2) to (elec1 0 .ImagePointX("8") , elec1 1 .ImagePointY("8") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (4, 3) to (elec1 0 .ImagePointX("8") , elec1 1 .ImagePointY("8") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (1, 4) to (elec1 0 .ImagePointX("9") , elec1 1 .ImagePointY("9") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (1, 5) to (elec1 0 .ImagePointX("9") , elec1 1 .ImagePointY("9") + random 50- random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (2, 4) to (elec1 0 .ImagePointX("10") , elec1 1 .ImagePointY("10") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (2, 5) to (elec1 0 .ImagePointX("10") , elec1 1 .ImagePointY("10") + random 50- random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (3, 4) to (elec1 0 .ImagePointX("11") , elec1 1 .ImagePointY("11") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (3, 5) to (elec1 0 .ImagePointX("11") , elec1 1 .ImagePointY("11") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (4, 4) to (elec1 0 .ImagePointX("12") , elec1 1 .ImagePointY("12") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (4, 5) to (elec1 0 .ImagePointX("12") , elec1 1 .ImagePointY("12") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (1, 6) to (elec1 0 .ImagePointX("13") , elec1 1 .ImagePointY("13") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (1, 7) to (elec1 0 .ImagePointX("13") , elec1 1 .ImagePointY("13") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (2, 6) to (elec1 0 .ImagePointX("14") , elec1 1 .ImagePointY("14") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (2, 7) to (elec1 0 .ImagePointX("14") , elec1 1 .ImagePointY("14") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (3, 6) to (elec1 0 .ImagePointX("15") , elec1 1 .ImagePointY("15") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (3, 7) to (elec1 0 .ImagePointX("15") , elec1 1 .ImagePointY("15") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (4, 6) to (elec1 0 .ImagePointX("16") , elec1 1 .ImagePointY("16") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (4, 7) to (elec1 0 .ImagePointX("16") , elec1 1 .ImagePointY("16") + random 50- random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (1, to (elec1 0 .ImagePointX("17") , elec1 1 .ImagePointY("17") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (1, 9) to (elec1 0 .ImagePointX("17") , elec1 1 .ImagePointY("17") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (2, to (elec1 0 .ImagePointX("18") , elec1 1 .ImagePointY("18") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (2, 9) to (elec1 0 .ImagePointX("18") , elec1 1 .ImagePointY("18") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (3, to (elec1 0 .ImagePointX("19") , elec1 1 .ImagePointY("19") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (3, 9) to (elec1 0 .ImagePointX("19") , elec1 1 .ImagePointY("19") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (4, to (elec1 0 .ImagePointX("20") , elec1 1 .ImagePointY("20") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Set displacement (real) at (4, 9) to (elec1 0 .ImagePointX("20") , elec1 1 .ImagePointY("20") + random 50 - random 50, 0, 0, filter : 2 , 100)

    elec1Make Visible

  • Ok I have a distort map on a sprite with 5 columns, and 10 rows something like this:

    00 10 20 30 40 50

    01 11 21 31 41 51

    02 12 22 32 42 52

    03 13 23 33 43 53

    04 14 24 34 44 54

    05 15 25 35 45 55

    06 16 26 36 46 56

    07 17 27 37 47 57

    08 18 28 38 48 58

    09 19 29 39 49 59

    Now I now I could use some loops to set the matrix, the question is, should I?

    If I input the coords manually Ill have an event that's freakishly long, but if there's a difference in performance I'd rather use the faster/ less cpu intensive.

    So which would be better?

    Keep in mind I also have to make another map with columns, and rows switched.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Did a bit of experimenting, and it seems it only happens when the sound is not cached.

    Thing is the wiki says that's only for .wav files, or sounds other than music.

    So it would have to be an error on the games side, not the codec.

    Here's a test cap somebody want to confirm, before I upload it to the tracker?

    http://www.mediafire.com/?sharekey=fa9db31b3dd92e0fd956df2962098fcbe04e75f6e8ebb871

  • Here's a new opensource one

    http://www.crackart.org/index.php

  • [quote:22euhgvd]Change your codec settings?

    Um.. to what

    [quote:22euhgvd]There's should be only one instance. Probably the icons from taskbar doesn't disappear. Move mouse over them and they should go away.

    Nope, each play creates anew instance, and doesn't close the old.

    I could literally have dozens of icons in the bar.

  • Ok Ive got a timer behavior that plays one song during the day, and another during the night.

    Thing is Im getting this(pic)

    <img src="http://i41.tinypic.com/119rw3o.jpg">

    After each song is played I get a new instance of the decoder in my task bar.

    Is there a way to fix this?

    btw Im using mp3's with "play resource", autoplay wont work with mp3's.

    Also OGG is still broke.

  • Your right, this is actually much worse. Your supplying them a product, that they can exploit whether you win or not. In return you receive nothing for your time, other than the slight chance that you may receive some publicity. That chance goes down considerably when these so called "competition's" are not judged by the public.

    On the other hand they get to pic and choose what they want to publicize, as well as reap the benefits of the publicity.

    Its still speculative work, and extremely unfair.

    Oh I forgot, you do get something, you get to say you entered the competition, but if you don't win, is that really going to help you?

  • Wow, nice

    I have it all working nicely now thank you. There is a drastic time difference between TimeDelta and Ticks hey?

    I assume TimeDelta*60=1 second?

    If your frame rate is 60 then yes

  • Hmm maybe you could put this into it?

    http://www.google.com/intl/en/landing/cadie/index.html

  • Was just thinking if we were ever to be able to import/export objects, and their settings, wouldn't it be possible to make a viewer, or a separate program to view those objects?

  • Hmm noone's interested?

    Oh well, I've made a bit of progress on my own, link up top's updated.

  • same for sprites(animations), bones, plasma,lk's, etc.

  • I was trying to replicate something like the lightning demo here:

    http://www.scirra.com/demos.php

    But that seemed like it would be way to much for me to figure out for what I needed it for, so I came up with this:

    http://dl.getdropbox.com/u/666516/zap.cap

    Using the displacement map, you can set the x,y anywhere you want, so it's a lot easier to set up.

    Note you cant change the sprites angle, or it messes everything up.

    Any way if anybody feels like giving me some pointers on how to refine this even more, or how to make it more realistic, please feel free.