I made a frogger clone once without the use of any arrays. I used a huge list of if statements like such:
if (car1.active) {
car1.move();
}
if (car2.active) {
car2.move();
}
if (car3.active) {
car3.move();
}
If you think that's not bad, imagine what I had to do to draw the tile based ...
Search found 2 matches
- Thu Apr 06, 2006 9:16 pm
- Forum: Off-topic
- Topic: Worst Coding Ever
- Replies: 10
- Views: 1773
- Thu Apr 06, 2006 9:09 pm
- Forum: Project Announcements
- Topic: My new Project
- Replies: 8
- Views: 1934