Author Topic: Grammer 2-The APP  (Read 161321 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 #240 on: February 26, 2012, 10:26:45 am »
Crap, I need to update my signature and first post .___. The latest is a few posts ago: http://ourl.ca/13558/286889
EDIT: Eh, never mind, here is a minor update that fixes a bug in pixel testing (when you use Fix 16, I forgot I broke it) and I found out that I forgot to update augment( to work with my other changes, so now it works :)

Offline Jonius7

  • python! Lua!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1918
  • Rating: +82/-18
  • Still bringing new dimensions to the TI-nspire...
    • View Profile
    • TI Stadium
Re: Grammer 2-The APP
« Reply #241 on: February 26, 2012, 03:54:02 pm »
Good job Xeda! Grammer shall now be greatly accessible to everyone!
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist ;)
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler For Extra To-Be-Sorted Clutter:

Spoiler For Relegated Projects:
TI-nspire BASIC
Battle of 16s (stalled) | sTIck RPG (stalled) | Monopoly (stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God (stalled while I go and learn some Axe)

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 #242 on: February 26, 2012, 03:57:04 pm »
:D I also took the advice of kindermoumoute and made a topic like Axe's for just updates :)
http://ourl.ca/15327

Offline Jonius7

  • python! Lua!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1918
  • Rating: +82/-18
  • Still bringing new dimensions to the TI-nspire...
    • View Profile
    • TI Stadium
Re: Grammer 2-The APP
« Reply #243 on: February 26, 2012, 03:57:36 pm »
Yes I have seen that. It's good that it has that, now that Grammer is becoming so major. I shall try your block eater asap!
« Last Edit: February 26, 2012, 04:00:00 pm by Jonius7 »
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist ;)
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler For Extra To-Be-Sorted Clutter:

Spoiler For Relegated Projects:
TI-nspire BASIC
Battle of 16s (stalled) | sTIck RPG (stalled) | Monopoly (stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God (stalled while I go and learn some Axe)

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 #244 on: February 26, 2012, 04:01:01 pm »
Awesome, I hope you enjoy it :D I already have added an enemy that chases you o.o

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 #245 on: February 29, 2012, 09:41:45 pm »
This is kind of a prerelease that includes the still faulty pxl-Test( change. It will be a while before I can get back to work on it, so I will give these tips:
It currently does not properly pixel-test regions one pixel wide.
It automatically quits if it is out of bounds on the left and top (otherwises, it resizes the region which will not happen in the final version).

So to use it, pxl-Test('X,Y,H,W,0 (that is a zero). It will return the number of set pixels on the perimeter. This is also so that I can release my Gravity Jump program ^_^

(It also can have an optional argument for the buffer to test on)

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 #246 on: February 29, 2012, 09:55:15 pm »
where does H and W start from?
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 #247 on: February 29, 2012, 10:01:46 pm »
Height and width start at 1 and go to 96 and 64, respectively, sorry.

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 #248 on: February 29, 2012, 10:03:33 pm »
oh. I was thinking that it was based on sprites... XD
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 #249 on: February 29, 2012, 10:05:08 pm »
No, the arguments are pretty much the same as the Line( command. I was originally going to add this as a rectangle option, actually.

Offline nxtboy III

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 795
  • Rating: +26/-1
  • NXT!
    • View Profile
    • Program NXT
Re: Grammer 2-The APP
« Reply #250 on: March 01, 2012, 09:36:45 pm »
Kind of a random question, but in a grayscale grammer game would you use Pxl-Test for collisions?

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 #251 on: March 01, 2012, 10:08:50 pm »
You can do that and the pixel test command will let you check the buffers. For example, you can make your sprite on the black layer detect only collision on the gray layer (so it can go through anything else on the black layer). I made a program earlier that had fire on the gray as the "background" while a box bounced around the screen (also leaving a trail of fire on the gray layer). I added some code so that I could stop the fire and bouncing to watch the gray fire XD


Offline nxtboy III

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 795
  • Rating: +26/-1
  • NXT!
    • View Profile
    • Program NXT
Re: Grammer 2-The APP
« Reply #252 on: March 01, 2012, 10:11:54 pm »
Oh, cool! So using another buffer is the only way?
Is that how a grammer platformer would work?

EDIT: Sorry I'm such a newbie, but can Grammer have multiple threads/tasks?
« Last Edit: March 01, 2012, 10:14:14 pm by nxtboy III »

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 #253 on: March 01, 2012, 10:18:33 pm »
Kind of, but things like interrupts still need work and are buggy. Still, you can program it to perform several tasks, but I have made plans in the past to add multiple threading officially :)

As a platformer example, take a look at this that I posted yesterday (also in grayscale with collision detection):
http://ourl.ca/15386

Offline nxtboy III

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 795
  • Rating: +26/-1
  • NXT!
    • View Profile
    • Program NXT
Re: Grammer 2-The APP
« Reply #254 on: March 01, 2012, 10:44:03 pm »
Is there a way to have a game where the colliders (platforms) are gray?