1. Hey! Guest! The 36th GMC Jam will take place between February 27th, 12:00 UTC - March 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice
  2. NOTICE: We will be applying a Xenforo update on Tuesday 25th of February. This means that from approximately 10:00 to 14:00 BST the forums will be offline (or possibly longer). Sorry for the inconvenience! Official Announcement here.

Adding effects on a circle

Discussion in 'Programming' started by 66Gramms, Mar 20, 2017.

  1. 66Gramms

    66Gramms Member

    Joined:
    Feb 2, 2017
    Posts:
    23
    Hello Everyone!
    I'm making a game where you can use a bomb, which radius grows really fast and destroy everything in it's way. I've managed to do this, it's working really nice with collosion_circle, but for the display all i have is a draw_circle which is not so nice. Can you please tell me how can I applicate some kind of effects on this circle? I'm not really home in particles all i use is the basic effects game maker gives, and even less in shaders. Thanks for help in advance!
     
  2. The-any-Key

    The-any-Key Member

    Joined:
    Feb 2, 2017
    Posts:
    1,524
  3. JFitch

    JFitch Member

    Joined:
    Sep 28, 2016
    Posts:
    428
    You could create a sprite and draw that.
     
  4. sharpie89

    sharpie89 Member

    Joined:
    Feb 17, 2017
    Posts:
    123
    After effects?
     
  5. zendraw

    zendraw Member

    Joined:
    Jun 20, 2016
    Posts:
    1,389
    you can either do that with particles, or like this,

    var dir=irandom(359);
    repeat (12+radius) {instance_create(xx+lengthdir_x(radius, dir), yy+lengthdir_y(radius, dir), o_effect)};
    xx/yy is the center of the explosion

    altho its intense its still an option.
     

Share This Page