Log In  

Cart #34047 | 2016-12-23 | Code ▽ | Embed ▽ | No License

Cart #33939 | 2016-12-22 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

P#33940 2016-12-22 09:18 ( Edited 2016-12-25 11:17)

:: enargy

I like this idea!

I can't get the screen with the river to work correctly, though. When I push the last bridge piece into the water and then try to walk across it, that last piece gets moved on top of the previous bridge segment and I can't cross:

I haven't checked your code, but it looks like maybe only certain parts of the bridge pieces are collideable? Maybe you could change this so that the entire segment is collideable so they're easier to push, and then once it hits the water the segment changes state to become a static, non-blocking object. If you want a code example to show what I mean, let me know.

P#33946 2016-12-22 10:14 ( Edited 2016-12-22 15:14)
:: eis

It does work when you push the mirrored piece in correctly.

My problem is that I only let the pieces become static when the game detects that both bridges are built, which is kinda stupid in retrospect. I can just do that when the tiles are built individually.

P#33949 2016-12-22 10:28 ( Edited 2016-12-22 15:34)
:: eis

Cart #34047 | 2016-12-23 | Code ▽ | Embed ▽ | No License

P#34048 2016-12-23 16:57 ( Edited 2016-12-23 21:57)

@eis: a commonly used "etiquette" here would be to edit your first post with your updated cart, so that people can play the latest version right from the top post (the first, bigger one). also you could name them with a less confusing revision number (mirrored 1.0, mirrored 1.1 etc). lastly I think you can remove obsolete carts by simply deleting their tags from the thread (maybe only keep major revisions and ditch those that only differ by still having bugs)

nice game mechanic you have there, btw :)

P#34058 2016-12-23 18:41 ( Edited 2016-12-23 23:42)
:: eis

@ultrabrite Did that, thanks!

P#34081 2016-12-24 04:59 ( Edited 2016-12-24 09:59)
:: Scathe

Nice, I really like it and can't wait to see where it goes! So far I'm at the level with 2 snowmen. The bridges level was a bit of a challenge due to the wonky hit detection, but I got it after 1 level restart.

P#34093 2016-12-24 12:28 ( Edited 2016-12-24 17:28)

I'm also stuck at the level with two snowmen. I guess we have to put the gems in a particular order (according to the colors), but I can't figure out this order...

P#34101 2016-12-24 15:17 ( Edited 2016-12-24 20:17)
:: eis

The snowmen are the key. I should probably make this more obvious.

I will also improve the hit detection for pushable objects!

P#34112 2016-12-25 06:17 ( Edited 2016-12-25 11:17)

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2021-06-12 18:15:10 | 0.029s | Q:29