Asmodean's Recent Forum Activity

  • - .mp4 with AAC codec (audio play but not video > black screen).

    What video codec do you use? It should be "MPEG-4 AVC"

  • The orientation is wrong of your sprites. 0° is to the right, so you have rotate them 90° to the right in the Sprite-Editor.

    And then this should work:

    System: For each aim -> aim: Set angle toward (aim(LoopIndex+1).X, aim(LoopIndex+1).Y)

  • It should be arrow(IID).angle

    With IID (Instance ID). So arrow(0).angle for the first instance , arrow(1).angle second ect.

    Give it a try.

  • 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');
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