Author Topic: Input routine done !  (Read 6107 times)

0 Members and 1 Guest are viewing this topic.

Offline nikitouzz

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 215
  • Rating: +22/-1
    • View Profile
Input routine done !
« on: November 05, 2013, 05:08:45 am »
You can download both routine here !



Hello everyone,

I programmed this routine in Axe that allows users to input number and letters with numerous options!

to call the routine you need to make : sub(LET,X,Y,Z) for letter with X and Y the position of your windows and Z the nulber of caractere you need make input in max, sub(FFR,X,Y,Z) work same !

this is what gives such a code with my routines:

Code: [Select]
:.ATEST
:ClrDraw
:Fix 5
:
:sub(LET,0,0,12)
:Text(0,10,L1)
:DispGraph
:Pause 2000
:
:sub(FFR,0,20,3)→A
:Text(0,30,A►Dec)
:DispGraph
:Pause 2000
:
:Returnr

« Last Edit: November 05, 2013, 05:14:58 am by nikitouzz »
mes records personels :

2x2x2 : 2.18 secondes / 2x2x2 une main : 21.15 secondes / 2x2x2 yeux bandés : 47.59
3x3x3 : 5.97 secondes / 3x3x3 une main : 49.86 secondes
4x4x4 : 1.49 minutes / 4x4x4 une main : 6.50 minutes
5x5x5 : 4.10 minutes / 5x5x5 une main : 18.02 minutes
6x6x6 : 8.10 minutes
7x7x7 : 16.03 minutes
9x9x9 : 58.26 minutes

megaminx : 5.59 minutes / pyraminx : 7.91 secondes / square-one : 1.07 minutes

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Input routine done !
« Reply #1 on: November 05, 2013, 05:31:59 am »
THat is looking sweat, will make input far easier :D
I only got a few questions_
Do the arrow keys work to scroll through?
Does clear work to clear the whole input?
Do lowercase letters wrok?

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline nikitouzz

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 215
  • Rating: +22/-1
    • View Profile
Re: Input routine done !
« Reply #2 on: November 05, 2013, 06:45:38 am »
Lowercase don't work i can make easily ! the scroll don't work but you can erase all you want :)

EDIT : I d'ont say on things : the routine use alone the r1-r6 vars then it's too dificult to add option !
« Last Edit: November 05, 2013, 06:46:40 am by nikitouzz »
mes records personels :

2x2x2 : 2.18 secondes / 2x2x2 une main : 21.15 secondes / 2x2x2 yeux bandés : 47.59
3x3x3 : 5.97 secondes / 3x3x3 une main : 49.86 secondes
4x4x4 : 1.49 minutes / 4x4x4 une main : 6.50 minutes
5x5x5 : 4.10 minutes / 5x5x5 une main : 18.02 minutes
6x6x6 : 8.10 minutes
7x7x7 : 16.03 minutes
9x9x9 : 58.26 minutes

megaminx : 5.59 minutes / pyraminx : 7.91 secondes / square-one : 1.07 minutes

Offline ClrDraw

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 627
  • Rating: +61/-2
    • View Profile
    • GitHub
Re: Input routine done !
« Reply #3 on: November 05, 2013, 11:20:46 am »
That's really cool  :o is there a maximum number of characters that can be typed?
Visit my GitHub for all my TI programs as well as other projects.
Also check out my website.

Offline nikitouzz

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 215
  • Rating: +22/-1
    • View Profile
Re: Input routine done !
« Reply #4 on: November 05, 2013, 11:33:46 am »
look how call the routine you can choice the nimber of charactere you want call..... ^^ 1 to the limite of the screen ^^
mes records personels :

2x2x2 : 2.18 secondes / 2x2x2 une main : 21.15 secondes / 2x2x2 yeux bandés : 47.59
3x3x3 : 5.97 secondes / 3x3x3 une main : 49.86 secondes
4x4x4 : 1.49 minutes / 4x4x4 une main : 6.50 minutes
5x5x5 : 4.10 minutes / 5x5x5 une main : 18.02 minutes
6x6x6 : 8.10 minutes
7x7x7 : 16.03 minutes
9x9x9 : 58.26 minutes

megaminx : 5.59 minutes / pyraminx : 7.91 secondes / square-one : 1.07 minutes

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Input routine done !
« Reply #5 on: November 05, 2013, 11:51:54 am »
What if we make the box wider than the screen? :P

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline nikitouzz

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 215
  • Rating: +22/-1
    • View Profile
Re: Input routine done !
« Reply #6 on: November 05, 2013, 12:08:27 pm »
If the size is <256 i thinks that you can drawn over the screen but if it's >256....
mes records personels :

2x2x2 : 2.18 secondes / 2x2x2 une main : 21.15 secondes / 2x2x2 yeux bandés : 47.59
3x3x3 : 5.97 secondes / 3x3x3 une main : 49.86 secondes
4x4x4 : 1.49 minutes / 4x4x4 une main : 6.50 minutes
5x5x5 : 4.10 minutes / 5x5x5 une main : 18.02 minutes
6x6x6 : 8.10 minutes
7x7x7 : 16.03 minutes
9x9x9 : 58.26 minutes

megaminx : 5.59 minutes / pyraminx : 7.91 secondes / square-one : 1.07 minutes