Author Topic: Grammer 2-The APP  (Read 162789 times)

0 Members and 2 Guests are viewing this topic.

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 2-The APP
« Reply #165 on: December 29, 2011, 10:01:27 am »
Hehe, and maybe a new level of difficulty...?

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 2-The APP
« Reply #166 on: December 29, 2011, 10:39:27 am »
yeah, and first of all fix some bugs, e.g. the figure falls more slowly when you hold down any key.

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

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 2-The APP
« Reply #167 on: December 29, 2011, 10:48:01 am »
Yeah, I tried fixing that myself when you let me optimise it, but I couldn't figure out a good way to do that :/

Actually, I have an idea: Have it so that in the Repeat loop, when you press down it sets the timer to the maximum. (or is it 0?)

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer 2-The APP
« Reply #168 on: December 29, 2011, 12:23:00 pm »
I don't know if this is bug or not, but just leave it if it is because it's really cool. :D

prgmA0
Code: [Select]
.0:
.A
ClrDraw
Text(0,0,"HI
DispGraph
End
Stop

prgmA1
Code: [Select]
.0:
solve(0,"EA0","VTEMP
prgmLbl "A
Stop

Archive A0 and run A1, and it works.
« Last Edit: December 29, 2011, 12:29:02 pm by TBO_Yeong »
Sig wipe!

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 2-The APP
« Reply #169 on: December 29, 2011, 01:46:05 pm »
Erm, that is not intentional in the least and I believe what it is doing is finding the RAM of the program (it isn't erased when archived).

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer 2-The APP
« Reply #170 on: December 29, 2011, 01:53:49 pm »
Erm, that is not intentional in the least and I believe what it is doing is finding the RAM of the program (it isn't erased when archived).
I actually got the idea(code) when I found out that when I forget to put "Stop" on Grammer program, it just "jumps" to next program in line. :P
Sig wipe!

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 2-The APP
« Reply #171 on: December 29, 2011, 07:52:06 pm »
:P
In any event, the safest way is just to do the code I showed. You can do some really neat things, though, like jumping to labels in other programs.

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 2-The APP
« Reply #172 on: December 31, 2011, 10:25:11 pm »
In response to continued requests, I have a mini update that has full clipping for rectangles. I hope it works the way you would like it to!

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 2-The APP
« Reply #173 on: January 07, 2012, 09:55:42 am »
* Sorunome downloads :)

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

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 2-The APP
« Reply #174 on: January 07, 2012, 11:22:00 am »
.___. I will say that there are two bugs that I have found and fixed so far for the next update. abs( does not work for negative numbers and in the feature requests thing, the very newest version messes up with solve(0 if the optional arguments aren't used. Well, I will upload that now as a mini update, I guess.

Also, here a screenie of an attempt with grayscale tilemapping


I still need to work on it because there is still some flicker on my actual calc. I am going to experiment with what I have learned from folks like Runer :)

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 2-The APP
« Reply #175 on: January 07, 2012, 11:35:35 am »
* Sorunome had to program a routine that made the same as abs
oh, and downloaded! xD

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

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 2-The APP
« Reply #176 on: January 12, 2012, 11:37:32 am »
Okay, so here is an update :) I cannot remember everything that I have added or fixed, so sorry :/ What I do remember:
Vertical has been fixed. Apparently it is so unused, nobody found that it wasn't working for probably a month or two XD
Pt-On( and Pt-Change have two more tile drawing methods. Method 6 is now Mask and Method 7 is now Gray. The way the sprite data is setup is like this:
First byte is the first drawn layer and the second byte is the second drawn layer.

For Masked sprites, the first layer is the mask. For the mask, leave pixels off where you want the screen erased. The second layer is drawn over top with OR logic.

For Gray sprites, the first layer is the gray layer. Leave pixels on for gray, off for white. The second layer is the black layer. Leave pixels on for black and off for white. So if a pixel is on in the black layer, it will be black. If it is off in both layers, it will be white. If it is on in only the gray layer, it will be gray.

For gray sprites, you will constantly need to redraw it and display the screen to get the effect (otherwise, you will notice the sudden freeze in gray on whatever frame it is on).

As another note, the screenie is about what you should get on your calc (it is what I get).

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 2-The APP
« Reply #177 on: January 12, 2012, 12:04:08 pm »
* Sorunome is the first one to download

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

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 2-The APP
« Reply #178 on: January 13, 2012, 07:37:11 am »
Okay, I am still trying to think of how best to do this, but I have started to make a token hook. The token hook simply changes the names of a few OS tokens while editing a Grammer program. If the program you are editing starts with .0:, the token hook will take hold. This also happens if you put that header on the homescreen >.>

If anybody wants to play with this experimental version, feel free.

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 2-The APP
« Reply #179 on: January 13, 2012, 09:47:31 am »
* Sorunome downlaods.
Now I have to get used to new tolkens xD

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