KoboldKing [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=49507 Individual For Table calls <p>Okay, so I've been working on a cart as of late, and it's been really fun! However, I've hit a roadblock and I'm not sure how to overcome it, could I have some help?<br /> So the game I'm making is a little factory game, and I'm currently trying to get conveyor belts working, specifically getting objects to stop when they run into each other.<br /> I have two tables for co-ordinates; one for x-values of objects, and one for y-values. There are some subtables for certain objects, but that's not important.<br /> Basically, my collision function checks those tables, sees if there's anything in the way, and if there isn't, it moves the object forward. However, whenever it checks the tables, it checks the entire X table, and then the entire Y table. So if there's an object that's in the obstruction area in the Y table and a separate object in the X table, the code thinks there's something in the way, and it stops the object.<br /> So the million-dollar question is: Is there a way to have for functions stepped through one at a time, so as to keep the X and Y co-ordinates in sync? Or is there a better way? Let me know if ya'll need clarification or code examples.</p> https://www.lexaloffle.com/bbs/?tid=54425 https://www.lexaloffle.com/bbs/?tid=54425 Mon, 02 Oct 2023 14:11:11 UTC Variables in Function Parentheses <p>Okay, when viewing code for a bunch of games, there seems to be variables that are put into the parentheses after a function's name. What are the purpose of these?<br /> My guess is that they're local variables, but I have no idea.</p> https://www.lexaloffle.com/bbs/?tid=47668 https://www.lexaloffle.com/bbs/?tid=47668 Wed, 04 May 2022 21:06:27 UTC Raspberry Pi <p>I have a Raspberry Pi 4, and I'm not sure if Voxatron works on it. Does anyone have any experience with trying to make Voxatron work on one?</p> https://www.lexaloffle.com/bbs/?tid=40896 https://www.lexaloffle.com/bbs/?tid=40896 Tue, 22 Dec 2020 23:12:01 UTC