![](https://img-blog.csdnimg.cn/20200422133459789.jpg?x-oss-process=image/resize,m_fixed,h_224,w_224)
GameDev
文章平均质量分 89
游戏
winston600
既然什么也不会,那就用心学吧~~
展开
-
2D回合制游戏开发相关
是时候填这个坑了。-----2020年4月28日 17点28分 先放两张图上来: 这个坑可能会断断续续,要有耐心原创 2020-11-09 16:47:24 · 3002 阅读 · 3 评论 -
love2d贪吃蛇---画方格
各位看官,原版请移步下面链接,代码转载自: 使用Love2D引擎开发贪吃蛇游戏 - CSDN博客 https://blog.csdn.net/qinyuanpei/article/details/44279585 debug = true --定义窗口宽度和高度 local w=640 local h=640 --定义网格单元大小 local unitSize=20; functi...转载 2018-08-09 12:29:10 · 685 阅读 · 0 评论 -
love2d贪吃蛇---蛇
各位看官,原版请移步下面链接,代码转载自: 使用Love2D引擎开发贪吃蛇游戏 - CSDN博客 https://blog.csdn.net/qinyuanpei/article/details/44279585 debug = true --定义窗口宽度和高度 local w=640 local h=640 --定义网格单元大小 local unitSize=20; --方块的初始...转载 2018-08-09 12:31:21 · 393 阅读 · 0 评论 -
love2d环境搭配
相关链接: http://love2d.org/ https://studio.zerobrane.com/ love环境配置: 编辑->preferences->Setting system->user.lua->path.love2d = 'D:/Program Files/love-11.1.0-win64/love' 项目->当前lua解释器->...原创 2018-08-08 13:21:18 · 485 阅读 · 0 评论 -
love2d打飞机---贴图
相关链接:tps://opengameart.org/content/aircrafts love2d项目包含两个文件:main.lua 和 conf.lua main.lua: debug = true playerImg = nil -- this is just for storage function love.load(arg) playerImg = love.gr...转载 2018-08-08 16:15:28 · 630 阅读 · 0 评论 -
love2d打飞机---键盘控制飞机
debug = true player = { x = 200, y = 710, speed = 150, img = nil } function love.load(arg) player.img = love.graphics.newImage('assets/plane.png') --we now have an asset ready to be used in...转载 2018-08-08 16:21:10 · 424 阅读 · 0 评论 -
love2d打飞机---子弹
debug = true player = { x = 200, y = 710, speed = 150, img = nil } -- Timers -- We declare these here so we don't have to edit them multiple places canShoot = true canShootTimerMax = 0.2 canShoot...转载 2018-08-08 16:23:12 · 231 阅读 · 0 评论 -
love2d打飞机---消灭敌机
debug = true player = { x = 200, y = 710, speed = 150, img = nil } -- Timers -- We declare these here so we don't have to edit them multiple places canShoot = true canShootTimerMax = 0.2 canShootT...转载 2018-08-08 16:26:25 · 259 阅读 · 1 评论