0 Members and 3 Guests are viewing this topic.
Quote from: JosJuice on October 21, 2010, 03:29:18 pmQuote from: ScoutDavid on October 21, 2010, 02:50:39 pmI know it is the score, but maybe they shouldn't be there, for example, they would only show up at the end so that it doesn't slow down, optimization is the key Optimizing something like that is usually only necessary when TI-BASIC is being used.Yes, but the numbers make it slow, one by one going up :S
Quote from: ScoutDavid on October 21, 2010, 02:50:39 pmI know it is the score, but maybe they shouldn't be there, for example, they would only show up at the end so that it doesn't slow down, optimization is the key Optimizing something like that is usually only necessary when TI-BASIC is being used.
I know it is the score, but maybe they shouldn't be there, for example, they would only show up at the end so that it doesn't slow down, optimization is the key
He could make the text be drawn on the buffer so it doesn't slow down as much, or he could use a custom font routine, but that's a bit harder.
Nice first game btw . You should add some difficulty as the game progresses like maybe some obstacles or make the ball faster and faster as it progresses.
QuoteHe could make the text be drawn on the buffer so it doesn't slow down as much, or he could use a custom font routine, but that's a bit harder.i do this already
Quote from: aeTIos on October 22, 2010, 03:22:01 amQuoteHe could make the text be drawn on the buffer so it doesn't slow down as much, or he could use a custom font routine, but that's a bit harder.i do this alreadyI'm curious. Would you mind explaining how you draw the score?
Quote from: Qwerty.55 on October 22, 2010, 04:03:14 amQuote from: aeTIos on October 22, 2010, 03:22:01 amQuoteHe could make the text be drawn on the buffer so it doesn't slow down as much, or he could use a custom font routine, but that's a bit harder.i do this alreadyI'm curious. Would you mind explaining how you draw the score? i use a list variable, {L1+5}reach step, it puts a certain number up to the score. then i do text(2,0,{L1+5}rand then a dispgraph (i draw to the buffer, thats fix5)
Quote from: aeTIos on October 22, 2010, 05:55:58 amQuote from: Qwerty.55 on October 22, 2010, 04:03:14 amQuote from: aeTIos on October 22, 2010, 03:22:01 amQuoteHe could make the text be drawn on the buffer so it doesn't slow down as much, or he could use a custom font routine, but that's a bit harder.i do this alreadyI'm curious. Would you mind explaining how you draw the score? i use a list variable, {L1+5}reach step, it puts a certain number up to the score. then i do text(2,0,{L1+5}rand then a dispgraph (i draw to the buffer, thats fix5)Oh, I thought you were using a custom text routine and somehow managed to get the numbers to shift between multiple decimal places. What you're doing is a bit more efficient though.
Quote from: ScoutDavid on October 21, 2010, 03:50:26 pmQuote from: JosJuice on October 21, 2010, 03:29:18 pmQuote from: ScoutDavid on October 21, 2010, 02:50:39 pmI know it is the score, but maybe they shouldn't be there, for example, they would only show up at the end so that it doesn't slow down, optimization is the key Optimizing something like that is usually only necessary when TI-BASIC is being used.Yes, but the numbers make it slow, one by one going up :SHe could make the text be drawn on the buffer so it doesn't slow down as much, or he could use a custom font routine, but that's a bit harder.