Seventh day of the jam
Halfway through:
The pression of finished the gameplay's core was heavy today. I wanna spend most of the weekend chill out, making sprites and animations while listening music.
So today I work harder than never.
First, the famous stream things, and all week long, I was thinking how to do it, but thanks to this week of experiment and learn, I found an idea really quick.
In the create space of the player's object, I added a stream variable set to false.
When the player collide with the stream, the variable turn true. It'll change the horizontal and vertical speed, and for the stream kind-a-like wind effect in platformer:
y += lengthdir_y(3, other.image_angle) for the vertical and x += lengthdir_x(3, other.image_angle);
I also checked that the decrease time effect apply in the stream zone when the player collide with a bad thing.
Here's a quick view:
After that, another big task awaited me: the one way wall.
I try many ways to add it to the game. The Shaun Spalding, a script found on reddit, a topic on the yoyogames forum etc.
Nothing worked out as I wanted.
Facing the fact that the problem isn't gonna be resolved, I decided to change the concept.
Maybe I can do a system that pass the wall to the background from the layer's player when I'm passing it. Using this way, I'll meet sooner or later the same kind of issues with my old idea.
Why not create automatic doors! Technically, I can go through one way and not open the door the other way.
After finding the idea, I did a door, an object bloc and a trigger zone. The principle is pretty easy, when the player hits the trigger zone, the door moves up (or another direction) to a bloc, the player moves toward, the door goes down.
Its feel like a cheap way to me but its work.
So, here's my main features for the game. I also did very quickly an object that add time to the level timer. Maybe it'll go in the final project.
I think we can all agree, we have prototype here, but not finish yet.
The good ol' next steps:
- Work on the sprite and animations of the environment, the bounderies etc.
- Sfx and music time !
- design some levels (with the plastic continent world, the tanker, the ancient cities etc)
- Better UI, rework the pause menu and main menu.
- A sprint ability? (Optional)
And that's all for today.
Wishing you all a sweet weekend!