0 Members and 5 Guests are viewing this topic.
0->{A-3}->{A-2}
!If X...ElseIf X=1...ElseIf X=2...End
If X=0...ElseIf X=1...Else...End
{====______}
{=========_}
Disp <Score>,i,"65535 times ",<Var>
I spent about half an hour in endless mode.A few limits might help to keep the game challenging and interesting.1) Paddle width--after a while it was wider than the screen, so you could just leave it and/or watch the score increase 2) # of balls limit--there were about 20 by the time I got tired of it3) some way to keep track of the score if it goes over 65535. It looped six or seven times Code: [Select]Disp <Score>,i,"65535 times ",<Var> With <var> incrementing by 1 each 65535 or something.
Yeah I think at one point you need to delete the program then compile the source from archive. That said, I can't wait to see what you will come up with in updates.
Weird, I would do a backup somewhere like a computer in case, though. EDIT: By the way what do you mean by bomb blocks being out? Do you mean you will not implement them?
Code: [Select]!If X...ElseIf X=1...ElseIf X=2...EndThat throws a ERR: BLOCK.Also, Rect( doesn't work well with negatives.Spoiler For upcoming content: Would be useful for a certain type of block...And finally, I was pleasantly suprised that this works:Code: [Select]If X=0...ElseIf X=1...Else...End
Quote from: DJ Omnimaga on November 11, 2010, 05:53:51 pmWeird, I would do a backup somewhere like a computer in case, though. EDIT: By the way what do you mean by bomb blocks being out? Do you mean you will not implement them?Exactly what I meant... But now I'm having even more problems: I'm getting 'ERR: INVALID' when I try to run it... (no, I'm not trying to run the source , and yes, I am using 'Asm('. Isn't there a max program size or something? It isn't 8k, is it?)
also, I have exhausted the whole alphabet
8811, to be exact.Quotealso, I have exhausted the whole alphabet Are you already using L1?
Quote from: lookitsan00b on November 10, 2010, 11:23:51 pmCode: [Select]!If X...ElseIf X=1...ElseIf X=2...EndThat throws a ERR: BLOCK.Also, Rect( doesn't work well with negatives.Spoiler For upcoming content: Would be useful for a certain type of block...And finally, I was pleasantly suprised that this works:Code: [Select]If X=0...ElseIf X=1...Else...EndThat's a bug that should have been fixed in Axe 0.4.5... What version are you using?Quote from: lookitsan00b on November 11, 2010, 06:14:25 pmQuote from: DJ Omnimaga on November 11, 2010, 05:53:51 pmWeird, I would do a backup somewhere like a computer in case, though. EDIT: By the way what do you mean by bomb blocks being out? Do you mean you will not implement them?Exactly what I meant... But now I'm having even more problems: I'm getting 'ERR: INVALID' when I try to run it... (no, I'm not trying to run the source , and yes, I am using 'Asm('. Isn't there a max program size or something? It isn't 8k, is it?)If it's more than 8192 bytes, the OS refuses to run it with Asm(.
Quote from: Darl181 on November 11, 2010, 06:19:41 pm8811, to be exact.Quotealso, I have exhausted the whole alphabet Are you already using L1?No, 8811 is the number of bytes that you can run from a shell. With Asm(, you can only run 8192 bytes. Any more and the OS gives you an ERR:INVALID.
well then who wants to optimize some code I don't have any experience in it, and my minor attempts so far have failed dramatically.I actually have very little data in here. Most of my graphics are Rect(/RectI( commands.Just a couple tips for anybody who wants to take this on: It's mostly uncommented. All I have are section headers. The Output( statement immediately after the second DispGraphr was for debugging, it's what pushed me over the limit any volunteers?
If I=1
!If I-1
Quote from: lookitsan00b on November 11, 2010, 06:22:49 pmwell then who wants to optimize some code I don't have any experience in it, and my minor attempts so far have failed dramatically.I actually have very little data in here. Most of my graphics are Rect(/RectI( commands.Just a couple tips for anybody who wants to take this on: It's mostly uncommented. All I have are section headers. The Output( statement immediately after the second DispGraphr was for debugging, it's what pushed me over the limit any volunteers?Hmm, let's see.All If statements that say something likeCode: (Axe) [Select]If I=1can be optimized toCode: (Axe) [Select]!If I-1and it'll save several bytes. (I think there were certain conditions where you couldn't do that, but I don't remember what. They're not important, anyway )