Rick Posted December 4, 2011 Share Posted December 4, 2011 Was tired of not having a completed game so I made a Simon Says clone 100% in Lua. Source included. Post your high scores and please let me know if it's not working for you. http://www.leadwerks.com/werkspace/files/file/292-rickysays/ Any no that's not my voice...You'll see. Quote Link to comment Share on other sites More sharing options...
gamecreator Posted December 4, 2011 Share Posted December 4, 2011 910 score but I stopped playing at that point. That's also when it finally gave me a blue after only giving me the other 3. Which made think: should it be coded in that if a color isn't picked after a certain number of steps that it's automatically added? Probably. Maybe even that a color won't come up more than 3 or so times in a row. Things you wouldn't immediately think about. Want to get even more crazy? Factor in how simple the pattern is for the score. For example, it it was 5 blues then 5 reds, that's worth less than 10 "more random" colors because it's easier to remember, no? But that's just a silly idea and I probably wouldn't implement it myself. Quote Link to comment Share on other sites More sharing options...
Mumbles Posted December 4, 2011 Share Posted December 4, 2011 Sounds didn't quite work for me, Most of the time it was absolutely silent and red never played at all despite lighting up a few times... attached zip just contains an mp4 of exactly how it sounded for me (since we're not allowed to upload mp4 files on their own) Got to 1690 score RickySays-Sounds.zip Quote LE Version: 2.50 (Eventually) Link to comment Share on other sites More sharing options...
Rick Posted December 5, 2011 Author Share Posted December 5, 2011 @mummbles, is this video sped up because that's going way to fast than it should be, which sort of tells me that's why the sound isn't playing. Do you overclock something on your machine or something? I'm using Lua's os.clock() for my timers to handle all of this so I would think it should be the same for everyone, but I'm betting it's something around the speed. @gamecreator, thanks for the thoughts. I'll look into the color selection and tweak that code some. Quote Link to comment Share on other sites More sharing options...
Mumbles Posted December 5, 2011 Share Posted December 5, 2011 @mummbles, is this video sped up because that's going way to fast than it should be, which sort of tells me that's why the sound isn't playing. Do you overclock something on your machine or something? That's me clicking it, hence why the score goes up, the computer "clicks" quite a bit slower than I do... I've not attempted to overclock in years. I deliberately buy CPUs with a high clock speed just so I don't have to overclock them - that's running normal speed on a 4 year old Athlon 64 X2 6000+ (which is dual core is at 3 GHz per core) Quote LE Version: 2.50 (Eventually) Link to comment Share on other sites More sharing options...
Rick Posted December 5, 2011 Author Share Posted December 5, 2011 So if you click slower do you still get the sound issue? Also you have openAL installed on this machine? Quote Link to comment Share on other sites More sharing options...
Mumbles Posted December 5, 2011 Share Posted December 5, 2011 Click speed males difference. The same "sounds once in a blue moon" happens when the computer is clicking too Yes I have Open AL, I also have the Open AL 1.1 SDK What I really should do is fire up my laptop and my Debian machine and see if they have the problem. I wouldn't mind betting that they play it fine... If it works in wine that is... In fact I think I might do that now. Quote LE Version: 2.50 (Eventually) Link to comment Share on other sites More sharing options...
Rick Posted December 5, 2011 Author Share Posted December 5, 2011 It must be OpenAL then. I literally do LoadSound() at the begining and PlaySound() when you click. Nothing fancy with sources or anything. Would be interested to hear the results on your laptop. Quote Link to comment Share on other sites More sharing options...
Mumbles Posted December 5, 2011 Share Posted December 5, 2011 Works absolutely fine on Debian - all the sounds play as and when they should Doesn't even load at all on my laptop. But I wouldn't worry about that. It's such an old, **** thing anyway, but here's a log of where and why it crashed Edit: Ignore that - works now... Don't now why, since I did use the shortcut first time... Engine.log.txt Quote LE Version: 2.50 (Eventually) Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.