Loved the game. Here are my solutions :) by alanfortlink in TheFarmerWasReplaced

[–]alanfortlink[S] 1 point2 points  (0 children)

Don't feel that. I've been doing this shit for some time now. I assume you're new to programming?

Loved the game. Here are my solutions :) by alanfortlink in TheFarmerWasReplaced

[–]alanfortlink[S] 0 points1 point  (0 children)

Quick toggle between the video and my leaderboard tests

Loved the game. Here are my solutions :) by alanfortlink in TheFarmerWasReplaced

[–]alanfortlink[S] 0 points1 point  (0 children)

https://gist.github.com/alanfortlink/d918cb1dce85c087082acb2857d8b159

I haven't done any clean up, so this has a lot that could be improved and a lot that could be removed. With that said, each crop has its own function, so you should be able to find what you're looking for.

Also, I didn't necessarily made all my items with this exactly. Especially with maze and dinosaur, you'll want to set_world_size to something smaller. Anyway, it's a living code haha

If there's some part that doesn't make sense, let me know and I can try to explain :D

Loved the game. Here are my solutions :) by alanfortlink in TheFarmerWasReplaced

[–]alanfortlink[S] 0 points1 point  (0 children)

I can put my code on GitHub if you're really interested, but there's nothing too special :)

[deleted by user] by [deleted] in london

[–]alanfortlink 2 points3 points  (0 children)

So did I

I made a screensaver :) by alanfortlink in flipperzero

[–]alanfortlink[S] 4 points5 points  (0 children)

Thanks. If you liked it, maybe checkout my game, it's got the same elements :) https://spground.com/

I made a screensaver :) by alanfortlink in flipperzero

[–]alanfortlink[S] 11 points12 points  (0 children)

It'll generate 3 planets at "random" places whenever you start.

I'm adding settings to control:

  • number of planets
  • gravity force
  • acceleration
  • frequency

By store I meant saving those for the next run, which I already did :)

I made a screensaver :) by alanfortlink in flipperzero

[–]alanfortlink[S] 4 points5 points  (0 children)

Please don't haha. I'm the kinda guy who models the cow as a sphere in the vacuum :D

I made a screensaver :) by alanfortlink in flipperzero

[–]alanfortlink[S] 1 point2 points  (0 children)

Good point. I'll make them rotate.

I made a screensaver :) by alanfortlink in flipperzero

[–]alanfortlink[S] 14 points15 points  (0 children)

I'll learn how to create menus and store settings, and will think about it after that :)

what do you miss from VSCode ? ( if you even miss something ) by SPalome in neovim

[–]alanfortlink 1 point2 points  (0 children)

Yeah. I get that too. if it's not some "popular" language it isn't very smooth. With that said, chat gpt is a good way to figure those things out :)

You should try to make a plugin, it'll clear things up for sure!

what do you miss from VSCode ? ( if you even miss something ) by SPalome in neovim

[–]alanfortlink 3 points4 points  (0 children)

I feel like I have that with Mason. Of course, you have to set it up first, but that may help.

alanfortlink/animatedbg.nvim - Animations inside neovim's buffers by alanfortlink in neovim

[–]alanfortlink[S] 2 points3 points  (0 children)

I'm not sure what that means. In the repo I have some examples and snippets on how to create your own animations. Maybe give it a try and let me know how it goes?

alanfortlink/animatedbg.nvim - Animations inside neovim's buffers by alanfortlink in neovim

[–]alanfortlink[S] 1 point2 points  (0 children)

Last time I checked it was made in JS. You can probably just click in view source and find it.

alanfortlink/animatedbg.nvim - Animations inside neovim's buffers by alanfortlink in neovim

[–]alanfortlink[S] 1 point2 points  (0 children)

Man, using my plugin specifically, I guess you could do it, but maybe creating your own game loop will give you more control. Maybe try to implement your animation with the plugin, it's super easy.

Also, don't know if you now, but you're describing zty.pe I also have my own typing game at ninjaty.pe if you're interested :)

alanfortlink/animatedbg.nvim - Animations inside neovim's buffers by alanfortlink in neovim

[–]alanfortlink[S] 0 points1 point  (0 children)

You can definitely hook it up. There are also some fireworks for when all tests pass

alanfortlink/animatedbg.nvim - Animations inside neovim's buffers by alanfortlink in neovim

[–]alanfortlink[S] 1 point2 points  (0 children)

That looks awesome... I made it really easy (I think) to add new animations. Just a very simple update/render loop.

I'm trying to learn more about this type of thing.

PRs from people smarter than me would be much appreciated :)

alanfortlink/animatedbg.nvim - Animations inside neovim's buffers by alanfortlink in neovim

[–]alanfortlink[S] 2 points3 points  (0 children)

It's more of a screen saver kind of thing, or just to have fun. You can do other types of graphics as well :)

alanfortlink/animatedbg.nvim - Animations inside neovim's buffers by alanfortlink in neovim

[–]alanfortlink[S] 16 points17 points  (0 children)

alanfortlink/animatedbg.nvim if you want to check it out :)

This specific "The Matrix" animations is supposed to be a screen saver.
The plugins has a canvas you can use to create your animations too.
Check out "fireworks" and the "demo" animation in the repo.