keendreams / keen

Keen Dreams on Greenlight!
http://steamcommunity.com/sharedfiles/filedetails/?id=315040793
GNU General Public License v2.0
1.93k stars 173 forks source link

proposal to improve input stuff ^^; #4

Open sparky4 opened 8 years ago

sparky4 commented 8 years ago

I added an improvement to the id_in code ... https://github.com/sparky4/16/blob/master/src/lib/16_in.c#L870 ^^;

what do you think of this? ^^;?

Blzut3 commented 8 years ago

The simpler way to solve the issue I think you're trying to solve. Motion left and up are -1 and motion right and down are +1. It is possible to set the value to motion_None then just use if instead of else if and add the components together. This adds only two lines of code.

sparky4 commented 8 years ago

!! i was adding a system to where you press 2 adjacent keys that the key that is pressed 2nd over writes the 1st key's direction

sparky4 commented 7 years ago

This is a Issue I been having. I compiled kdreams.exe, start a new game, and it gets stuck on Loading with no bars. like it crashed horribly....

SetupGameLevel (true); in kd_play.c is causing this

tdecker91 commented 6 years ago

@sparky4 I've been having the same issue. Have you found a way to resolve this?