Log In  

Cart #snakeout-21 | 2024-03-20 | Code ▽ | Embed ▽ | No License
9

You ever think of a title first and work backwards?

Breakout + Snake. Bounce around, eat apples, don't hit your tail, or if you do ... dodge.

Sounds are from Gruber's rad SFX pack. I have a little bit more planned, but happy to have any feedback in the meantime.

P#142561 2024-03-07 18:48 ( Edited 2024-03-20 22:49)

What a brilliant idea. It seems that the snake falls off the side too easily, but it's not bad.

How come my length keeps shortening? I can't see what's causing that to happen.

P#142571 2024-03-07 23:06 ( Edited 2024-03-07 23:14)

I can confidently say I have no idea what makes the snake lose segments!

I never got above 8. Multiple times, I had this happen:

  • At 7/8, snake bounces off paddle, goes up, collects apple. Now I'm at 8/8.
  • Snake hits top wall and bounces off, then immediately loses 3 segments. I'm at 5/8 before the snake ever gets to the paddle again.

But at 5/8, the snake seemed to be able to hit the top wall and bounce off without losing anything. Does the top wall become a danger zone once you hit a certain number of segments?

P#142572 2024-03-07 23:12

okay, yep, that's what I was afraid of, thank you. 😂

the problem I was trying to solve is that I want the snake to lose segments when its head collides with them -- but that happens all the time after a bounce.

right now I'm trying out a grace period (currently a quarter second) after bouncing where it doesn't check for head-segment collisions. in practice, that means that segment-eating only happens when the snake is longer than how many segments it collides with during the grace period ... usually five or six, depending on how fast you're going.

but as you both noticed, that logic is totally invisible to the player, so I think I need to try something else. what I really want is to bite segments off only when you hit them from the side but I'm not sure how to express that in code. maybe if you hit segment n without hitting segment n-1 first?

or I could go a totally different direction and say the snake gets hungry if it hasn't eaten an apple in a while, and only bites segments off while it's hungry. more different from original snake, and maybe unnecessarily complicated, but it's a fallback.

either way it definitely needs a clearer indicator of what's happening.

really appreciate the feedback! I will keep iterating.

P#142574 2024-03-08 00:27

Yeah, now that makes sense. I think a lot of times it happened to me, the snake was going almost precisely straight up and down, so the head would have hit multiple segments on the way back down.

This feels like a tricky problem to solve, or at least one where a good solution didn't pop into my head quickly. Definitely be curious to see what you come up with!

P#142576 2024-03-08 01:37

right, exactly.

I just uploaded a new version with an attempt at "bounce forgiveness" -- it tracks the most recent segment it hit, and as long as you're not skipping ahead then nothing happens (so you can hit segment 2, 3, 4, and that's fine, but if you suddenly hit 10 you'll chomp your tail). it's still not perfect -- when you're bouncing at a very sharp angle, sometimes you'll leave the collision range for 10 briefly before entering the collision range for 11 -- but I think it's an improvement.

to make up for how much easier it is to continue that way, I also picked up the pace a little (you start with more segments, get two per apple instead of one, and speed up slightly faster when you eat).

if you have time to check it out, let me know what you think!

P#142578 2024-03-08 02:26

Nice concept, a more dinamic gameplay Will be great.

P#142592 2024-03-08 12:21

This feels much better to play! Growing the snake quicker was a good choice I think, it gets you into the heart of the gameplay a lot faster, which to me is having to plan your shots to avoid bad angles that shrink you. I got up to 26 segments at one point and then mishit the head and ended up chomping off 12, but it felt fair because that was 100% a skill issue on my part and didn't seem like I was at the mercy of the game.

P#142594 2024-03-08 12:35

I love the new update. Much easier to keep getting longer.

I think the failure state could be better conveyed to the player if the losses were a bit more "juicy". If the lost parts didn't just disappear but if the "bite" were indicated by a flash and the lost parts stayed on the screen and fell down, perhaps cascading from the one eaten and moving to the tail. Something to convey to the player that they just did something bad and here's the consequence of it.

Looking good so far.

P#142650 2024-03-09 00:21

yeah absolutely agreed -- that's next on my list, it's a stretch for me in terms of figuring out how to implement it but it definitely needs to happen. (same re dynamic gameplay.) thanks again for the suggestions, I'll post another update when I get a chance. :)

P#142660 2024-03-09 01:50

added a bunch of particle effects including falling segments, and made the paddle shrink when you lose some of your tail, which I think helps a lot with making the difficulty more interesting and variable. (I have one other idea for that too, we'll see whether I want to procrastinate more on pickups or on sound, which are the only things left in my to-do list)

P#142681 2024-03-09 09:23 ( Edited 2024-03-09 22:59)

Great idea, it's very enjoyable ⭐
I didn't see the first version/s before last update but I can tell it is now very intuitive how it works (head chopping the rest and the paddle shortening penalty) 👌

P#142829 2024-03-12 20:47 ( Edited 2024-03-12 20:47)

thank you! that's really helpful to hear.

I added a couple of pickups -- speed in particular both gets higher and varies more. love to hear how the pressure and difficulty feel now.

(also the paddle is now curved, which has always been how it behaved, and hopefully this will help make that intuitive)

P#143424 2024-03-17 01:21 ( Edited 2024-03-18 01:12)
1

I like the idea of starting from the title and will follow suit. Let’s check the last page of published pico-8 and mix two simple titles/concept…
Edit :
My next game will be
Tic Tac Toe Invaders !
I have no clue what it will become.

P#143747 2024-03-18 19:09

haha yesss. my first thought was "it's a two-player territory game on a big grid board" which is ... Go. "but what if you're trying to make lines--" that's Reversi. originality is hard. good luck! XD

P#143793 2024-03-19 01:36

[Please log in to post a comment]