Author Topic: Homescreen Game Pack  (Read 75992 times)

0 Members and 1 Guest are viewing this topic.

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Homescreen Game Pack
« Reply #270 on: September 30, 2011, 08:53:03 pm »
How big is it?
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

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: Homescreen Game Pack
« Reply #271 on: September 30, 2011, 08:53:31 pm »
510 bytes. Might be a bit big :/




Offline boot2490

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 607
  • Rating: +54/-36
    • View Profile
    • Boot2490's Stuff
Re: Homescreen Game Pack
« Reply #272 on: September 30, 2011, 08:56:09 pm »
Rub it in my face, will ya?
I'm not worried about SOPA creating censorship, that will not stand for long. I'm worried that they'll succeed in stopping piracy!

Spoiler For Signature, updated march 23, 11:28 PM EST:















An useful tool!

PM me if you need some help. I am glad to be of assistance and part of the TI Communnity.

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Homescreen Game Pack
« Reply #273 on: September 30, 2011, 08:56:18 pm »
I'm guessing it would be fine, but I'm not sure as I'm not Z :P It looks really nice though.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

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: Homescreen Game Pack
« Reply #274 on: September 30, 2011, 08:57:11 pm »
Rub it in my face, will ya?
Nah, I was being serious. The games in ztrumpet's Homescreen Game Pack are all incredibly small (many are 100 bytes or so).




Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Homescreen Game Pack
« Reply #275 on: September 30, 2011, 09:02:33 pm »
I don't think many are quite that small. I think more are like 200-300. But I could be wrong.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Homescreen Game Pack
« Reply #276 on: September 30, 2011, 09:07:51 pm »
wow, Deep, that looks really good.  :o

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Homescreen Game Pack
« Reply #277 on: September 30, 2011, 09:18:13 pm »
Well I managed to shave a whole three six bytes off :P I might be able to get more if I spend more time understanding it all. Is it possible to use min(MAX,max(MIN,VARIABLE+(getKey)-(getKey→VARIABLE for your character movement? That would save you about fifteen or so bytes too.
« Last Edit: September 30, 2011, 09:29:17 pm by meishe91 »
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

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: Homescreen Game Pack
« Reply #278 on: September 30, 2011, 09:21:00 pm »
Is it possible to use min(MAX,max(MIN,VARIABLE+(getKey)-(getKey→VARIABLE for your character movement?
Yeah, of course. I was so eager to post it I forgot to do some things to it first, including optimizing and getting rid of a minor bug with enemy bullets that you might or might not notice. (Bullets hit you in different ways depending on whether you're in the second-to-last row or the last one.)




Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Homescreen Game Pack
« Reply #279 on: September 30, 2011, 09:28:09 pm »
Is it possible to use min(MAX,max(MIN,VARIABLE+(getKey)-(getKey→VARIABLE for your character movement?
Yeah, of course. I was so eager to post it I forgot to do some things to it first, including optimizing and getting rid of a minor bug with enemy bullets that you might or might not notice. (Bullets hit you in different ways depending on whether you're in the second-to-last row or the last one.)

Ah okay, I just wasn't sure because of the subtracting 15 and so from it, so I wasn't sure how it worked exactly and didn't want to risk screwing something up.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

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: Homescreen Game Pack
« Reply #280 on: September 30, 2011, 09:31:13 pm »
Oh, that's just the right bound check (A is the x-value that can be anything between 0 and 15 inclusive, while the y-value in B has to be 0 or 1).




Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Homescreen Game Pack
« Reply #281 on: October 01, 2011, 10:28:04 am »
Rub it in my face, will ya?
You're giving up and I spent my time trying to see what's wrong with ur code and writing sample code to help you out? D:
I'll still show you my code if you're interested. If you study it, it might get close to DT's program, but not quite sure about the size D: (Since I wrote it so ppl can understand easily)
« Last Edit: October 01, 2011, 10:29:52 am by yeongJIN_COOL »
Sig wipe!

Offline boot2490

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 607
  • Rating: +54/-36
    • View Profile
    • Boot2490's Stuff
Re: Homescreen Game Pack
« Reply #282 on: October 01, 2011, 04:43:56 pm »
I'm not worried about SOPA creating censorship, that will not stand for long. I'm worried that they'll succeed in stopping piracy!

Spoiler For Signature, updated march 23, 11:28 PM EST:















An useful tool!

PM me if you need some help. I am glad to be of assistance and part of the TI Communnity.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Homescreen Game Pack
« Reply #283 on: October 01, 2011, 10:52:10 pm »
I don't think many are quite that small. I think more are like 200-300. But I could be wrong.
You are almost correct here.  I think most of them are 250-350 bytes.
Wow, Deep, that's awesome!  I'm not sure how you made it so fast, but I see a lot of strings in use just by watching the screenie.  That's awesome.  I wish I'd had the idea to use strings instead of making the bullets move out of lists.  Wow. :D

Boot, it's okay that Deep made his work well - he has a lot more experience with Basic, and I'm sure you can get to the level he's at by studying his code.  Remember that Deep and I have each been coding for a while now (I'm at 4+ years) and our first games didn't happen right off the bat.  My games up until Drifter were terrible, and Drifter was released after I'd been programming for 2 whole years. ;)  Good luck. :)

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: Homescreen Game Pack
« Reply #284 on: October 01, 2011, 11:08:12 pm »
Wow, Deep, that's awesome!  I'm not sure how you made it so fast, but I see a lot of strings in use just by watching the screenie.  That's awesome.  I wish I'd had the idea to use strings instead of making the bullets move out of lists.  Wow. :D
Thanks ztrumpet! But remember that that screenshot is on a TI-84 Plus, and it's half the speed on an 83, and keypresses are a bit laggy. As fast as I can get it though :D
I am working on it once more!!
http://piratepad.net/ep/pad/view/ro.5GX1ET4izrM/latest
Cool, good luck. Again, feel free to look in my code. If the source to any program is provided, it's for others to see :)
Boot, it's okay that Deep made his work well - he has a lot more experience with Basic, and I'm sure you can get to the level he's at by studying his code.  Remember that Deep and I have each been coding for a while now (I'm at 4+ years) and our first games didn't happen right off the bat.  My games up until Drifter were terrible, and Drifter was released after I'd been programming for 2 whole years. ;)  Good luck. :)
I agree completely. I think TI-BASIC is one of those languages where experience is especially important, more so in other languages, just because of the challenge. As you make more programs you learn more tricks that each make your future code smaller and faster, which is more important in TI-BASIC than just about anything else around in the past two decades or so.

And yeah, my story's the same as ztrumpet's, though I still haven't come as far as he has in ability -- everything I made in 2009 and before (half the stuff on my ticalc.org profile, which I still need to clean out) was absolutely terrible. Just keep coding!
« Last Edit: October 01, 2011, 11:18:50 pm by Deep Thought »