Author Topic: Breakout clone  (Read 20528 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Breakout clone
« Reply #105 on: November 15, 2010, 08:00:29 pm »
I think the editor should be separate. Some people may not want to create levels and will prefer a smaller file in that case. I don't think the play button will work, though.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Breakout clone
« Reply #106 on: November 15, 2010, 08:24:26 pm »
You could always make it an app if you wanted, you get double the file size that way ^^

Offline lookitsan00b

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 173
  • Rating: +37/-3
    • View Profile
Re: Breakout clone
« Reply #107 on: November 15, 2010, 09:31:50 pm »
You could always make it an app if you wanted, you get double the file size that way ^^

I've never worked with apps before. I have no idea what I can/can't do from one... etc. Never really looked into it. I don't even know how to compile to an app with Axe...
My TI-94+SE is broken.  I used some flawed existential conditioning on it, and it crashed. :(

Activity level:
{====______}

Spoiler For Securite:
{=========_}

A couple security flaws
Need a good backdoor short of reinstalling the OS
Completely immobilized and invalidated by Zstart. And rendered incompatible.
Spoiler For FFTATIA:
{====______}

framework: mostly done
graphics engine: undergoing complete rewrite
still need character and enemy sprites!!! :P

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Breakout clone
« Reply #108 on: November 15, 2010, 09:38:03 pm »
Its easy :) Just go to options, and select Application under 'shell'.  The only difference between apps and programs is you can't modify any data that you create in your program.  ie: you cant do this:

Code: [Select]
[000102030405]->Str1
9->{Str1+5}  //cant do that!

you have to do this instead

Code: [Select]
[000102030405]->Str1
Copy(Str1,L1,6)  //copy it to some free ram, but you cant copy back
9->{L1+5}

Offline lookitsan00b

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 173
  • Rating: +37/-3
    • View Profile
Re: Breakout clone
« Reply #109 on: November 15, 2010, 09:49:03 pm »
Its easy :) Just go to options, and select Application under 'shell'.  The only difference between apps and programs is you can't modify any data that you create in your program.  ie: you cant do this:

Code: [Select]
[000102030405]->Str1
9->{Str1+5}  //cant do that!

you have to do this instead

Code: [Select]
[000102030405]->Str1
Copy(Str1,L1,6)  //copy it to some free ram, but you cant copy back
9->{L1+5}

Well I'm sure I don't do that anywhere...
... Actually SMC is possible but not realistically :P I know that...

I'm not sure it's worth it yet.  If I hit the point where I can't keep it below the limit, yep, it's an app.
Until then, I'll settle for a prgm's faster compile speed.
My TI-94+SE is broken.  I used some flawed existential conditioning on it, and it crashed. :(

Activity level:
{====______}

Spoiler For Securite:
{=========_}

A couple security flaws
Need a good backdoor short of reinstalling the OS
Completely immobilized and invalidated by Zstart. And rendered incompatible.
Spoiler For FFTATIA:
{====______}

framework: mostly done
graphics engine: undergoing complete rewrite
still need character and enemy sprites!!! :P

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Breakout clone
« Reply #110 on: November 15, 2010, 09:50:59 pm »

Well I'm sure I don't do that anywhere...
... Actually SMC is possible but not realistically :P I know that...

SMC is easier to write than you might think. It's debugging that's the pain :P
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Breakout clone
« Reply #111 on: November 15, 2010, 09:51:39 pm »
well just so you know that the option is easy to convert and you don't have to worry about keeping compatibility for the most part :)  And this isn't even the hard SMC :P the tricky part is where you start to modify more than just data ;)

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Breakout clone
« Reply #112 on: November 15, 2010, 10:06:14 pm »
You're giving me a headache just thinking about the debugging  :(
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline lookitsan00b

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 173
  • Rating: +37/-3
    • View Profile
Re: Breakout clone
« Reply #113 on: November 16, 2010, 11:49:52 pm »
You're giving me a headache just thinking about the debugging  :(

