Author Topic: The Matrix  (Read 5027 times)

0 Members and 1 Guest are viewing this topic.

Offline geekygenius

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 17
  • Rating: +4/-0
    • View Profile
The Matrix
« on: March 08, 2012, 01:13:13 am »
So, I'm new to this whole Axe thing, and I really like it. I am working on "Calculator hero" right now, but I stumbled across a pretty convincing way to "create the matrix". Its my first finished Axe program, and its so small I won't post a download either. You would probablly want to change some of it to your liking anyways.  :P
Code: [Select]
:.Matrix
:Repeat getkey(15)
:For(A,0,15)
:Disp rand|>Char
:Pause 50
:End
:Pause 200
:End
The Pause 50 is the speed of the characters appearing on a line, and the Pause 200 is the speed of the lines. Feel free to use it as you want, and constructive criticism is greatly appreciated. ;)

Offline kindermoumoute

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 836
  • Rating: +54/-3
    • View Profile
Re: The Matrix
« Reply #1 on: March 08, 2012, 07:04:59 am »
Is the matrix not composed it as 1 and 0? ;)
Projects :

Worms armageddon z80 :
- smoothscrolling Pixelmapping : 100%
- Map editor : 80%
- Game System : 0%

Tutoriel français sur l'Axe Parser
- 1ère partie : en ligne.
- 2ème partie : en ligne.
- 3ème partie : en ligne.
- 4ème partie : 10%
- Annexe : 100%

Offline Stryars

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 12
  • Rating: +0/-0
    • View Profile
Re: The Matrix
« Reply #2 on: March 09, 2012, 12:43:25 am »
Funny :)
But you should try it with just one line (who generate itself sometimes randomly in the code), and then use some StoreGDB, Vertical + and Dispgraph, it will probably go faster...
« Last Edit: March 09, 2012, 12:43:37 am by Stryars »

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: The Matrix
« Reply #3 on: March 09, 2012, 12:53:38 am »
Funny :)
But you should try it with just one line (who generate itself sometimes randomly in the code), and then use some StoreGDB, Vertical + and Dispgraph, it will probably go faster...
If he wanted it to be faster, he would remove the Pauses ;)
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 geekygenius

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 17
  • Rating: +4/-0
    • View Profile
Re: The Matrix
« Reply #4 on: March 09, 2012, 12:55:02 am »
Lol. I want to make this some kind of side project, where I may know how to do something, but I wait until I think of a simple way to do it. Hopefully, it will have individual lines of scrolling text going downwards, but I might invest in a vertical statement somewhere... :D

Offline leafy

  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1554
  • Rating: +475/-97
  • Seizon senryakuuuu!
    • View Profile
    • keff.me
Re: The Matrix
« Reply #5 on: March 09, 2012, 03:40:53 am »
I've always wanted to give this a shot - I'll see what I can do :D
In-progress: Graviter (...)

Offline hellninjas

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 625
  • Rating: +17/-0
    • View Profile
Re: The Matrix
« Reply #6 on: March 09, 2012, 11:14:57 am »
So, I'm new to this whole Axe thing, and I really like it. I am working on "Calculator hero" right now, but I stumbled across a pretty convincing way to "create the matrix". Its my first finished Axe program, and its so small I won't post a download either. You would probablly want to change some of it to your liking anyways.  :P
Code: [Select]
:.Matrix
:Repeat getkey(15)
:For(A,0,15)
:Disp rand|>Char
:Pause 50
:End
:Pause 200
:End
The Pause 50 is the speed of the characters appearing on a line, and the Pause 200 is the speed of the lines. Feel free to use it as you want, and constructive criticism is greatly appreciated. ;)

Nvm got it ;D

Also, very cool, im glad your learning!
« Last Edit: March 09, 2012, 11:23:57 am by hellninjas »