Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - kindermoumoute

Pages: 1 ... 30 31 [32] 33 34 ... 57
466
[FR] Programmation Axe Parser / Re: [Axe parser] aide
« on: December 17, 2010, 05:55:00 pm »
Je ne vais pas te faire du bout de code par bout de code, mais j'ai trouvé une méthode pas trop mal pour le déplacement de mes worms par exemple :
Code: [Select]
:If getKey(2)
:.Si il y a un déplacement, alors on inverse A
:1-A=>A
:Pt-On(X,Y,A*8+Pic1
:.Quand A vaut 0, c'est le pied gauche en avant, et quand il vaut 1, c'est le pied droit en avant (par exemple)
:Else
:Pt-On(X,Y,Pic2
:.Les deux pieds collés
:End

C'est juste pour donner des idées, mais cherche par toi même le meilleur algo adapté à la situation.

467
TI Z80 / Re: Pokemon TI
« on: December 17, 2010, 05:44:51 pm »
wow great, i can't wait !

468
[FR] Programmation Axe Parser / Re: [Axe parser] aide
« on: December 17, 2010, 11:40:36 am »
Code: [Select]
If getKey-1=>F<5 and (F>0
F=>E
End
Par exemple.

469
[FR] Programmation Axe Parser / Re: [Axe parser] aide
« on: December 16, 2010, 05:13:46 pm »
Code: [Select]
!If getKey-1=>E<5 and (E>0
0=>E
End
Par exemple.

470
Axe / Re: Axe 8-level (ish :P) Greyscale (With Code Example!!!!)
« on: December 14, 2010, 11:59:20 am »
Ok, if i've time, i'll post commented code.

471
[FR] Programmation Axe Parser / Re: [Axe parser] aide
« on: December 14, 2010, 11:54:59 am »
Tu peux toujours tout combiner.

472
Axe / Re: Axe 8-level (ish :P) Greyscale (With Code Example!!!!)
« on: December 13, 2010, 05:00:02 pm »
Sorry, first time I do it. :D

473
[FR] Programmation Axe Parser / Re: [Axe parser] aide
« on: December 13, 2010, 04:56:04 pm »
Code: [Select]
:getKey-1=>E
Non ?

474
Axe / Re: Axe 8-level (ish :P) Greyscale (With Code Example!!!!)
« on: December 11, 2010, 07:13:55 pm »
I have revised my calcul: in fact all the screens shown above was displaying no more than 7 levels of gray!

In Axe Parser, the screen can display 4 grayscale from 0% (white), 33%, 66% and 100% (black).
When we alternate on the screen 2 imaginary memory screens, we obtain 7 levels of gray : 0%+0%=0%, 0%+33%=16,5%, etc.

That is exactly what we find here :

(the 3rd and 6th tile are identical)

Then when we add a third screen in memory, we get 10 levels of gray : 0%+0%+0%=0%, 0%+0%+33%=11%, etc.
That's what we have here :

(hard to discern, but they are all here)

So on : with a 4th screen we get 13 levels of color. Briefly, it is far from the 144 levels of gray.

From 10 grayscale screen flashes.

For your eyes I've made a screen composed of 13 levels of gray, I don't see them all, but they are there.. :D

475
Axe / Re: Axe 8-level (ish :P) Greyscale (With Code Example!!!!)
« on: December 11, 2010, 07:53:30 am »
Other funny stuff : random grayscales.

476
Axe / Re: Axe 8-level (ish :P) Greyscale (With Code Example!!!!)
« on: December 10, 2010, 07:29:27 pm »
holy shit...

your gray scale routine in pure axe is the best I've ever seen...
* Ashbad hands kindermoumoute the Nobel prize for politics


c.sprinkle: I figure the same, though I check cemetech 30% of time and omnimaga 70% of time

An entire evening making head to look for this algorithm instead of revising my courses. :love:

477
Axe / Re: Axe 8-level (ish :P) Greyscale (With Code Example!!!!)
« on: December 10, 2010, 07:22:09 pm »
Limit is.... 144 grayscales  :banghead:

EDIT : approximately.

478
Axe / Re: Axe 8-level (ish :P) Greyscale (With Code Example!!!!)
« on: December 10, 2010, 07:16:42 pm »
Woah that looks great! I wonder how it looks like on-calc... is the blinking very visible?
Correct on 83+.

And now, 16 grayscales  >:D

Here a gif with wabbitemu :

479
Axe / Re: Axe 8-level (ish :P) Greyscale (With Code Example!!!!)
« on: December 10, 2010, 06:57:38 pm »
An exemple of code to see 8 level grayscales :
Code: [Select]
:.GRAY8
:[0000000000000000→Pic1
:[FFFFFFFFFFFFFFFF]
:0→A→B→C
:Repeat getKey(15)
:sub(GR)
:DispGraph<sup>r</sup><sup>r</sup>
:End
:Return
:
:Lbl GR
:ClrDraw
:ClrDraw<sup>r</sup>
:1-C→C
:For(Y,0,7)
:For(X,0,11)
:If X+1^2+C
:If 1-A→A
:1-B→B
:End
:End
:Pt-Off(X*8,Y*8,B*8+Pic1)
:Pt-Off(X*8,Y*8,A*8+Pic1)<sup>r</sup>
:End
:End
Top left, there is in order:
black and black, black and gray 75%, gray 75% and gray 25%, gray 75% and white, gray 25% and black, gray 25% and gray 75%, white and gray 25%, white and white.
B change buffer and A back-buffer. C alternates between two screens imaginary.

Actually there is only 7 grayscale (gray 75% and gray 25% = gray 25% and gray 75%).

EDIT : Woa, it work perfectly with full mode.

480
The Axe Parser Project / Re: List of all programs made with Axe Parser
« on: December 10, 2010, 05:32:29 pm »
Done.

Pages: 1 ... 30 31 [32] 33 34 ... 57