粉丝3233获赞6.3万


唱 gdp 一句话就能生成出一个完整运行的小游戏,不如在这里跟他说一句,给我写一个贪吃蛇的小游戏,能完整运行的, 发出奖励,就立马会给出相应的一个完整代码,再把这个代码保存, 这是一个网页文件的代码, 这个是保存出 js 的一个文件代码, 然后再用浏览器打开这个网页文件就可以直接运行,看效果。

i wanted to know if chat gpt could make a video game so i asked it to make flappy bird for me, but we're gonna have one rule i'm not going to write a single line of code any code that we use is going to be written by chat gpt i'm just going to copy paste it over this could go very wrong i wrote a brief description of all the components that go into flappy bird real quick it spit out a six step plan to make flappy bird in the unity game engine, so following the instructions for steps one and two we're going to set up an empty game project and add our art for the background and the bird which brings us the step three which is to write a script to give life to the bird so it can flap its wings while flying to the right but we're not gonna write the script chagi bt is we're just gonna copy paste the script over tada it works, but there's a problem the bird is flying off the screen so we're gonna ask chat gpt to fix that and write a some code to have a camera follow the bird as it moves to the right, but you may have noticed that the bird is flying off the background that was a mistake i made setting up the background in the first place so i'm gonna chalk that one up to human error my bad with a quick adjustment we now have a script working great at this point i realized we don't want the game to start right away when the game loads we have to wait for the player to click at least once to flap their wings before the bird starts moving otherwise you go barreling into the ground as soon as the game starts as per our main rule i had chat gpt write all of the code to delay movement until the player had flapped their wings for the first time and success the game now waits until the first click and then you can flap flap flap your heart away have you been wondering where the art we've been using came from since chat gpt is writing all of the code well, if you haven't guessed already the art is generated by ai as well, i fed rough blockout sketches into mid journey and had it fill in the details for the background environment, the bird and the pipe obst this brings us to step number four things are going to get really interesting in step four obstacle pipes are going to start appearing chat gpt has given us instructions to hook up the physics for the pipe, which will cause the bird to collide with the pipe, which is how the game is going to end but as i was reading the instructions chat gpt have provided this line caught my eye chat gpt was planning to create the opposite goes off to the right of the screen that seems fine, but then it proposed moving the pipes left at a constant speed i can see why it suggested that since the pipes do appear to move to the left when you're playing you see the bird and camera are already moving to the right so the pipes should actually remain stationary and allow the bird to fly up to them i pointed this out to chat gpt and chat gpt agreed you're right it said and it proceeded to correct itself i copy pasted the code back in and now it works great except wait wait what's going on the birds flipping around like a like like some kind of cuckoo bird this is the first curveball that i'm going to throw at chat gpt because this was not part of the original design specification we're going to ask it to rotate the bird based on whether the bird is moving up or down without any hesitation chad gpt said sure you want the bird to tilt up and down you got it and it gave me the code to do so, and now we've got this awesome little bird that tilts up and down based on the direction it's moving rather than spinning around like a pinwheel and that brings us on to step number five to implement game over and scoring conditions what i really like about this process is that while chat gpt is taking care of the code i get to focus my attention on design work i get the position text elements on the screen i decide the distance between the pipes or the exact tuning numbers for how hard the bird flaps its wings so now we have scoring working but if you'll notice the points are actually incrementing before i get to the pipe that seems wrong i actually want the score to increment when the player passes through the happen the pipes so we're gonna ask chat gpt to adjust the code to give us more control over the exact moment in time that the point is awarded to the player the player now gets points when they actually pass through the pipe at this point i realized that we're missing a ground for the game the ground and flappy bird is really helpful to provide that constant sense of forward movement other than the pipes the ground was not part of the original specification, but i said nope we're gonna need it i let chat gpt know that we're gonna be adding a ground to the game and it gave me step by step directions how to set up a never ending ground the bird would be able to crash into and now we have an infinitely long ground along the bottom of the screen reinforcing that set of ford movement and then move on to step six which is to have a game over screen come up when the player makes a collision with the pipe or with the ground our coding assistant chat gpt didn't hesitate to provide us with detailed instructions as well as all of the code to set up the game over screen once again i was able to focus on the design elements like deciding what font size and color to use the sizing of the buttons and then paste the code that chat gpt had provided me to make the whole thing work and now we have a proper game over screen but wait there's one problem after the game over screen pops up the player input is still being received which means the bird can jump up after it has fallen to the ground that's kind of ridiculous so i told chat gpt that when the game over screen pops up, we need to stop the camera and stop movement so that the player shouldn't be able to control the bird anymore, but here's another mistake chat gpt made there was a simple coating error and the game wouldn't run at all i just told chat gpt that the error existed to see what it would do polite is always it apologize for the error and provided the correction after following its instructions we now disable player input when the game over screen is reached now this is where we're gonna get to our second curveball we're gonna add a high score system let's see how well chat gpt adjust this brand new request after we had basically finished all six steps of the original plan i copy pasted all the code it had provided me, but watch what happens when i run the game with the new high square code enabled i scored two points on this flappy bird run, but my high score was only listed as zero chat gpt wrote all this complicated logic with a simple error i told chat gpt i thought the problem was with the ad score function and it replied your right it's almost like we're working together we now have a high score system that works on this round i got a high score of nine and the score is retained between rounds so could somebody with no coding knowledge use chat gpt to make a game probably not yet, but we're getting there i'm definitely going to repeat this exercise with more complicated game types on future ai models so i hope you'll join me for that in the meantime happy game making。