Are you talking about the epic amount of time it takes to compile an app? Yeah, me too. :(

Are you talking about how the calculator seems to not do what I tell it? Yeah, me too. :(

I think the editor should be separate. Some people may not want to create levels and will prefer a smaller file in that case. I don't think the play button will work, though.

Actually, do Axe programs initialize variables automatically?
If not, there's always:
Code: [Select]
GetCalc(prgmBREAKOUT)
Asm(jp hl)
... on second thought that won't work. It'll mess up all my pointers. :'(


Well I'm sure I don't do that anywhere...
... Actually SMC is possible but not realistically :P I know that...

SMC is easier to write than you might think. It's debugging that's the pain :P

Im saying SMC in an app is unrealistic, except when you have it copy itself to RAM... but that's cheating :P
My TI-94+SE is broken.  I used some flawed existential conditioning on it, and it crashed. :(

Activity level:
{====______}

Spoiler For Securite:
{=========_}

A couple security flaws
Need a good backdoor short of reinstalling the OS
Completely immobilized and invalidated by Zstart. And rendered incompatible.
Spoiler For FFTATIA:
{====______}

framework: mostly done
graphics engine: undergoing complete rewrite
still need character and enemy sprites!!! :P

Offline lookitsan00b

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 173
  • Rating: +37/-3
    • View Profile
Re: Breakout clone
« Reply #114 on: November 21, 2010, 11:22:11 pm »
1: I have 7 things to say:
2: No, even though I have been idle for about a week, I didn't leave :P Just no comp access...
3: This project ain't dead yet. Just a bug I couldn't find.
4: The bug was idiotically wiping my flags variable on the start of the game, immidiately after setting a flag.
5: along with a fully functional extreme mode, I'm pretty sure I added something, and I will most likely upload all that tomorrow.
6: Would you prefer an app to a program?
7: I really only have 6 things to say ;D
My TI-94+SE is broken.  I used some flawed existential conditioning on it, and it crashed. :(

Activity level:
{====______}

Spoiler For Securite:
{=========_}

A couple security flaws
Need a good backdoor short of reinstalling the OS
Completely immobilized and invalidated by Zstart. And rendered incompatible.
Spoiler For FFTATIA:
{====______}

framework: mostly done
graphics engine: undergoing complete rewrite
still need character and enemy sprites!!! :P

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Breakout clone
« Reply #115 on: November 21, 2010, 11:25:57 pm »
Ah glad to see you back. I was getting a bit worried that you kinda lost interest or something. (Some people starts calc programming then quit 3 weeks later :( ). Glad you got the bug fixed. I don't mind if it's an app or a program, by the way. I would go with a program if your game still compiles under 15 KB, though (and if you're below the 8192 bytes code limit present with programs)
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Breakout clone
« Reply #116 on: November 21, 2010, 11:48:07 pm »
1: I have 7 things to say:
2: No, even though I have been idle for about a week, I didn't leave :P Just no comp access...
3: This project ain't dead yet. Just a bug I couldn't find.
4: The bug was idiotically wiping my flags variable on the start of the game, immidiately after setting a flag.
5: along with a fully functional extreme mode, I'm pretty sure I added something, and I will most likely upload all that tomorrow.
6: Would you prefer an app to a program?
7: I really only have 6 things to say ;D

No, you only have five ;)

Glad you're back.

If not, there's always:
Code: [Select]
GetCalc(prgmBREAKOUT)
Asm(jp hl)
... on second thought that won't work. It'll mess up all my pointers. :'(

There's a b_call(ExecProg) or something like that that does that ... you'll have to move the program name to a particular spot in memory before you do that, though.
« Last Edit: November 21, 2010, 11:48:25 pm by Deep Thought »




Offline lookitsan00b

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 173
  • Rating: +37/-3
    • View Profile
Re: Breakout clone
« Reply #117 on: November 22, 2010, 06:06:44 pm »
If not, there's always:
Code: [Select]
GetCalc(prgmBREAKOUT)
Asm(jp hl)
... on second thought that won't work. It'll mess up all my pointers. :'(

There's a b_call(ExecProg) or something like that that does that ... you'll have to move the program name to a particular spot in memory before you do that, though.
I think I'll just make two versions: split programs, and an app.
On second thought, who wants a program when you can have an app? I'll just use the programs for debugging.
Then again, you can just push enter from the homescreen to re-run a program. not an app. I'll have to add in looping back to the menu. Not too hard.

So, new in v1.0
  semi-intelligent paddle size powerups
  removed caps on paddle size and ball number
  added good reason to look at the source (okay a mediocre reason) see readme :P
  extreme mode
  looping back to the menu with the app version
  both app and bi-program versions included
 
My TI-94+SE is broken.  I used some flawed existential conditioning on it, and it crashed. :(

Activity level:
{====______}

Spoiler For Securite:
{=========_}

A couple security flaws
Need a good backdoor short of reinstalling the OS
Completely immobilized and invalidated by Zstart. And rendered incompatible.
Spoiler For FFTATIA:
{====______}

framework: mostly done
graphics engine: undergoing complete rewrite
still need character and enemy sprites!!! :P

ASHBAD_ALVIN

  • Guest
Re: Breakout clone
« Reply #118 on: November 22, 2010, 06:09:07 pm »
sounds great!  nice to see some great progress on this! :D

Offline lookitsan00b

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 173
  • Rating: +37/-3
    • View Profile
Re: Breakout clone
« Reply #119 on: November 22, 2010, 06:34:26 pm »
I knew there was something I left out! I changed the winning and Game Over screens! :o
Sorry for forgetting to list that in the update list and readme.

Guess its about time to get me a ticalc account? ;D
« Last Edit: November 22, 2010, 06:37:56 pm by lookitsan00b »
My TI-94+SE is broken.  I used some flawed existential conditioning on it, and it crashed. :(

Activity level:
{====______}

Spoiler For Securite:
{=========_}

A couple security flaws
Need a good backdoor short of reinstalling the OS
Completely immobilized and invalidated by Zstart. And rendered incompatible.
Spoiler For FFTATIA:
{====______}

framework: mostly done
graphics engine: undergoing complete rewrite
still need character and enemy sprites!!! :P