Re: Kurosuke (working title)
Posted: Sun May 08, 2011 6:10 pm
Do you do that using framebuffers?
Nope, don't like having spotty support. My work computer doesn't support framebuffers, so I avoid them.Lafolie wrote:Do you do that using framebuffers?
Could you post a link to a .love that uses spritebatches, or perhaps link me to a tutorial? The wiki wasn't much help when I looked over it.slime wrote:Sounds like you'd get about the same performance using spritebatches then, but you wouldn't have to generate RAM- and time-wasting images.
I've run into this problem, it irks me without end. Until I work out a better solution, use the F key (which is the action button for Player 2) to go into the key rebinding menu and change the action button of Player 1 to whatever is handy in your keyboard layout.SoggyWaffles wrote:Tried playing single player, but I'm using a Mac laptop and I do not have a right control button (as far as i know).
Code: Select all
--in order: up, down, left, right, action, cancel, pause
player 1 = "up", "down", "left", "right", "rctrl", "rshift", "backspace"
player 2 = "w", "s", "a", "d", "f", " ", "escape"
player 3 = "i", "k", "j", "l", ";", "ralt", "/"
player 4 = "kp8", "kp2", "kp4", "kp6", "kp+", "kpenter", "numlock"
Modern Macs have a right click as well as the scroll up and down and even a middle button. It all depends on how many fingers you use and how you use them and in some cases what other modifier keys you hold. I can perform anything your PC laptop can.tentus wrote:I've run into this problem, it irks me without end. Until I work out a better solution, use the F key (which is the action button for Player 2) to go into the key rebinding menu and change the action button of Player 1 to whatever is handy in your keyboard layout.
Anyone have any suggestions on this problem, btw? When I first wrote the default keybindings for Players 1-4, I didn't even consider that the mac laptops are missing keys as well as mouse buttons.
Here are the current default buttons, in psuedo code:Code: Select all
--in order: up, down, left, right, action, cancel, pause player 1 = "up", "down", "left", "right", "rctrl", "rshift", "backspace" player 2 = "w", "s", "a", "d", "f", " ", "escape" player 3 = "i", "k", "j", "l", ";", "ralt", "/" player 4 = "kp8", "kp2", "kp4", "kp6", "kp+", "kpenter", "numlock"
That's nice. Unfortunately, the only Mac I have easy access to is moderately old, and unless I'm seriously missing something, it lacks a few buttons. As does every other interation of that model, and several other Mac laptop models. I don't think "replace laptop" is a very good solution to the problem at hand.Jasoco wrote:Modern Macs have a right click as well as the scroll up and down and even a middle button. It all depends on how many fingers you use and how you use them and in some cases what other modifier keys you hold. I can perform anything your PC laptop can.tentus wrote:I've run into this problem, it irks me without end. Until I work out a better solution, use the F key (which is the action button for Player 2) to go into the key rebinding menu and change the action button of Player 1 to whatever is handy in your keyboard layout.
Anyone have any suggestions on this problem, btw? When I first wrote the default keybindings for Players 1-4, I didn't even consider that the mac laptops are missing keys as well as mouse buttons.
Here are the current default buttons, in psuedo code:Code: Select all
--in order: up, down, left, right, action, cancel, pause player 1 = "up", "down", "left", "right", "rctrl", "rshift", "backspace" player 2 = "w", "s", "a", "d", "f", " ", "escape" player 3 = "i", "k", "j", "l", ";", "ralt", "/" player 4 = "kp8", "kp2", "kp4", "kp6", "kp+", "kpenter", "numlock"
As for keys. Well, I sure as hell wouldn't want a useless numpad on my laptop keyboard. I don't even use the ones I have on my fullsize keyboard. I didn't even use them when I was a PC user in the 90's. I'm all about the arrow keys, baby!
I do offer key rebinding, you can rebind every player input ingame (or via text editor if the config file has been written once). The level editor has some hard-coded mouse bindings, but the mouse is optional, if notably faster to use.Jasoco wrote:I wouldn't worry about it. Most PC laptops don't have the numpad either. And you could offer an "alternate" 4th player input option for the rare chance that four people will want to play the game on a laptop. And if you do require mouse input, mice are pretty cheap.