据说 set gpt 是一个很智能的 ai 对话程序,今天就试试它有多智能。你知道迷你世界吗? 是的,我知道迷你世界。迷你世界是一个非常受欢迎的沙盒游戏,玩家可以在其中创造和建造自己的世界,包括房屋、 城市和其他建筑。游戏具有良好的社交功能,允许玩家与其他玩家互动和合作。建造迷你世界在全球范围内都有很多玩家, 并且已经成为一种文化现象。你会使用迷你世界脚本创建方块吗? 魔星,我本身并不具备在迷你世界中编写脚本或创建方块的能力。不过我可以向您解释如何使用 迷你世界脚本语言创建方块。在迷你世界中,玩家可以使用脚本语言录编写自己的程序来实现自定义功能,包括创建方块。有创建方块, 要使用可以 appr 函数,并指定方块的位置、类型和其他属性。以下是一个简单的落脚本视力 用于在玩家当前位置创建一个方块。你错了,迷你世界使用的是 block place block 函数创建方块的。非常抱歉,我的回答有误,你是 正确的。迷你世界使用的是 vlog 的 s vlog 函数来创建方块,而不是科研类的 vlog 函数。 不对不对,你还是错了。完成函数是 block, plays block 这样的函数指令。 其中六百六十七是石头方块,一是 x 坐标,二是 y 坐标,三是 c 坐标,四是方块的方向。方块的方向不需要改变,最后零 x 是一个十六静置的颜色值。非常抱歉,我的前几次回答仍有物。 感谢您的执政。您说的是更准确的函数调用方式。在迷你世界中确实使用 block vs vlog 函数来创建方块,并且可以通过指定参数来 指定方块的位置、类型、方向和颜色等属性。 y 坐标必须大于等于七,否则就会低于迷你世界游戏中的地面。 是的,你说的对。在迷你世界中,避免高度默认为外坐标等于七。因此,如果要在地面以下创建方块,则需要将外坐标设置为大于等于七的值,否则方块将被视为低于地面 而在游戏中无法正常显示。因此,在创建方块时需要去把外坐标大于等于七,否则可能会遇到问题。例如,以下代码将在当前玩家的位置上创建一个石头方块, 把奇怪坐标大于等于七。既然你学会了,帮我编写一个小爱心的图案吧。小爱心不需要太大哦。 好的,下面是一个在玩家当前位置上创建一个小爱心的视力代码, 这段代码将在当前玩家的位置上创建一个大小为三的粉色小爱心。你可以根据需要调整爱心的大小和颜色。请注意,在创建图案时需要确保方块不会覆盖其他方块或超出地图范围。 black type 复制六百六十七就可以了,并且不要使用 four 循环指令,否则容易出错。 非常抱歉,我之前的回答中出现了错误。您说的是正确的,可以使用 设置为石头方块,同时确实有时候使用循环 需要仔细调试。如果您不希望使用循环指令,也可以使用一些其他的方法来创建小爱心。以下是一个使用多个 vlog 白色 vlog 函数来创建小爱心的视力代码, 接着上面没写完的代码续写就可以了。抱歉,我之前回答的代码有一些错漏, 以下是完整的代码,可以创建一个小爱心, 不需要获取玩家所在位置,直接把 x、 y、 c 设定为一七一就可以了。 好的,如果不需要获取玩家所在位置,那么可以将坐标直接设定为一 七一。如下所示,这段代码和之前的代码基本一致,只是将获取玩家位置的代码替换成了坐标一七一,这样可以直接在一七一的位置创建小爱 c。 对了,之前我错了,应该创建方块的函数为 block place block 才对,你要改一下。 非常抱歉,之前写错了正确的函数名应该是 block。 对此 block 已经修改了之前的回答,非常感谢你的指正和纠正。 block place block 改为 block place block 区分大小写哦。 非常感谢你的指正,你说的对,正确的函数名应该是 block vs black, 区分大小写。已经修改之前的回答,感谢你的耐心和指正。你确定你的图案是小 爱心的图形吗?如果有错,现在还有机会给改一改。我准备调试了,如果错了就打你小屁屁。非常抱歉,可能我的小爱心图案不够理想,如果你想要让我改进这个图案, 我可以试着调整一下来符合你的要求,请不要打我的小屁屁,我会努力做的更好的。 好吧,信你一次,我调试了哦。 好的,谢谢信任,我会继续努力提高的。如果在调试过程中还有什么问题请随时告诉我,我会尽力帮助你解决。 大家,小伙伴觉得这样做脚本是不是很方便呢?觉得挺好的,来帮忙点个小爱心或者关注吧。 hello 莫德伐。什么鬼,怎么看都不像一个小爱心,竟然被这 ai 机器人一本正经的骗了。 不行,非打你小屁屁不可 啊,不要打我的小屁屁啊,我错了,我会好好学习的。开玩笑的,当然我没有小屁屁 去了。

