funcode马里奥_MacGyvering马里奥·奥德赛跳绳挑战赛

作者Antin Harasymiv利用Arduino和螺线管,编程解决了《超级马里奥奥德赛》中的跳绳挑战。经过多次尝试和改进,最终实现了自动跳绳并达到3613次的新高分。虽然存在更高级的解决方案,但作者认为使用控制器本身玩游戏更有成就感。
摘要由CSDN通过智能技术生成

funcode马里奥

by Antin Harasymiv

安蒂·哈拉西米夫(Antin Harasymiv)

MacGyvering马里奥·奥德赛跳绳挑战赛 (MacGyvering the Mario Odyssey Jump-Rope Challenge)

Super Mario Odyssey is quite possibly my favorite Mario game. So much so that I went out of my way to complete every last challenge. But one of them gave me more trouble than all the others combined: Jump-Rope Genius in the Metro Kingdom.

超级马里奥奥德赛很可能是我最喜欢的马里奥游戏。 如此之多,以至于我竭尽全力完成所有最后的挑战。 但是其中一个给我带来的麻烦比其他所有男人加起来要多:地铁王国的Jump-Rope Genius

You don’t even need to move. You just need to successfully jump 100 times in succession. But the trick is every five jumps it speeds up until 50, until you’re jumping almost twice a second. Press jump too early and you fail. Press jump too late and you fail. Press jump for too long and… you guessed it, you fail.

您甚至不需要移动。 您只需要连续成功跳跃100次即可。 但是诀窍是,每跳五次它就可以加速到50,直到您每秒跳近两次。 按跳得太早,您将失败。 按下跳转太晚,您将失败。 按下跳转时间太长,…您猜对了,但是失败了。

After a few dozen or so failed attempts I started joking that I’d just build something to beat it for me… and as the days went by and I still hadn’t finished the challenge my joking turned more serious and I started wondering how to do it.

经过几十次失败的尝试之后,我开始开玩笑说我会为自己打败一些东西……随着时间的流逝,我仍然没有完成挑战,我的笑话变得越来越严重,我开始想知道如何做吧。

My first thought was to simply program an Arduino to bridge the connectors for the jump button on a Switch controller, but thankfully I checked the iFixit teardown first because Nintendo controllers since the Wii use dome switches instead of the conductive rubber pads, which makes that impossible (for some fun reading see the evolution of Nintendo controllers over the years).

我的第一个想法是简单地编程一个Arduino,以桥接Switch控制器上跳转按钮的连接器,但是值得庆幸的是,我首先检查了iFixit拆卸,因为自Wii以来,任天堂控制器使用的是球型开关,而不是导电橡胶垫,这使得这不可能(一些有趣的读书看进化任天堂控制器多年来)。

I was mentally tossing up between buying an older GameCube controller (with adapter) which would be easy to hack, or using a solenoid to physically press a button on a Switch controller, both seemed like viable solutions, but after getting outbid on the first few GameCube controllers selling on eBay I settled on the solenoid route.

我在购买一个较旧的GameCube控制器(带适配器)(很容易被黑客入侵)或使用螺线管物理地按下Switch控制器上的按钮之间进行思考,这两种方法似乎都是可行的解决方案,但是在前几种方法上出价过高之后在eBay I上出售的GameCube控制器定居在螺线管路线上。

After completing 835 of the 836 unique challenges in Mario, I turned all my attention back to the final moon. In order to program something to beat it, first I’d need to measure the timing, so my intention was to record the screen and then count the frames. Before setting up a camera I put a few practice rounds in, and much to my horror, I actua

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值