Search found 3 matches

by intellisquid
Sat Aug 19, 2006 2:51 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: moving a number around on a bitmap
Replies: 3
Views: 6576

This is probably common knowledge, but I also figured out a shrewd little shortcut, of adding x+1 or y+1 by itself to 'trick' the for/next loop into skipping the bit the player has just moved into. :lol:
by intellisquid
Sat Aug 19, 2006 11:36 am
Forum: QBASIC and QB64 Questions & Answers
Topic: moving a number around on a bitmap
Replies: 3
Views: 6576

I think it makes perfect sense, finally. I had to play around with it for awhile, but eventually I realized changing a bit on x+1 or y+1 means the for/next loop is going to keep changing the bit until it pushes it out of the bounds of the array, because it has yet to scan x+1 or y+1... Anyway, thank...
by intellisquid
Fri Aug 18, 2006 12:12 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: moving a number around on a bitmap
Replies: 3
Views: 6576

moving a number around on a bitmap

Hi all. I'm trying to make a turn-based, puzzle style game that runs on a tile-based map. The player is a bit on a map, just like the walls and objects are. My code isn't working, though. The 'up' and 'down' code follows. Up works, but down does not. They look exactly the same to me, so if anyone ca...