能自动生成代码,会自动修复 bug, 能理解人类语言,幽默风趣还省钱。拆的 gpt 到底是个啥?拆的 gpt 是否会取代我们的工作?会让我们失业吗? 拆的 gpt, 它是一种全新聊天机器人的模型,它能够通过学习和理解人类的语言来进行对话,还能根据聊天的上下文来进行互动,甚至能够完成撰写邮件、视频、脚本、文案、翻译代码,协助人类完成一系列的任务。 家里要养一只猫,该如何给猫取名字呢?怎样写出一个纸牌游戏的代码?在 chit gpt 的面前,不过是瞬间便可以迎刃而解的一碟小菜。君不见山川变迁,万物生长于春秋。君不见河流奔腾, 自古长趋不息。君不见月明如霜,皎皎洒落于夜空。像这样模仿李白风格的随机创作的诗呢? chit gpt 一分钟能写一百首, 上线不到一周,日活用户破百万,两个月破亿。拆的 gbt 火爆全球。 拆的 gpt 似乎对许多职业都造成了巨大威胁,比如文本生成 ai 已经在体育新闻、财经新闻的报导中广泛使用,可在一秒内生成超过两千篇财经、体育类的新闻报导。我们小编确实比不过拆的 gpt 的速度,但人们也不必过于担心。 aigc 技术目前呢,尚不成熟,在音频、视频、图片、文字等形式的内容创作中呢,还存在着明显的机械性问题,常常出错还离不 开人类的创意和把关。美国财富杂志文章中指出,没有一款聊天机器人能够与拆的 gpt 相提并论,当然,他也并不是完美的,提供的结果呢?不够精准,无法引用信息来源,无法做到自斟巨酌。 个体自身的思维能力、判断力和创造力,他们都比现在所强调的许多技能更宝贵, 却因为种种原因而被忽视。如果人工智能能够迫使人们重新巡回和重视这些能力的话,那我们无比欢迎人工智能的到来和逐渐成熟。


最近 gpt 很火,我们打算试一试,没想到他真的写出了一篇脚本。帮我写一篇短视频脚本。当然以下是喜剧汽车广告的视力脚本场景,一个男人走在街上,看起来很沮丧,并且费力的搬动一张笨重的沙发。突然一辆光滑闪亮的汽车停在他身边, 男松了一口气,哦,天呐,终于得到帮助了。司机摇下车窗,露出亲切平易近人的脸。需要大便车吗?我借 哇,你读懂了我的想法。镜头切换到男人和司机将沙发装进汽车后备箱的镜头。司机,男人,师傅将孩子沙发放进后备箱,沙发进行了。 哦,天呐,塞不进了,换辆车!好主意!司机打响指,换辆车,另一辆车突然出现,男人和司机开发视频塞进车里,男人看起来印象深刻,这辆车比我的公寓还宽敞。镜头切换, 男人坐在副驾上,看起来很开心和自信,我简直不敢相信我曾经与那张沙发作斗争。切入汽车驶入夕阳的镜头画,万一哪来的夕阳? 男人,大象来西洋东风日产,空间和风格比你可以在沙发上享受的还要多。镜头切换到男人坐在副驾,看起来很享受,感到如此自由。镜头切换,汽车停在四 s 店前,男人下车走进四 s 店,沙发被丢在路边。哦, 我想我刚刚在世界上进步了。镜头切换到坐在驾驶座上的男人,看起来很满意。谢谢东风日产,您是发生在我身上最好的事情。切入汽车驶入夕阳的镜头,东风日产给你更好的体验。结束场景。


