currypuff's Recent Forum Activity

  • Is there a way to impose one image across the top of another where they intersect.

    For example if I have an explosion which spawns a black scorched earth effect can I only show the scorch effect where it overlaps with land.

  • Thanks for coming up with a solution, but I have decided to stay with the long beam bullet effect as it is more visually appealing and I worked out a way to get it to work. Here is the new event.

    bullet: is overlapping enemy___________________|enemy: subtract bullet.damage from health

    System: trigger once___________________________|bullet:set width to distance(weapons.imagepointX,weapons.imagepointY,

    Enemy: pick nearest to (bullet.ImagepointX(0),_|_____enemy.imagepointX(0),enemy.imagepointY(0)

    bullet.imagepointY(0))__________________________|bulletvisual: set width to bullet.width

    Now the bullet fades away after 0.01 seconds solving a couple of problems, and the bullet visual sprite stays for a little bit like a visual path for the bullet.

    Now the only problem is when a shotgun shoots multiple bullets if some hit and some miss all the visual bullets will be set to a width as if they have hit, when they should just go straight past the enemy. I need a way to pair certain bulletvisual sprites to the bullet that they are spawned with. If the bullet is a in a container with bulletvisual it disappears in 0.01 seconds like the bullet, but I don't want that, it needs to stay for a bit after it has hit. If anyone knows how to solve this thanks in advance.

  • Currently in my game guns fire a long, beam to give the effect of a bullet flying along the screen.

    When the bullet overlaps a 'enemy' this is the event that takes place.

    |Bullet: is overlapping enemy

    |System: trigger once

    -------- |bullet: is overlapping enemy----------------------|enemy: subtract bullet.damage from health

    -------- |enemy: pick nearest to (bullet.imagepointX, |bullet visual: set width to distance(weapons.imagepointX,

    -------- | bullet.ImagepointY)-------------------------- | weapons.imagepointY,enemy.imagepointX,

    -------- |system: trigger once------------------------------- | enemy.imagepointY

    -------- |------------------------------------------------------------|bullet: destroy

    This is what the event looks like in construct 2. The part to the right at the start is a sub event of the event above.

    The setwidth makes the bullets visual sprite look as if it has hit the enemy and been stopped in its path.

    I know this is difficult to understand without it right in front of you but it shouldn't matter, this system is flawed, a shotgun type weapon which shoots more than one bullet at a time doesn't detect hits right, shots that are too close together(time wise) don't detect right, and shots can miss altogether.

    I chose this way because if I use a Sprite with a bullet behavior The speed that I want the bullet is around 6000, this too causes problems. The bullet can completely skip through the enemy because of the frame rate not allowing it to collide, I think.

    Now that you have seen my two options I would like to know if anyone can come up with a solution to my problem.

  • Thanks on solving Q. 2 for me, I've realized if no one can come up with a solution for Q. 1 I could just do a 'next page' button, but it would still be great is someone could figure out how to do Q.1.

    Again thanks keroberos.

  • 1. If a sprite text box is set to an exact size can you make the text within that box scroll up or down to reveal more or less.

    2. Is there a way to make words fill up a text box over a period of time. (like if someone were typing or like what you see during cut scene conversation.)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • On the game I'm making I've noticed that when I test it the graphics are of pretty average quality, even though it's simple pixel graphics. I don't know what settings might be causing this. I have tried making the images I import into the game 10x scaled up but even then there is still 'fuzzy edges' on the images. Thanks to anyone who helps.

  • Thank you, that was exactly what i was looking for.

  • I would like to know if there is a way that by using the event of clicking a button i could close my game (like doing

    alt-f4 closing a page)?

  • Go to the layout and go to the layout properties bar, under event sheet tab, choose the event sheet you would like to use.

    Hopefully that solved your problem.

  • Thank you so much, IT WORKS!!!

    This is going to make a huge difference to my game and i hope you realise that, hopefully, as well i will be able to better understand this and eventually help other people.

    One more time, thank you.

  • drive.google.com/file/d/0B6FgXCrZ1bnZZ2k5NFdNcHJLekk/view?usp=sharing

    That is the capx for my project, it has enough info on it, if anyone can solve it please tell me or better, repost it solved.

    just put the http:// infront of the thing, because of my limited reputation i cant technically post them.

  • Thanks for the help, but I'm not understanding how this will work, I've made a little demo capx with just 4 weapons but it will have all the proper features. I'll post it later and it will contain all the info needed for you to understand my side.

currypuff's avatar

currypuff

Member since 20 Jan, 2016

None one is following currypuff yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies