 | | Re: video game type thing...
|
| Thanks for the response! Now I'm almost ready to test it. I just need to know if, when you have a call void function, and you then use the int main() to close the program with return 0;, will the void keep running? Thanks Nick Howell (...) (26 years ago, 12-Mar-01, to lugnet.robotics.rcx.legos)
| | |  | | Re: video game type thing...
|
| (...) I think you mean if (enemy == 1). Also, the identifier "fight" resolves to the address of the fight function. Doing "fight;" is equivalent to doing "1;". It's legal, but it doesn't accomplish anything. You want to do "fight();" and (...) (26 years ago, 12-Mar-01, to lugnet.robotics.rcx.legos)
| | |  | | video game type thing...
|
| I'm building a video game type thing. It has three touch sensors, for left, right, and fire. The LCD controls where the enemy is. I'm having some problems with my code, so here it is(I'm using kernel 0.2.4): #include "conio.h" #include "dmotor.h" (...) (26 years ago, 12-Mar-01, to lugnet.robotics.rcx.legos)
| | |  | | Re: What is an RCX 2.0?
|
| (...) These numbers (especially the Free Memory Left) are not significantly different from what I get from my RCX 1.0 brick. Hao-yang Wang (26 years ago, 12-Mar-01, to lugnet.robotics)
| | |  | | Lego R/C etc
|
| I'm sorry for the delay in being able to post on this subject. I've been out of town for a couple of weeks, and will be away for a few days this week as well. It's the busy season for me! Here is the current state of the game; I have built a few (...) (26 years ago, 12-Mar-01, to lugnet.robotics)
| |