Author Topic: Grammer  (Read 98451 times)

0 Members and 1 Guest are viewing this topic.

Offline awalden0808

  • LV3 Member (Next: 100)
  • ***
  • Posts: 55
  • Rating: +6/-0
  • Cool shades, wears Waldo.
    • View Profile
Re: Grammer
« Reply #105 on: October 09, 2011, 09:20:08 am »
Oh... That makes sense. However when I copy the code from the program you gave me and put it into the moving sprite program I just get a jumbled sprite. I even made it really simple and drew one pixel in the 8th column of the sprite, and copied the code (>DMS???????) (???'s are just three question marks. Silly emoticons...), and got the jumbled picture. For some sprites I draw they come up with something that looks similar to the sprites I drew.  By similar I mean there's a slight resemblance to the smiley face I drew, but it definitely would not get me an A if it were an observational drawing of said smiley face in art class.  :banghead:
« Last Edit: October 09, 2011, 09:21:15 am by awalden0808 »
I'll apologize tomorrow for a bad mood today.

Spoiler For Spoiler:
My Qualifications:

I did a thing once.
I am known for my ability to focus intently on things that distract me from my actual work.
To me, the letter a stands for absolute. B stands for bemusement. C stands for circumlocution, and D stands for decoupage.
If I were president, I would give everyone Xboxes, computers, and national healthcare.
I am also known for my ability to write more than I actually need to write. Unless of course it is necessary that I write a lot. Then I write a little bit.

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Grammer
« Reply #106 on: October 09, 2011, 09:51:08 am »
Okay, well you might like this update that I just threw together then :) (And I am sure you won't be the only one to like this!)

Now, when using the Pt-On( or Pt-Off( command, if you want to use hex data, you simply add 8 to the method. For example, to draw using the overwrite method, use a value of 8. So here is an example using a circle:
Code: [Select]
.0:Asm(prgmGRAMMER
Lbl "SPRITE→Z
Repeat A=15
Pt-Off(10,Z,Y,X,1,8             ;Draws an inverted circle
DispGraph
Pt-Off(10,Z,Y,X,1,8             ;Re inverts the circle
getKey→A
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 this proves to be useful!
EDIT: Oops, better upload the program :-[

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Grammer
« Reply #107 on: October 09, 2011, 09:53:02 am »
hehe. Should really learn this.
I'm not a nerd but I pretend:

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: Grammer
« Reply #108 on: October 09, 2011, 10:28:21 am »
Maybe i'll try out some day. :)

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

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Grammer
« Reply #109 on: October 09, 2011, 10:36:07 am »
(>DMS???????) (???'s are just three question marks. Silly emoticons...)
Hey awalden, and welcome to Omnimaga.
If you don't want part of your post to use emoticons you can just type [nobbc] and [/nobbc] around it.
Ex:
Code: [Select]
[nobbc]???[/nobbc]???

@Xeda: Grammer's updates are looking amazing. :D

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Grammer
« Reply #110 on: October 09, 2011, 10:42:08 am »
Thanks! I was discussing on IRC a few days ago about adding grayscale >.> I don't know if I will add it, but I hear people like it <.<

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: Grammer
« Reply #111 on: October 09, 2011, 10:43:51 am »
Grayscale would be awesome! That is one of the things I really like when programming on the ti. :)

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

Offline awalden0808

  • LV3 Member (Next: 100)
  • ***
  • Posts: 55
  • Rating: +6/-0
  • Cool shades, wears Waldo.
    • View Profile
Re: Grammer
« Reply #112 on: October 09, 2011, 12:12:37 pm »
Alright.  That's perfect.  I think part of the problem might have been that I didn't put Lbl in front of "SPRITE->D. :-\

Thanks!!!

Now... what to do with this new ability...
I'll apologize tomorrow for a bad mood today.

Spoiler For Spoiler:
My Qualifications:

I did a thing once.
I am known for my ability to focus intently on things that distract me from my actual work.
To me, the letter a stands for absolute. B stands for bemusement. C stands for circumlocution, and D stands for decoupage.
If I were president, I would give everyone Xboxes, computers, and national healthcare.
I am also known for my ability to write more than I actually need to write. Unless of course it is necessary that I write a lot. Then I write a little bit.

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: Grammer
« Reply #113 on: October 11, 2011, 08:01:27 am »
I got a feature Idea: drawing rectangles! :)

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

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer
« Reply #114 on: October 11, 2011, 08:04:53 am »
it already has it: Line(x1,y1,height,width,style), I think
EDIT:
Quote from: Grammer Command List
Line(
This is used to draw rectangles. The syntax for this command is:
Line(x,y,Height,Width,Method
x is a value from 0 to 95 and is the x pixel coordinate to begin drawing at
y is a value from 0 to 63 and is the y pixel coordinate to begin drawing at
Height is a value from 1 to 64 is the number of pixels tall the box will be
Width is a value from 1 to 96 is the number of pixels tall the box will be
Method is what kind of fill you want:
0-White. This turns off all of the pixels of the rectangle
1-Black. This turns on all of the pixels of the rectangle
2-Invert. This inverts all of the pixels of the rectangle
3-Black border. Draws a black perimeter not changing the inside
4-White border. Draws a white perimeter not changing the inside
5-Inverted border. Draws an inverted perimeter not changing the inside
6-Black border, White inside.
7-Black border, Inverted inside.
8-White border, Black inside.
9-White border, Inverted inside.
I needs array support
« Last Edit: October 11, 2011, 08:06:54 am by yeongJIN_COOL »
Sig wipe!

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: Grammer
« Reply #115 on: October 11, 2011, 08:17:31 am »
Ok, thanks. I got a different problem, I wanted to test grammer and so i wanted to make a simple program, but it gives a error when executing. The code is:
Code: [Select]
:.0:Asm(prgmGRAMMWE
:
:
:Line(1,1,20,10,1
:
:
:Stop
Grammer is in RAM, when running that program it gives ERR:INVALID

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

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer
« Reply #116 on: October 11, 2011, 08:23:06 am »
First, change it to prgmGRAMMER.
Second, add DispGraph after Line. ;)
« Last Edit: October 11, 2011, 08:23:12 am by yeongJIN_COOL »
Sig wipe!

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: Grammer
« Reply #117 on: October 11, 2011, 08:24:29 am »
I meant GRAMMER, just typed in accedently wrong! :P Well, it still doesn't work, it jumps to the first line if I press goto error

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

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer
« Reply #118 on: October 11, 2011, 08:25:53 am »
is the first line .O or .0?
If it is 0, it shouldn't give you a problem. ???
« Last Edit: October 11, 2011, 08:26:28 am by yeongJIN_COOL »
Sig wipe!

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: Grammer
« Reply #119 on: October 11, 2011, 08:26:25 am »
The number zero

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