Jump to content

reaper2259

Members
  • Posts

    47
  • Joined

  • Last visited

Everything posted by reaper2259

  1. Heyy sorry for the confusion but i know how to manually do it using Booleans and if statements but was just wondering if there is any actual call like KeyUp which would just make things easier and less code when you need to make a lot of calls. I don't have a project requiring heavy amounts of key release actions right now but its just something that would be of use. Thanks for your help but i guess there isn't any such code currently.
  2. Hey everyone im wondering if there is any way to get when a key is released in lua. I know how to get when the key has been pressed down with KeyHit but i need something like KeyRelease or KeyUp because i need to call something when the player releases the specific key. also is there any way to get when any key is pressed such as window:KeyHit(Key.Any) these would be really useful in many ways. thanks for any help.
  3. To change all of these things you need to edit the Main.lua script which is located in the scripts folder in your assets, to make the game full screen change one of the top lines that reads "local windowstyle = window.Titlebar" to "local windowstyle = window.Fullscreen". To change the windowed resolution change the "screenwidth","1024" and "screenheight","768" to for example "screenwidth","1280" and "screenheight","720", just change the numbers to what ever size you want. To unhide the mouse change "window:HideMouse()" to "--window:HideMouse()" and that will comment out the hide mouse command. If your mouse is locked to the center of the game screen then that is most likely in one of your scripts, for instance if you are using the default FPSPlayer.lua then you would need to change "window:SetMousePosition(Math:Round(context:GetWidth()/2), Math:Round(context:GetHeight()/2))" to "--window:SetMousePosition(Math:Round(context:GetWidth()/2), Math:Round(context:GetHeight()/2))" under the --Mouse look comment in the UpdateWorld() function. Though i must warn you that unlocking the mouse with the FPSPlayer will make the player look around very weirdly. Hope this helps.
  4. yeah i get the same thing when at a distance from vegetation they get a dark outline to them, haven't tried deleting the billboard images yet though.
  5. Question, for those of us who live over seas(australia) are we eligible for the prizes? and if so do we have to pay shipping? i assume all this has been worked out in previous game tournaments but as this is my first just want to clarify. Anyways i look forward to participating(i love doing game jams) and hopefully i can pick up enough lua knowledge to put something together lol.
×
×
  • Create New...