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 - Xeda112358

Pages: 1 ... 199 200 [201] 202 203 ... 317
3001
TI Z80 / Re: Grammer Run
« on: October 23, 2011, 09:31:44 pm »
I don't seem to fall until I go above the screen :/

3002
TI Z80 / Re: Grammer Run
« on: October 23, 2011, 09:28:50 pm »
Yes, i tried that and it also leaves behind a trail from the sprite (like in the first screenie).

3003
TI Z80 / Re: Grammer Run
« on: October 23, 2011, 09:26:19 pm »
It still don't fall D:  press second and I go up, but I never fall back down D:

3004
Grammer / Re: Grammer 2-The APP
« on: October 23, 2011, 09:20:16 pm »
Wow, cool ideas! for a 4x4 circle, you can just do something like this:
Code: [Select]
ClrDraw
Line(0,1,2,4,2
Line(1,0,4,2,2

And Bejeweled would be neat, but I don't think I could do that XD Connect 4 however...

3005
TI Z80 / Re: Grammer Run
« on: October 23, 2011, 08:55:15 pm »
Okay, cool! I can't wait, it looks cool! At first I thought I messed up Grammer, then I realised that you said it might not be typed right XD

3006
TI Z80 / Re: Grammer Run
« on: October 23, 2011, 07:29:44 pm »
Gimme a few minutes, I'll get a screenie :)

EDIT: it doesn't work D:
EDIT2: Also, I should post in the readme that creating TempProgs for data is preferred to appvars or programs because TempProgs get automatically deleted when the program is finished, freeing up the memory again :)

3007
Grammer / Re: Grammer 2-The APP
« on: October 23, 2011, 04:10:31 pm »
Feature request:
is there a way so we can use loops within the argument of commands, like:
If Pxl-Test(B+11, For(A,1,7):A:End)
Hmm, I can try to add the seq( command, then. That would do something similar. It might be an ideal notation for algorithms, too..
Also, I think I want to add a For(' command that doesn't modify a var but executes a number of times. For example, For('100 would execute a loop 100 times (this is just an idea)
Another feature request:
Sprite widths of multiples of 4 instead of 8, considering that's how hex works.  I want to clone Tetris and I want more compact codes instead of C0C0C0C0C0C0C0C0... etc.
Hmm, I like the idea, but I am not sure if/when I will add it. However, that did remind me of some features to add...
For example, you guys know how there are custom font hooks and parser hooks in TI-BASIC? What if I did something similar for Grammer? I would try to make sure Assembly programers and Grammer programmers could set Grammer hooks. I was planning on doing this months ago, but I forgot! I even have the fontset enabled to be easily swapped out by a custom one.


Also, just for those who are interested, I plan to add a text mode that lets you draw ASCII... This is mostly because there are chars in the grammer fontset not normally available >.>

3008
TI Z80 / Re: Partex 2
« on: October 23, 2011, 04:00:55 pm »
Whoah, this looks awesome!  I better go back in time and notify everybody about it :trollface:

What kinds of particles are you planning to support?
:D I saw that topic earlier and decided "I have to post a topic before somebody else!"
And I am not sure what particles will eventually be included. I might need to change the number of bytes each particle uses, too, but that won't destroy backwards compatibility :)

3009
TI Z80 / Re: Grammer Tetris
« on: October 23, 2011, 03:47:40 pm »
So you have a way to make sure the block doesn't go through another block? Then you can probably use a series of pxl-Test( in a for loop to test if a line is complete. If the shape was 2 blocks tall, you only need to test those two rows.

Use the same idea for checking if you lose :)

As for shifting blocks down, I am not sure how that will work :/ I know I could whip up some code in Grammer, but it would be a little complicated and use several buffers.

EDIT: Okay, here is the complicated piece code I was talking about XD It took some thought, but I figured it out :)
Code: [Select]
Send(768,"VGBuf→K
37696→J
Lbl "SD→I

<<code>>

.SD
Disp K
ClrDraw
Line(X,Y,H-4,W,1
Fill(10,J
Fill(13,J
Tangent(4,1
Fill(13,J
Disp J
Line(X,Y,H,W,0
Fill(9,K
End
The shifting code is at .SD
The inputs to that subroutine are:

X and Y are the upper left coordinates of the place to begin shifting at
H and W are the height and width of the region to shift down
K points to a 768-byte buffer
J points to the main buffer (usually the graph buffer)
I hope that helps!

3010
Grammer / Re: Grammer 2-The APP
« on: October 23, 2011, 03:14:52 am »
Always the first, aren't you? XD I hope it is all in working order now :)

3011
TI Z80 / Partex 2
« on: October 23, 2011, 03:13:47 am »
So the Grammer coders are probably familiar with Partex (or at least the screenies) by now, but it is turning into some cool stuff, I think. So, this is  why I am posting it here. It is a slow moving project (there won't be 3 updates a day XD ), but it is one that will probably continue for a little bit. Right now, it is like a powder toy. You can do basic pixel drawing and particle dropping, but it is pretty fun!

Right now the controls are:
Arrows are for movement (including diagonal)
[mode] exits
[Clear] freezes all pixels on the screen, permanently
[Alpha] clears all drawing
[2nd] draws a pixel on
[del] draws a pixel off
+/- toggles between particles
[ / ] pauses the particles
[ * ] unpauses the particles

One nice thing is that this program is 314 bytes, so if you have the app version of Grammer, this is really doable! And with the latest app version, you can even keep Partex archived!

3012
Grammer / Re: Grammer 2-The APP
« on: October 22, 2011, 10:49:36 pm »
Thanks, DJ!

And for the folks that have been waiting for it, here is an update :)
Here are two downloads, the first is prgmGRAMMER that is intended for those who intend to have the Grammer APP on their calc. What it does is call the APP, in order to interpret the program (pretty much, it replaces the program version of Grammer if you have the app using only 57 bytes).

The second is the next version of the Grammer App. It now installs a parser hook that allows you to run Grammer programs from the homescreen, even if they are archived.

As another note, I fixed a bug I found :) The particle system still used some SMC that I forgot to get rid of, so it wouldn't change particle types. Now it works fine :)

Please note that subprograms and whatnot must still be in RAM. Also, is there a token I should add that lets the user copy a program or appvar to RAM? I don't mean Unarchiving it, I mean copying, say, prgmPROG from archive to prgmFROG in RAM.
Spoiler For Controls for Partex 2:
Arrows move the cursor (including diagonals)
[Enter] drops particles
[Clear] freezez particles permanently
[ / ] freezes particle movement temporarily
[ * ] unfreezes particle movement
[ + ] sets particles to "boiling"
[ - ] ses particles to "sand"
[2nd] sets pixels on
[DEL] sets pixels off
[Alpha] clears the screen

3013
Grammer / Re: Grammer 2-The APP
« on: October 22, 2011, 05:54:58 pm »
Actually, Repeat loops are different from While loops. Repeat loops check the condition after executing the loop and While loops check the condition before executing the loop.

3014
Grammer / Re: Grammer 2-The APP
« on: October 22, 2011, 08:41:57 am »
Hmm, Are you using the very latest version? I don't believe I have a sprite program in the latest one.... In any even, here is an example that I just whipped up that works:
Code: [Select]
.0:Asm(prgmGRAMMER     ;Still using this for later versions
Lbl "SPRITE→Z
0→X
→Y
Repeat A=15
Pt-Off(10,Z,Y,X,1,8
DispGraph
Pt-Off(10,Z,Y,X,1,8
Repeat A
getKey→A
End
X+A=3
-A=2
If >88
X
→X
Y+A=1
-A=4
If >56
Y
→Y
End
Goto Lbl "Stop
.SPRITE
3C4281818181423C
.Stop
Stop

I hope that helps, I must go for a while, so good luck!

3015
Grammer / Re: Grammer 2-The APP
« on: October 21, 2011, 02:04:28 pm »
Okay, well I am about to head to class and then directly after I get to go to a math conference (out of state), so I probably won't be able to do much until late tomorrow or the next day, but I will try to get that up and running, too! The first version won't be compatible with other apps, probably

Pages: 1 ... 199 200 [201] 202 203 ... 317