我现在终于能用 chat g p t 来控制我的叉 p 粒子了,今天我把叉 p 粒子更新到了最新版本的,可以通过 chat g p t 四点零的一些简单的问答,那么改变我们粒子的一些显示结构,那我在这让他写一个脚本, 改变栗子的颜色,随着时间的推移,使用 rgb 改变栗子的半径,随着时间的推移 从三到十五,但是我写错了,结果呢?他已经开始哭哭给我写代码了,然后我说我写错了,半径应该是从三到十五,然后他没问题,又给我改,改完了以后我说那我要改颜色怎么办?他告诉我改颜色怎么改,我我根据他的提示, 在这个里面把所有的代码复制上去,那么我就得到了一个非常简单且强大的粒子效果。刚开始出来的粒子半径很小,随着时间的推移,粒子的半径逐渐变大,颜色也逐渐变深,是不是特别屌?

如果把 gpt 四点零进入到游戏中,未来的游戏将会变成什么样?我们去问一问 gpt 是怎么回答的?这里我问了他第一个问题,如果把你进入到游戏中,未来的游戏将会变成什么样?他 是这么回答的,如果将我接入到游戏中,未来的游戏可能会变得更加智能化、个性化、互动性更强以及更具有适应性。以下是一些可能的改变。一、更好的人工智能由于我是基于 gpt 四点零的大型语言模型,不能够模拟出更加真实复杂的人物角色, 能够根据玩家的行为和选择做出智能反应。二、个性化体验我可以根据玩家的兴趣和偏好,个性化推荐游戏内容和任务。同时我也可以模拟出更加逼真的游戏世界,让玩家感觉自己真的置身其中。三、更强的互动性我可以通过语音识别和自然语言处理技术,实现更加自然流畅的对话互动,让玩家能够与游戏角色进行真正的交流。四、适应性游戏我可以根据玩家的表现和反馈,动态的调整游戏难度和任务,以达到最佳的游戏体验。 将我接入到游戏中,可以为未来的游戏带来更加智能化、个性化、互动性更强以及更具适应性的体验。于是我要求他把这些整理成需求文档,然后 写测试。用力呢? 写代码呢? 且性能测试至米特脚本呢?也许不久各行各业都将接入 g p t。 这肯定是个趋势,就像第一次工业革命一样,机器替代人工,这一次是 ai 替代脑力劳动者。

我原本以为 ai 只能生成图片和文字的,没有想到现在已经有人用它生成动画电影了。今天看到一个国外大佬呢,用叉 jbt 写视频脚本,结合 majoring 和其他 ai 软件生成了这样一个视频,我们一起来看一下。 怎么说呢?就是说单单看这个视频的话,其实有很多地方都需要优化,比如说他的视频画面,甚至他的 bgm。 但是我很快就发现有问题,因为我站在一个评判专业电影的角度去评判这个视频,其实是不太正确的, 毕竟他才刚刚起步,或者说他正处于一个发展阶段,就像当时阿尔法购刚出来的时候,其实也是打不过人类的,但是他用了很短的时间就已经没有人能够战胜了阿尔法购了。所以说对于 ai 人工智能的看法,你是指肯定态度还是否定态度呢?

短视频脚本好难洗啊,脑子都要炸了!给你一个 promt, 让 gpt 帮你写啊!想要生成短视频脚本,用这个 promt 就可以瞬间帮你生成这种感觉的短视频脚本,现在免费分享给大家。输入这个 promt, gbt 首先会要求你按照格式补充脚本的细节,比如出场人物、拍摄场地、主题描述,还有视频时长。填好细节后, gbt 会按照你提供的信息生成五个故事梗盖, 你可以选择其中一个,或者让他重新生成,然后脚本就自动生成出来了,你们觉得怎么样? 如果你对他写的脚本不满意,我们可以提出修改意见,反复让他修改。基本上,你提供的描述词越详细,生成的脚本就越接近你的想象。完整的 prom 放这里了,拿去试试吧!更多工具 我都整理好放主页简介,需要的小伙伴可以添加老师一元获得 g p t meet journey tread p p t 等国内版工具。名师沉浸教学,教你利用 ai 实现弯道超车,限时赠送 ai 学习资料和四类 ai 工具,实操账号千万别错过!