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.


Topics - p2

Pages: 1 2 [3]
31
Axe / How to write that in Axe?
« on: June 26, 2011, 01:47:53 pm »
How to write the following Code in Axe?
I have no idea because there are only decimals.
{⌊A(1),⌊A(2)} is Point 1
{⌊A(3),⌊A(4)} is Point 2
Point 1 will follow Point 2 (always with steps of 1Pxl)
Code: [Select]
√((⌊A(1)-⌊A(3))²+(⌊A(2)-⌊A(4))²)→⌊A(5)
For(X,0,1,1
⌊A(1+X)-(((⌊A(1+X)>⌊A(3+X))-1)/2)abs(⌊A(1+X)-⌊A(3+X))/⌊A(5)→⌊A(1+X)
End
I hope everyone will understand this Code.

32
Miscellaneous / German programmers??
« on: June 25, 2011, 12:17:30 pm »
Who is from Germany?
I've met many persons who speak a bit German, but they all were Dutch, French or English, or somethung else. (?>B)?)

IS THERE ANYONE ELSE FROM GERMANY??

33
TI-BASIC / Where's the mistake?
« on: June 22, 2011, 09:11:22 am »
Hi everyone :) This is the brother of p2... Im called p1  ;)
This morning, my brother came to me and asked me for helping him at programming a BASIC program where a line of length 10 turns around till it points on a position on the screen marked with a single pixel. I then had the idea to not letting the "snake" turn around but walking a curve. My brother didnt want to program it, so I sat down and did it. This is the result... but it doest do what i want it to do: I want it to directly walk to the dot, but not like going on a linear path: it has to walk on a curve (like a car has to), till facing the aim, and then walking towards it. As soon as it gets in a defined near to the dot, this is teleported to another position on the screen. The snake turns a round till the point is in its direction and then walks to it again.

34
General Calculator Help / Creating APPs
« on: June 20, 2011, 05:13:00 am »
I've heard that I can create APPs of BASIC-programms with basicbuilder.
I made it but it was no .8xk-file (TI-APP). It was a .hex-document.
Then I've read that I can convert this into an APP with TI83+ Flash debugger.
It was an APP, but on the virtual TI in Flash Debugger. :mad:
I've tried to export the APP, but now I've got a .clc and a .83d (TIConnect Graph Database)
I can't open these files.  :banghead:

How to create an APP of this?

35
TI Z80 / Is that possible?
« on: June 18, 2011, 12:07:44 pm »
My game idea was Cut the Rope for TI (as an APP).

Spoiler For Picture:
wouldn't it be possible to program Cut the Rope as an APP for the TI?
I'm thinking of using up, down, left and right to point and 2nd to cut a rope. But Omnom should be animated. (Omnom is the green, hungry animal in the game)

But my question is, wherthe it would be possible to do that.
I'm not sure because in Cut the rope every physicalic things must be perfectly programmed and it must be possible to cut many ropes at the same time.

But would it be theoretically possible to make that with Axe??
I'm not sure.



36
Axe / Converting this in Axe-Language
« on: June 17, 2011, 06:51:18 am »
Is it possible to wrire the following Code in Axe language?
I want to make an APP of it, but don't think it would be possible.


Code: [Select]
:Lbl 2
:randInt(iPart(Xmin),iPart(Xmax))→A
:randInt(iPart(Ymin),iPart(Ymax))→B
:mean({Xmin,Xmax})→X
:mean({Ymin,Ymax})→Y
:Lbl 1
:Pt-On(X,Y
:Pt-On(A,B
:If A≥Xmax or A≤Xmin or B≥Ymax or B≤Ymin:Goto 2
:A→P
:B→Q
:If X>B:1→Z
:If X>B:-1→Z
:If Y>A:1→V
:If Y>A:-1→V
:A+Z→A
:If (Y-B)=0:B+1→B
:B+Vabs(((X-Z)-A)/(Y-B))→B
:If √((A-P)²+(B-Q)²)≥200:Goto 2 //200 is how long a streak could be (max.)
:Line(A,B,P,Q
:Goto 1


If you want to know what this program is doing, pleas copy the code on your TI.
I can't describe it in English.  :-\


But Is it possible to write it in Axe Language?

37
TI-BASIC / Goto a Lbl which is a var
« on: June 15, 2011, 08:49:21 am »

FIRST QUESTION:
     Is it possible to use the Goto( command, but not as Goto( 1
     I mean if X is 2, it will be Goto( 2 and if X is 7, it will be Goto( 7

SECOND QUESTION:
     Is it possible to combine the Goto( command with a String?
     For Example:    If Str1="AB" it will be Goto( AB and if Str1="B4" it will be Goto( B4

Is One ot them possible?

38
Axe / Commands for Axe
« on: June 15, 2011, 05:11:08 am »
What should I write in a BASIC-program instead of the following commands, if I want to create an APP of it (Wint Axe) ??

randInt(1,5)→X

{1,2,3,4,5}→L₁

sub("ABCDEF",3X-2,3)→Str1

iPart(X)+abs(Y)→Z

For(X,1,20,1)
End

dim(L₁)→A

39
General Calculator Help / Sound in BASIC-programs
« on: June 14, 2011, 11:36:41 am »
If I want to create a BASIC-Program, which should contain sound, I'll have to use Axe.

BUT how to create a program with sounds, if it should run on a TI-84+ without any special APPs, too?  ???

Maybe I need to sent 2 PRGMs to another TI:
One BASIC-program and one ASM-subprogram
(Michael Lee has told me that)

But I've never learned ASM-programming, just Basic.  :banghead:

40
Introduce Yourself! / Hello!
« on: June 11, 2011, 01:09:35 pm »
Hi everybody.

I'm p2
I've been programming BASIC for a few jears.

I'm from Germany so my English sometimes isn't the best. :-\
Hope, I'll understand all of you.
(I'm programming on my TI, but I ust the APP Deutsch, so all commands are in German. So don't wonder if I write strange things!)


p2




http://armorgames.com/play/553/the-fancy-pants-adventure-world-2

Pages: 1 2 [3]