Asmodean's Recent Forum Activity

  • The first 4 boxes have Month=11 and Day=0 the next have Month=0 and then Month=1, but wie have at least here in Germany Month=11 and Day=1 with Date.GetMonth(Date.Now) and Date.GetDay(Date.Now). So no box will be selected.

  • It works but none auf your boxes have the correct value for day and month so none is selected.

  • Your event is triggered the whole time. So Wait and flash is called many, many times and my guess that's to much for the flash behavior and it doesn't flash but the coin goes invisible.

    You could use instead the triggered event 'on collision' or if you want to use overlap you could use the timer behavior on the coin.

  • CompressPng and PNGoo change the color depth to 8 bit (256 colours) and using a dithering algorithm like Floyd-Steinberg. In most cases there will be no visible difference but if you have colour gradients it can be visible. So there is loss of information.

  • Thanks dop2000. My GPU is now on Chrome's blacklist, that causes the problem.

    gibbon you are right the one layer rotates in the center of the other. But one layer can have the pivot point changed. I don't think there is another way with layers. You could make a sprite and pin all of your objects to it and rotate that sprite.

  • You could try to set the parallax to 0 to all layers that should not rotate and set unbound scrolling to yes. Now use scroll to to the pivot point of the rotating layer and rotate the layer.

    I made a capx:

    drive.google.com/file/d/1_1O8Q0FOVjW-JW16JRSgBmx7aFlZPA7u/view

    You could do me a favor and look if you have also a horrible performance if import that capx into C3.

    It works very well in C2 but if I import in C2 the CPU usage is ver high.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Don't know if that helps. It calculates only the distance for the same height (y.coordinate are the same) of player and enemy.

  • Try it with distance that should be easier and you have to destroy the line on start of layout otherwise the first click goes out of view.

  • I guess the question is really how do I access C3 expressions from script.

    That I don't know, but that should work in JS Script with c as a global Variable;

    let t= 10*3600+15*60+20; 
    let s,m,h;
    
    h= String(Number(Math.floor(t/3600)));
    m= String(Number(Math.floor(t/60%60)));
    s= String(Number(Math.floor((t%60))));
    
    runtime.globalVars.c= h.padStart(h.lenght-2,'0')+":"+m.padStart(m.lenght-2,'0')+":"+s.padStart(s.length-2,'0');
  • It's generates a maze on a tilemap with the Iterative Backtracking and solved it with the Trémaux's algorithm. It doesn't look for the shortest path it is searching for any path. In worst case it searches every path twice. The markings on the visited pathes are optional. It's only to see that it's not an aimless wandering.

    If there is any interest I will clean up the code an put it to download, but I want do the effort if there is no interest.

    construct.net/en/free-online-games/tilemap-maze-generator-solver-17797/play

  • The new created object is only active in the next event not in this sub-event.

    Make a another 'On start of layout' and put your function call in it.

  • You need two "" next to each other.

    This should work:

    "B. (""Hello World"")"

Asmodean's avatar

Asmodean

Member since 31 Jul, 2015

Twitter
Asmodean has 9 followers

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

15/44
How to earn trophies