EpicRaid's Recent Forum Activity

  • I think it works fm4FfanAT! Thanks so much! I'm learning something new every day.

    You mean like this right?

    Am going to try your way too korbaach, thanks!!

  • Hiya,

    Does this piece of coding make sense?

    Basically, if B17 (player) drops bombs (space) while it is within the event 40's y coordinates, it should add 10 points to Score. That part works.

    But if you drop a bomb outside the y coordinates (event 41) it should subtract 10 points from Score. For some reason 'nothing' happens, the score just stays the same.

    Thanks in advance for any replies.

    Regards R

  • Kind of an 'old' post of mine being bumped, I dropped the concept at the time since I was way in over my head - and still am. Working on a much smaller and different game at the moment! Are you saying you're working on a similar type of game Gearworkdragon?

    • R
  • Thanks for your reply.

    I have still not found out why it doesn't work in my project.

    It was supposed to spawn on imagepoint 5 indeed, it did exist, it was an error of mine.

    I decided to take another approach and pin the Smoke to the B17 from the start, and make it invisible untill it needs to be visible. It looks less subtle ingame, but at least it works.

    Still wondering what the heck the problem is, it's supposed to work as you said.

  • Hiya,

    currently I have:

    I have trigger once otherwise it'll spawn infinite Fire and BomberSmokeBlack particles. Anyone know how to spawn it just that one time but not one time ever?

    Anyway, the problem is that both the Fire and BomberSmokeBlack particles always spawn on the origin point of the object B17. Even though I set it to imagepoints which are not center point at all.

    However, it does spawn the particles correctly when I set the B17 health to 50 or less initially.

    I managed to recreate the pin to imagepoint without using the plugin, before I started using the plugin, and I had the exact same result; it only spawns the two particles Fire and BomberSmokeBlack when B17 health is set to 50 or less initially.

    Thanks. - R

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks, blackhornet. Did the trick.

  • Thanks guys!

    What does 'loopindex' do exactly though? I want an object to spawn (drop) bombs, but have the bombs dropped shortly after each other.

    Now it seems like the bombs are dropped exactly 1 second after each other. I want to decrease that time, I tried changing loopindex+1 to loopindex+0.2 for example but that doesn't change anything. I'm confused.

    Thanks. - R

  • Hi all,

    searched the forums, did some testing but I might be overlooking something.

    I want to call a function a bunch of times in a row, I sense it's not the way to go, but I don't know any better at the moment.

    Instead of copy pasting with 'wait x seconds' between them, is it possible to have a function run an x amount of times in a row with waits between them?

    Thanks. Regards R

  • Hi chadorireborn,

    thanks so much. It's working perfectly now.

    Regards R

  • Hi all,

    I've been searching and fiddling but can't figure this one out.

    I have an object that has bullet behavior that moves to the right when created from a random Y position and fixed X position.

    I also have a player controlled object that can move freely with the arrow keys.

    I'd like the bullet to move towards the last position of the player when the bullet is created, however, not follow it. So basically the bullet would spawn and move in a straight line to the right and pass the player outside the window.

    Sorry if I'm overlooking something really simple. In my previous attempts the objects move towards Player.X but I'd like the bullet to pass the player by in a straight horizontal line.

    Thanks in advance for any replies.

  • Would like to know as well.

  • Thanks so much guys, it works perfectly now. And the solution was so easy.

    Regards

EpicRaid's avatar

EpicRaid

Member since 13 Feb, 2015

Twitter
EpicRaid has 17 followers

Trophy Case

  • 9-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • 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
  • Famous Game One of your games has over 10,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

18/44
How to earn trophies