| View previous topic :: View next topic |
| Author |
Message |
zhaD
Joined: 07 Sep 2005 Posts: 5 Location: Québec/Canada
|
Posted: Sun Sep 11, 2005 4:28 am Post subject: weird controls problem in lua player for windows |
|
|
the problem is when I press square (D on the keybard) pad:left() is also true and when I press circle (F) pad:down is true.
here is the function in which this happens
| Code: |
function controlSel()
pad = Controls.read()
if pad:down() then
selY = selY + 2
if selY > 257 then
selY = 257
end
end
if pad:up() then
selY = selY - 2
if selY < 0 then
selY = 0
end
end
if pad:left() then
selX = selX - 2
if selX < 0 then
selX = 0
end
end
if pad:right() then
selX = selX + 2
if selX > 465 then
selX = 465
end
end
if pad:triangle() then
units[1].angle = 90
end
if pad:cross() then
units[1].angle = 270
end
if pad:circle() then
units[1].angle = 0
end
if pad:square() then
units[1].angle = 180
end
end
|
|
|
| Back to top |
|
 |
Slopey
Joined: 31 Jul 2005 Posts: 24
|
Posted: Tue Oct 04, 2005 8:11 pm Post subject: |
|
|
| Its a bug in the Windows player - I reported it previously, hopefully a fix is not too far off! :) |
|
| Back to top |
|
 |
chaos
Joined: 10 Apr 2005 Posts: 135
|
Posted: Wed Oct 05, 2005 9:38 am Post subject: |
|
|
i think the new version fixed this already. _________________ Chaosmachine Studios: High Quality Homebrew. |
|
| Back to top |
|
 |
LuMo
Joined: 21 Aug 2005 Posts: 410 Location: Austria
|
Posted: Wed Oct 05, 2005 5:50 pm Post subject: |
|
|
shine allowed me to host the luaplayer for windows alpha 2 on my website, it has some fixes, but still some bugs left
* no analog stick
* no directorylisting
* no sound
greets
lumo _________________ "Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com |
|
| Back to top |
|
 |
|