Wall Shaking Alot Problem

Hello, I’m trying to make an endless runner that is going up.

The problem I’m having is on the phone, as the game starts the walls weirdly shake and the intensity of the shaking increases the more you play the game.


This is the code for the walls, they increase in height while they stay still.

and as I said this is only happening on the phone and not on any device I’m aware of.

I don’t know if this just my phone’s problem or just my code.

1st of all its not like anything tragic will happen but makes more sense to check if its greater or less than inverting variable condition

2nd when you check if amount of apples i have is EQUAL OR GREATER than 10
Then in counter event you need to check if i have LESS than amount to 10
And not EQUAL OR LESS

Cause if you check if in both cases its EQUAL then both events will kick in their actions

oh no, the conditions are related to another event where if the player is too far above the camera, the camera will try to catch up. this also affects the change in height of the walls making it more faster.

It’s kind of unnecessary.

image
this is the of the action I was kind of talking about

Sorry for the misinformation :sob:

Do you change the camera position in your events? If so, make it the very last event in the event sheet.

1 Like

Read what MrMen wrote
But idk if that helps you if player is standing on wall atm

The only camera position I really have is centering it on an object, and that object is moving up to guide the player.

I did move some events but it kind of still didn’t work.

Thanks for the suggestion tho!

XRecorder_Edited_20250610_01
This is the problem :smiling_face_with_tear:

as you can see, the walls for some reason keeps shaking. and as I said, the intensity is going to increase even more making it even more visible.

and yes I filmed this on my phone.

Have you ever try tiled sprite?
I am looking at your walls and i can’t resist you would wish to have it and just offset their Y pos
There is action to offset X and Y pos of tiled sprite
That is how we get scrolling backgrounds and clouds and so on

For example do you see clouds moving here?

Wanna bet they are not?

Only last event in Clouds group is responsible for fake moving effect
2 events above are responsible for creating them on scene
Stretching to full window height and width and setting some opacity

You could even make your buildings look like they move faster or slower than player
That would fake effect them being closer to screen or further into background
Or to speak human language fake depth effect
So you could set their offset to some division of however fast you move your screen
Yet you would need to place them on separate layer

2 Likes

Oh. My. Gosh.

I understand the concept and yes It’s finally working!!
Thank you so much for suggestion I really appreciate it!!:sob::sob:

1 Like