抱歉,英语不好,这是一个武侠沙盘游戏,我希望做个游戏,在这个游戏里面,你扮演一个侠客,穿越到古代中国生存。
Sorry ,my poor English,this is a WuXia Sandbox RPG, I wish do the game,that you can play a Warrior,survive in vintage china。
GitHub:https://github.com/ttwings/wuxiaLove2d
RPG WuXia & JiangHu 沙盘角色扮演游戏,武侠与江湖,正在进行中
RPG WuXia & JiangHu 沙盘角色扮演游戏,武侠与江湖,正在进行中
Last edited by ttwings on Tue Jun 05, 2018 3:38 am, edited 2 times in total.
-
- Prole
- Posts: 1
- Joined: Thu May 31, 2018 4:43 am
Re: RPG WuXia & JiangHu 沙盘角色扮演游戏,武侠与江湖,正在进行中
有意思啊老哥,交流一下?
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: RPG WuXia & JiangHu 沙盘角色扮演游戏,武侠与江湖,正在进行中
Please keep the forums in English. I know it's hard for some people, but I can assure you for the people already on the forums Chinese is harder.
Re: RPG WuXia & JiangHu 沙盘角色扮演游戏,武侠与江湖,正在进行中
找到组织了,新人,希望多交流
Re: RPG WuXia & JiangHu 沙盘角色扮演游戏,武侠与江湖,正在进行中
我也菜鸟一个, 欢迎来 love2d 群 104785979 共同学习。 = = 武侠项目目前暂停中,坑有点大了。 准备重构一下结构。 目前做个小项目,练手中。。
Re: RPG WuXia & JiangHu 沙盘角色扮演游戏,武侠与江湖,正在进行中
how did you get your camera to be like https://risingwave.itch.io/smash-bash-d ... the-desert ?
looks interesting btw
looks interesting btw
Re: RPG WuXia & JiangHu 沙盘角色扮演游戏,武侠与江湖,正在进行中
Re girng 。 there are different. in my demo ,i use shader. the code :
local code =[[
vec4 effect(vec4 color,Image texture,vec2 tc,vec2 sc){
return Texel(texture,vec2((tc.x-0.5)/(tc.y + 1.5)+0.5,tc.y));
}
]]
local shader = love.graphics.newShader(code)
in draw function use:
love.graphics.setShader(shader)
love.graphics.draw(canvas)
love.graphics.setShader()
camera x,y position update by STI lib. use code:
map:draw(-tx,-ty)
and tx,ty update :
tx = math.floor((player.x - 1280/2))
ty = math.floor((player.y - 800/2))
ps:1280 800 is window size.
sorry my poor english...
local code =[[
vec4 effect(vec4 color,Image texture,vec2 tc,vec2 sc){
return Texel(texture,vec2((tc.x-0.5)/(tc.y + 1.5)+0.5,tc.y));
}
]]
local shader = love.graphics.newShader(code)
in draw function use:
love.graphics.setShader(shader)
love.graphics.draw(canvas)
love.graphics.setShader()
camera x,y position update by STI lib. use code:
map:draw(-tx,-ty)
and tx,ty update :
tx = math.floor((player.x - 1280/2))
ty = math.floor((player.y - 800/2))
ps:1280 800 is window size.
sorry my poor english...
Re: RPG WuXia & JiangHu 沙盘角色扮演游戏,武侠与江湖,正在进行中
Re girng 。 there are different. in my demo ,i use shader. the code :girng wrote: ↑Thu Sep 13, 2018 12:56 am how did you get your camera to be like https://risingwave.itch.io/smash-bash-d ... the-desert ?
looks interesting btw
Code: Select all
local code =[[
vec4 effect(vec4 color,Image texture,vec2 tc,vec2 sc){
return Texel(texture,vec2((tc.x-0.5)/(tc.y + 1.5)+0.5,tc.y));
}
]]
Code: Select all
local shader = love.graphics.newShader(code)
Code: Select all
love.graphics.setShader(shader)
love.graphics.draw(canvas)
love.graphics.setShader()
Code: Select all
map:draw(-tx,-ty)
Code: Select all
tx = math.floor((player.x - 1280/2))
ty = math.floor((player.y - 800/2))
sorry my poor english...
Re: RPG WuXia & JiangHu 沙盘角色扮演游戏,武侠与江湖,正在进行中
hey ttwings. english is just fine i understood u perfectly.
ty sir so much. gonna try out this shader!! <3
ty sir so much. gonna try out this shader!! <3
Who is online
Users browsing this forum: No registered users and 1 guest