• 2024-07-11Python实战:拥有设闹钟功能的可视化动态闹钟的实现
    ✨✨欢迎大家来访Srlua的博文(づ ̄3 ̄)づ╭❤~✨✨
  • 2024-07-06关于 Puerts 的性能问题
    Puerts在UE开发中提供了一定的便利性,可以用代码的方式写蓝图,但是官方是不推荐这么做的原话如下那么这个性能问题究竟有多大呢这里先用C++写一个测试代码#include"TestWidget.h"#include"Blueprint/WidgetBlueprintLibrary.h"#include"Blueprint/WidgetLayoutLibr
  • 2024-06-15MC 旋转木马
    #include<iostream>#include"minecraft.h"usingnamespacestd;TxMinecraftmc;intx=-1085,y=64,z=-652;intmain(intargc,char**argv){boolcon=mc.ConnectMinecraft("zk.makeblock.net.cn","a9d44e758f6e4cf8b2da2624156f24d3&
  • 2024-04-26七段数码管
    importturtle,datetimedefdrawGap():#绘制数码管间隔turtle.penup()turtle.fd(5)defdrawLine(draw):#绘制单段数码管drawGap()turtle.pendown()ifdrawelseturtle.penup()turtle.fd(40)drawGap()turtle.right(90)defdrawDigit(d):#根据数字绘制七段数
  • 2024-03-081
    #include<iostream>#include"Windows.h"#include"minecraft.h"usingnamespacestd;TxMinecraftmc;intx=9992,y=150,z=9811;intid,data;////hua//mc.drawLine(x,y,z,x,y+2,z,id,data);//mc.setBlock(x+1,y+2,z,id,data);//
  • 2024-03-03僵尸小白
    #include<iostream>#include"minecraft.h"TxMinecraftmc;usingnamespacestd;intmain(){boolcon=mc.ConnectMinecraft("zk","919b005179e840e1bf78fef437b2f298");if(!con){cout<<"失败";}
  • 2024-03-02坦克
    #include<iostream>#include"minecraft.h"TxMinecraftmc;usingnamespacestd;voidzhuangshi(intx,inty,intz){mc.drawLine(x+1,y,z,x+2,y,z,143,4);mc.drawLine(x+4,y,z,x+5,y,z,143,4);mc.drawLine(x+7,y,z,x+8,y,z,143,4);
  • 2024-03-01111
    #include<iostream>#include"minecraft.h"usingnamespacestd;TxMinecraftmc;voidset1(intx,inty,intz){mc.drawLine(x+1+1,y,z,x+2+1,y,z,143,3);mc.drawLine(x+4+1,y,z,x+5+1,y,z,143,3);mc.drawLine(x+7+1,y,z,x+8+1,y,z,143,3
  • 2024-03-01坦克车
    1#include<iostream>2#include"Windows.h"3#include"minecraft.h"4usingnamespacestd;5intx=0,y=0,z=0,id,date;6TxMinecraftmc;7voidd1(intz){8mc.drawLine(x+1,y+1,z,x+7,y+1,z,67,6);9mc.drawLine(x
  • 2024-03-01mc
    #include<iostream>#include"Windows.h"#include"minecraft.h"usingnamespacestd;TxMinecraftmc;intx,y,z;intid,data;usingnamespacestd;voidone(){ //1 id=114,data=4; mc.setBlock(x,y,z+1,id,data); id=251,data=15; m
  • 2024-03-01坦克
    #include<iostream>#include"minecraft.h"usingnamespacestd;TxMinecraftmc;intmain(intargc,char**argv){boolcon=mc.ConnectMinecraft("zk.makeblock.net.cn","919b005179e840e1bf78fef437b2f298"); if(!con){ cout
  • 2024-02-20aaaaaaaa
    #include<iostream>#include<string>#include<Windows.h>#include"minecraft.h"TxMinecraftmc;usingnamespacestd;intmain(){boolcon=mc.ConnectMinecraft("zk","ec78d27976e3469a800c18750f8aee19");intx=400,y=
  • 2023-11-287段数码管绘制
    import turtle,datetime def drawGap():  #绘制数码管间隔    turtle.penup()    turtle.fd(5) def drawLine(draw):  #绘制单段数码管    drawGap()    turtle.pendown() if draw else turtle.penup()    turtle.fd(40)    dr
  • 2023-11-237段数码管绘制
    importturtle,datetimedefdrawLine(draw):#绘制单段数码管turtle.pendown()ifdrawelseturtle.penup()turtle.fd(40)turtle.right(90)defdrawDigit(digit):#根据数字绘制七段数码管drawLine(True)ifdigitin[2,3,4,5,6,8,9]elsedrawLine(False
  • 2023-11-23dengguan
    importturtle,datetimedefdrawGap():#绘制数码管间隔turtle.penup()turtle.fd(5)defdrawLine(draw):#绘制单段数码管drawGap()turtle.pendown()ifdrawelseturtle.penup()turtle.fd(40)drawGap()turtle.right(90)defdrawDigit(d):#根据数字绘制七段数码管drawLin
  • 2023-11-22时间
    importturtle,datetimedefdrawGap():turtle.penup()turtle.fd(5)defdrawLine(draw):drawGap()turtle.pendown()ifdrawelseturtle.penup()turtle.fd(40)drawGap()turtle.right(90)defdrawDigit(d):drawLine(True)ifdin[2,3,
  • 2023-11-227段数码管绘制(小时,分,秒)
    7段数码管绘制(小时,分,秒)python代码:#七段数码管的绘制.pyfromturtleimport*#调用turtle、random、time库fromrandomimport*importtimedefdrawGap():penup()#提笔fd(5)defdrawLine(draw):drawGap()ifdraw:#除了七段数码管提笔,其
  • 2023-11-22数码管问题
    importturtle,datetimedefdrawGap(): #绘制数码管间隔  turtle.penup()  turtle.fd(5)defdrawLine(draw): #绘制单段数码管  drawGap()  turtle.pendown()ifdrawelseturtle.penup()  turtle.fd(40)  drawGap()  turtle.right
  • 2023-11-227段数码管绘制
    7段数码管绘制运行代码importturtle,datetimedefdrawGap(): #绘制数码管间隔  turtle.penup()  turtle.fd(5)defdrawLine(draw): #绘制单段数码管  drawGap()  turtle.pendown()ifdrawelseturtle.penup()  turtle.fd(40)  draw
  • 2023-11-227段数码管绘制
    importturtle,datetimedefdrawLine(draw): turtle.pendown()ifdrawelseturtle.penup()turtle.fd(40)turtle.right(90)defdrawDigit(digit): drawLine(True)ifdigitin[2,3,4,5,6,8,9]elsedrawLine(False)drawLine(True)ifdigitin
  • 2023-11-22七段数码管绘制
    #22信计2向悦17号importturtle,datetime#3107defdrawGap():turtle.penup()turtle.fd(5)defdrawLine(draw): drawGap()turtle.pendown()ifdrawelseturtle.penup()turtle.fd(40)drawGap()turtle.right(90)defdrawDigit(d): drawLine(Tr
  • 2023-11-21七段数码管绘制
    importturtle,datetimedefdrawLine(draw):turtle.pendown()ifdrawelseturtle.penup()turtle.fd(40)turtle.right(90)defdrawDigit(d):drawLine(True)ifdin[2,3,4,5,6,8,9]elsedrawLine(False)drawLine(True)ifdin[0,1,3,4,5,6,7,8,9
  • 2023-11-217段数码管绘制
    importturtle,datetimedefdrawGap():#绘制数码管间隔turtle.penup()turtle.fd(5)defdrawLine(draw):#绘制单段数码管drawGap()turtle.pendown()ifdrawelseturtle.penup()turtle.fd(40)drawGap()turtle.right(90)defdrawDigit(d):#
  • 2023-11-217段数码管绘制
    7段数码管绘描述:画出系统时间。具体包括:年,月,日,小时,分,秒。python代码:importturtle,datetimedefdrawGap():#绘制数码管间隔turtle.penup()turtle.fd(5)defdrawLine(draw):#绘制单段数码管drawGap()turtle.pendown()ifdrawelseturtle.penup
  • 2023-11-217段数码管绘制
    importturtle,datetimedefdrawGap():#绘制数码管间隔turtle.penup()turtle.fd(5)defdrawLine(draw):#绘制单段数码管drawGap()turtle.pendown()ifdrawelseturtle.penup()turtle.fd(40)drawGap()turtle.right(90)defdrawD