How do I move bullets at an increasing then decreasing speed

Get help using Construct 2

Post » Sun Nov 20, 2016 7:00 pm

Message: Hans the Red can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
In a game I'm currently working on, I'm trying to write an event for a "room-scrolling" object where it moves up 800 pixels when the assigned key is pressed. However, I also want the object to accelerate at first, then start decelerating halfway through, but still move exactly 800 pixels. I've tried this in numerous ways, but a few issues I've had are as follows:

1. The RoomScroll object does not move consistently with every run-through. It might move by a marginally different amount sometimes, but at other times it can get 10, 20, 50 pixels off, and I don't know why.
2. It does not move exactly 800 pixels. It seems near-impossible to make it move exactly 800 pixels.
3. The movement looks uneven. By this I mean that it seems to accelerate faster than it decelerates.

If anyone has a solution to this problem or perhaps even a formula, it would be greatly appreciated. Thanks!
Hans the Red

.capx file:
Posts: 12
Reputation: 424

Return to How do I....?

Who is online

Users browsing this forum: Exabot [Bot], wavetalk55 and 1 guest