Author Topic: Golf Tour 2011 - Not mini golf!  (Read 8771 times)

0 Members and 1 Guest are viewing this topic.

Offline boot2490

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 607
  • Rating: +54/-36
    • View Profile
    • Boot2490's Stuff
Re: Golf Tour 2011 - Not mini golf!
« Reply #60 on: October 19, 2011, 10:39:23 am »
The repeat should recall it...
But, how do you store a 94x62 image to a pic or something? I only know about 8x8.
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 Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Golf Tour 2011 - Not mini golf!
« Reply #61 on: October 19, 2011, 11:43:36 am »
But, how do you store a 94x62 image to a pic or something? I only know about 8x8.
Two ways for including an image into your prog. Both use the fact that the prog is compiled.
-First, you can convert your image into hex by hand and type it in your source as you would do for a sprite.
-Or, and I'm sure you'll use this one ;) you can store your image in Pic7 (for example) and include at the beginning of your code [Pic7]→GDB8. Then, to display your picture, you just do DispGraph(GDB8).
And if you want greyscale, I think that you could store other images in Pic4 and Pic6 and put them at GDB2 and GDB3, store them to the right buffers and use the right DispGraph command, but I don't do greyscale, so I don't know.
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Golf Tour 2011 - Not mini golf!
« Reply #62 on: October 19, 2011, 11:47:08 am »
or you can do:
[Pic1]→GDB1
[Pic2]→GDB2
and do this:
Copy(GDB1,L6,768                //Front Buffer
Copy(GDB2,L3,768                //Back Buffer
DispGraph
« Last Edit: October 19, 2011, 11:47:35 am by yeongJIN_COOL »
Sig wipe!

Offline boot2490

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 607
  • Rating: +54/-36
    • View Profile
    • Boot2490's Stuff
Re: Golf Tour 2011 - Not mini golf!
« Reply #63 on: October 19, 2011, 12:09:26 pm »
How do you make it non pic dependant? Like having a setup program that updated the pics?
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 Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Golf Tour 2011 - Not mini golf!
« Reply #64 on: October 19, 2011, 12:11:06 pm »
You could store it into appvar.
Make a program that do that.
prgmPROGRAM
.TEST
[Pic1]→GDB1
GetCalc("appvPIC1",768)→A
Copy(GDB1,A,768

This will create the appvar PIC1 that contains Pic1
Sig wipe!

Offline boot2490

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 607
  • Rating: +54/-36
    • View Profile
    • Boot2490's Stuff
Re: Golf Tour 2011 - Not mini golf!
« Reply #65 on: October 19, 2011, 05:18:38 pm »
Now how do you draw that appvar to the buffer?
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 Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Golf Tour 2011 - Not mini golf!
« Reply #66 on: October 19, 2011, 05:19:08 pm »
Copy(A,L6,768
Sig wipe!

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Golf Tour 2011 - Not mini golf!
« Reply #67 on: November 02, 2011, 07:27:22 pm »
How are you coming along with this project, boot? Do you have an algorithm for me yet?



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Golf Tour 2011 - Not mini golf!
« Reply #68 on: November 05, 2011, 01:15:54 am »
Important note: The pic is only needed at compile time, so your users don't need to hang on to it, just you.

Hmm, I should make a var storing axe app, so you can have infinite strings. Handy for BASIC progs that use strings for data.