Like It



Re. Catapult Kit - Please Help!

by holwerdacompany

Sign in to rate this game.

To play this game, install Adobe Flash Player.

Get Adobe Flash player

If Flash is already installed, enable JavaScript.


hello everyone, I really need help figuring something out here. I have messed with the code for days but do not know what to do.

I have managed to make this catapult move left and right, and to keep the rubber band with the catapult actor.

But for the life of me, I can not get the projectile to create at the correct starting point when I fire it at the rock.

Just move right until the player stops at the rock tile, then fire the catapult, and you will see that the projectile keeps firing from further back.

I already tried update player position for the catapult, but it didn't work.

Can someone please help?

the game can be found at


in the stencylforge


Stencyl Ninja
I've learned a lot more about Stencyl and if you are still around and still haven't solved this, I may have enough knowledge to help you now. No charge, lol. (doubt that I could have solved it before, but believe I may have a chance now if you care to toss the code up on the StencylForge so I can take a look) Sorry for sounding so rude before; I just now read what I said. I never meant it that way. I really wish there was a nice way to delete messages from the shoutbox.
0 8 years, 2 months ago
As you can see, not much user support in forums, I checked back for this answer 1 year and 2 months later, nothing.
0 8 years, 5 months ago
It is some code for updating the player position that is missing I think

0 9 years, 8 months ago
ok cool
0 9 years, 8 months ago
Stencyl Ninja
From what I see here I think you need to make the calculations based upon the slingshot's current X position as the start point.
It looks like it still shoots from the beginning even after you
have moved. But it's really hard to say what exactly is happening just by looking at this and this is one of those things
that has a bit of mathematics in it and I usually try to avoid the math methods. My strong suits are just creative impulse and workarounds. It would take me awhile to fix this and I'd need good payment to even try because it's not something I would enjoy doing.

0 9 years, 8 months ago

Sign In to Comment

Share It

More from this Author

This is holwerdacompany's only game!