Jump to content

CangoJoe

Members
  • Posts

    94
  • Joined

  • Last visited

Everything posted by CangoJoe

  1. Forgive the pseudo-code but would something like this work? If not KeyHit("Escape") then ContinueGame() Else ExitGame() End
  2. @Marty Here's the audio file conversions I made: Original file 7.8mb .mp3 -> 33.8mb 16bit stereo .wav (44.100kHz) then 33.8mb 16bit stereo wav -> 8.3mb 8bit mono .wav (44.100kHz) Original data zip file was around 397mb before conversion
  3. Thanks - I've considered alternative websites as well, but either way I still have deal with laughably slow satellite internet upload speeds and potential timeouts. Hopefully tonight is a quiet night and I won't have to spend all day clearing out and resetting the bear traps. If there's ample daylight, I'll drive into civilization where they have 'fast' internet and try to upload the file at the least seedy internet cafe I know of. I'm sure it'll still take some time to upload so in the meantime, I'll barter with the locals for the usual diesel, shells, spare parts and TP. If all goes well, I'll be home and secure before nightfall. If that fails, I'll make my way to the highest ground possible and attempt to deliver the file via Morse code using a clever combination of smoke signals and flickering mirrors.Carrier pigeons are not an option unfortunately, as anything with feathers and flying is met with a hail of buckshot, roasted on an open fire and eaten - message and all...
  4. Seems, I'm still not able to upload my standalone game without generating an error message. Can I snail mail you a CD? It'll be a first -lol! No but seriously
  5. Hey all, I'm trying to upload my Summer game as a standalone game to this website but, I get the error message - "You don't have permission to do that." after about an hour or so. I'm uploading a 327mb file over a slow satellite connection so it takes about 6 hours to upload anything. Is it because my session is timing out? If so, can I increase my timeout value? The game doesn't launch properly in the Leadwerks Launcher for some reason, so I've resorted to the standalone game.
  6. Alrighty thanks, I will post the game in a day or two, but I will settle for the 8-bit music for now. The 16-bit music will crash the game upon launch and I don't want to release a known unplayable game. I've got standards
  7. I think I found a solution - I converted one of my music files from 16 bit stereo to 8 bit mono and the standalone game no longer crashes. Not exactly the greatest solution because the music sounds kind of washed. Sorry, I haven't tried running it in release mode - not sure where that option is set (first game I tried publishing).
  8. Hi all, I was trying to run my Summer game outside of LE as a Standalone game and encountered this error message. Error: Bankstream overrun error. Anyone know what that message is in regards to? The game runs fine in the editor but never starts when run as Standalone. Thanks
  9. CangoJoe

    GUI Update

    Nice! Maybe you're not at this point, but do you have any documentation of all your GUI updates so far? I'd like to experiment with them a bit. Thanks!
  10. I've been encountering this problem in Beta as well. I have some reproductions steps that work about 80% of the time for me. Steps Open a fairly large project Run the project While its loading move the mouse out of the game window Wait to the mouse to be automatically centered back into the game window Click on the game window a few times - Note the Windows loading circle Leave the mouse in the game window When the game finishes loading the mouse remains un-hidden in the game window. To avoid the problem altogether, I don't move the mouse out of the game window while its loading. Hope that helps
  11. Alrighty I will go with the single camera solution as suggested by Rick. Thank you sirs for your help and input.
  12. Ok, I've installed the beta branch, updated the projects but unfortunately still having the same problem. I've also tried other ideas including; SetProjection(0), hiding the camera and setting it to nil when its not active. Yet my camera limit remains the same. Is there anything else I can try? I have an ugly work around in mind using a single camera but hopefully I won't have to resort to it.
  13. Excellent that sounds like the solution I needed - thank you! How do I go about getting the update - do I need the beta branch? I tried updating through the Project Manager and it said everything was already up to date. I'm using LE 4.x at the moment.
  14. A game I'm working on is a camera intensive RPG that creates a mini-vignette whenever you interact with an NPC. It shows a previously hidden camera upon interaction with an NPC and hides the camera again when you're finished. There's also remote controlled vehicles that activate their own set of cameras. Whenever I operate vehicles, interact with NPC or combination of both, I eventually reach my 'camera limit' and the client crashes back to the desktop. There are no Lua script errors as far as I can tell. The attached test case is a distilled version of what I'm trying to accomplish. As you'll see, only one camera is active at a time. An alternative method to test this is to simply create a map with a bunch of non-Hidden cameras and try to run it - eventually an error is thrown.
  15. Hello, Not sure if this a bug, but Is there a max number of cameras a map can handle in memory? In various projects it seems the max number of cameras I can hide() or show() is somewhere between 6-8. Only one camera is active at a time (via show()), if I show more than 7 cameras my game crashes back to the editor with error Framebuffer incomplete: GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT or Failed to set clipmap color texture. My System: Windows 10 64bit ATI Radeon R7 260 (latest driver) AMD Processor I've attached a test case. To test: Activate each control panel in any order to show() a camera for 2 seconds and then hide() it. At least for my system it can only handle show/hiding 7 cameras before crashing. If you have a powerful PC with lots of RAM,feel free to add more cameras and switches to where your game crashes as I suspect this is a memory issue.
  16. That site seems to be a good Lua resource that I'll be referring to more often. I had some success with their example so far, I just needed to make some tweaks in order to import into a 2 dimensional table. Many thanks for the link!
  17. Hello, Is it possible to import data from an Excel .CSV file into a table via Lua? I was going to attempt to do this through a big ugly script but, thought I'd ask around first to see if some functionality like this already exists or if there's any caveats with Leadwerks/Lua that I should be aware of. Thanks!
  18. Just an FYI for anyone interested, the scripts are located in: Public> Downloads Archive> Scripts : CameraShake.lua Cheers
  19. Cool thanks much - I'll dig through those archives. Who knows, I might find some other useful stuff in there! (please Ignore previous mis-post)
  20. Hello, Do you have an updated version of this script for LE4? The link above doesn't work again.
  21. Interesting... so all variables, unless declared Local, are Global even between scripts. A little scary IMO but it explains some of my other scripting snafus. Guess I'll have to be more careful on variable naming and scope. Regardless, thanks for all the info - It sheds a lot of light on how Leadwerks and Lua work together!
  22. Excellent, that's what I needed - thanks! So with Lua and Leadwerks in general, in order to keep a script 'alive' does it always need to be attached to an element (like a pivot) in the scene? For instance if I wanted to create a script that tabulates what Journal entries the player has selected over the course of the game I would need to attach this 'tabulation.lua' to a something like a pivot - yes?
  23. Hi, I've been testing the Pause and Journal scripts following the provided instructions. I managed to get Pause to work fine but it seems that the Journal script creates a script error in Core.lua on Line 74 (attempt to index a nil value). For testing, do I simply attach JournalEntry.lua to a Model or am I missing something? I'm new to Leadwerks and Lua so please forgive any newb oversights. Thanks!
×
×
  • Create New...