bkumanchik [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=45059 export foo.lua.png <p>I can't get [export foo.lua.png] to work, I have tried everything, is it still working in the latest build?</p> <p>Thanks,</p> <p>Brian</p> https://www.lexaloffle.com/bbs/?tid=42641 https://www.lexaloffle.com/bbs/?tid=42641 Mon, 26 Apr 2021 15:49:24 UTC Random pick from table <p>I have created a marching line of invaders that move and animate left and right, dropping down a few rows each time they reach the opposite edge of the screen, It's working great!</p> <p>So then I added a function that will fire a shot from one of the aliens but when I iterate through the table I always get the last one in the table for my x, y starting position of the invaders shot.</p> <p>Is there a way to iterate through a table picking a random entry to generate some variables from? I have tried several things but can't seem to figure out how to do this as we only have: add, all, count, del, foreach and pairs.</p> <p>Thanks,</p> <p>Brian</p> <p><img style="margin-bottom:16px" border=0 src="/media/45059/8_Capture.PNG" alt="" /><img style="margin-bottom:16px" border=0 src="/media/45059/9_screen.jpg" alt="" /></p> https://www.lexaloffle.com/bbs/?tid=41943 https://www.lexaloffle.com/bbs/?tid=41943 Wed, 10 Mar 2021 17:33:47 UTC press to start then press to stop music <p>Hello,</p> <p>I am having trouble try to create a function that will allow me to press a button to start the music playing then press the same button to stop the same music from playing.</p> <p>Thanks for any help,</p> <p>Brian</p> https://www.lexaloffle.com/bbs/?tid=38717 https://www.lexaloffle.com/bbs/?tid=38717 Tue, 07 Jul 2020 22:30:47 UTC