[Bug] Cake Stuck

7 replies [Last post]
Orange_Ball
User offline. Last seen 1 year 8 weeks ago. Offline
Joined: 2016-05-15
Posts: 41

Video: https://www.youtube.com/watch?v=qe0MJ9BFhIM
Ah Geez... Whenever you place the walking cake at the hedgehog, The cake could be stuck and cannot move, and another thing is, the timer won't start. The only way to stop this to press space that the cake can be detonated.

h3oCharles
h3oCharles's picture
User offline. Last seen 6 weeks 2 hours ago. Offline
Joined: 2012-10-19
Posts: 140

Technically speaking you just placed a cake at yourself. Literally.

It couldn't detect a blank pixel to move into it, cuz it always failed by finding obscured pixels, cuz it's inside of your hedgehog.

And no, you are not the only one that this happened to.

oh hi

Orange_Ball
User offline. Last seen 1 year 8 weeks ago. Offline
Joined: 2016-05-15
Posts: 41

TheMadCharles allegedly wrote:

Technically speaking you just placed a cake at yourself. Literally.

It couldn't detect a blank pixel to move into it, cuz it always failed by finding obscured pixels, cuz it's inside of your hedgehog.

And no, you are not the only one that this happened to.


If that happened and for the next update, The cake should be instantly exploded without manually pressed "fire" button, i mean the cake would be automanually have their position set for this.

Wuzzy
Wuzzy's picture
User offline. Last seen 26 weeks 6 days ago. Offline
Joined: 2012-06-20
Posts: 1304

I agree this looks like a bug. The video shown is over a minute long, but the cake should have exploded long before. It's obvious the cake was detonated manually at the end.

So at the very least, the bug is that the timer does not even start.

Hi, I am a Hedgewars developer. Smile

sheepluva
sheepluva's picture
User offline. Last seen 1 week 2 days ago. Offline
Joined: 2009-07-18
Posts: 563

Wuzzy allegedly wrote:

So at the very least, the bug is that the timer does not even start.

Cake doesn't have a timer, never had, it actually has fuel.
The more distance and curves it walks the nore it consumes.

If it gets stuck and runs in the spot without actually moving, it can take several ninutes for it to consume the fuel.

Not sure if we fixed that issue in dev already, I'll check that later.

  sheepluva <- me  my code stats -> 
a Hedgewars Developer


   <- where I'm from  what I speak -> 

ivan866
ivan866's picture
User offline. Last seen 2 years 28 weeks ago. Offline
Joined: 2016-02-23
Posts: 50

Probably when walking downhill it should consume minimum, as a neutral gear in cars...

Have a melon.

Wuzzy
Wuzzy's picture
User offline. Last seen 26 weeks 6 days ago. Offline
Joined: 2012-06-20
Posts: 1304

Quote:
Cake doesn't have a tiner, never had, it actually has fuel.

Ah, this explains it.

My idea to fix this issue is the following:

Make sure the cake always consumes a guaranteed minimum amount of fuel per time unit. This consumption must be less then it would take by, let's say walking on a perfectly flat surface.

This would guarantee that all cakes will explode in a reasonable amount of time even when they're stuck.
The downside might be that this could reduce the maximum walking distance a bit, so some playtesting should be done before fixing.

The idea is similar to the usage of the freezer: It still consumes fuel when you move it around.

EDIT: Okay, my idea is not new, haha.

Hi, I am a Hedgewars developer. Smile

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]