chrisyamao's Recent Forum Activity

  • So far, i know how to change the color of a sprite, for example using the Hue or Adjust HSL effects.

    However, those actions make a hard transition.

    I've been recommended plugins that are for C2 and still not available for 3.

    Using C3, does anybody know how i can make a smooth transition of color/hue?

  • chrisyamao

    Maybe something like this?

    https://www.dropbox.com/s/jbdmeobuycms5te/ShootingStars.capx?dl=0

    This is precisely what i needed. Thanks so much tarek!

  • I want to help you, but I do not know exactly what you want. Can you tell me clearly?

    Thanks! i'm sorry for not being clear.

    I'll try to be as clear as i can;

    In my layout i have placed 5 instances of a bullet (a star shape).

    they are all angled differently and fade out after 1 second.

    i want every enemy to spawn this chunk of stars on destroyed.

    Is there a way i can GROUP these 5 instances on my layout, and turn them into an object? (name eg: chunkOfStars)

    So i can make:

    Enemy - on destroyed : Enemy - Spawn object - chunkOfStars

    or there's no other way than making an action for each individual star spawned and the specific angle?

  • Hi guys!

    In my game i need to spawn 5 stars, from the center outwards, whenever an enemy is killed, like in a "poof!" cloud

    I created the sprite STAR with bullet and fade behaviours.

    As a test, I put 5 in the layout, i rotated them by hand in the layout and place them close to each other, to preview it and see how they bullet outwards and fade. It worked fine!

    But as far as i know, when event "enemy - on destroyed" occurs, i should set the star spawn 5 times, each with its own angle and position, like this:

    System - create object - Star

    Star - set angle

    Star- set position

    System - create object - Star

    Star - set angle

    Star- set position

    System - create object - Star

    Star - set angle

    Star- set position

    System - create object - Star

    Star - set angle

    Star- set position

    System - create object - Star

    Star - set angle

    Star- set position

    Isn't there a way i can take the 5 i put in the layout as a test, group them and turn them into an object "star cluster", remembering how many instances there are/position/angle/scale from each other?

    And then just make an event be:

    Enemy - on destroyed - System - create object - Star cluster

  • If the Bird on collision event was separate from after the Bullet collision event then most likely the issue was that sometimes the bird would be destroyed by the collision before the other could be triggered and very occasionally not.

    The key is to put them all in one event...

    Bird on collision with bullet

    -bullet destroy

    -System add 1 to score

    -bird destroy

    thanks for your help chris!

  • chrisyamao

    rexrainbow has a link to all of his plugins in his sig.

    http://c2rexplugins.weebly.com/rex_tween2effect.html

    Thank you!

    I don't see any download button however. i need this for C3, do you happen to know if it's compatible?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • does anyone know where i can find this? the link is broken

    Thanks

  • Hi guys, i have a question. I have a simple game where you shoot birds and each killed bird gives you 1 point in a global variable.

    I had an event:

    Bullet, on collision with Bird:

    • bird destroy
    • bullet destroy

    I tried a second the event:

    Bird, on collision with Bullet - System, Add 1 to Score.

    I did a preview. it was not working. In an arbitrary way, one of every 10, 15, 20 birds killed counted as a point, so i would kill more than 20 birds and have a score of 2 or 3.

    I tried changing the event to:

    Bird on destroyed - System, Add 1 to Score.

    I did a preview and it worked perfectly.

    What is the difference between those two events? how come one worked fine and the other one was pure nonsense? They seem to represent the same logical event.

    Thanks

  • Hi, i'm relatively new to C3 and i'm having a weird problem.

    Some actions of my events get ignored.

    My game has birds falling from the sky (bullet), moving side to side (sine) and shaking rapidly (sine2) when hit by a lightning.

    In my event sheet, i have:

    When bird is hit by thunder, set bird's:

    -bullet inactive (stop coming downwards)

    -sine inactive (stop flying side to side)

    -sine 2 active (get electrocuted)

    I preview my project and the first bird i hit with a lightning plays perfectly.

    But the second (& onwards) ONLY obey to stop their bullet behaviour.

    In other words. first bird i hit, behaves like this, like i should:

    When bird is hit by thunder, set bird's:

    -bullet inactive (stop coming downwards)

    -sine inactive (stop flying side to side)

    -sine 2 active (get electrocuted)

    Every bird after the first one, behaves like this:

    When bird is hit by thunder, set bird's:

    -bullet inactive (stop coming downwards)

    Any idea of what this could be?

  • Hey Chris,

    When you spawn a new object it generally takes all its variables from another object in the project. Is there an object of the same type somewhere in your layout with different settings perhaps?

    Thanks Genga! that might have been it. i solved it in a more complex way anyways.

    I didn't have instances of it in the LAYOUT, but maybe in other layouts of the project. Maybe that was it...

    Thanks

  • Hi everyone, i'm developing this game where some enemies are on screen on the start of the layout. I've set them with "bounce off solids" true. They work fine, they bounce.

    However, more enemies spawn over time, but these spawns behave as if the "bounce off solids" setting is set to false.

    How can i fix this? i tried looking for a "on created, bounce off solids true" , but didn't find anything like it, i tried with " on created, bounce off [the object they're meant to bounce off of]" but it doesn't work.

    How can i make it so that every instance that is created, is set to bounce off solids TRUE and not only the ones that are already in the layout that i manually set ?

chrisyamao's avatar

chrisyamao

Early Adopter

Member since 4 May, 2017

None one is following chrisyamao yet!

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies