Author Topic: Features Wishlist  (Read 691245 times)

0 Members and 2 Guests are viewing this topic.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #2835 on: December 15, 2011, 07:47:50 pm »
idk if it's possible or not, but can you add a "hittest" for object-object(sprites)?

That's already super simple to do with Axe, there really isn't any reason to make a specific function to do the math for you.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Features Wishlist
« Reply #2836 on: December 15, 2011, 09:57:54 pm »
may I ask how to do so? D:
or is it the one that messes with back buffer?
Sig wipe!

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Features Wishlist
« Reply #2837 on: December 15, 2011, 10:17:10 pm »
Just collisions??
What I've always done was
If abs(X-A)<8
If abs(Y-B)<8
.when object X,Y and object A,B collide
End
End

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Features Wishlist
« Reply #2838 on: December 15, 2011, 10:18:56 pm »
not that collision. I mean "interaction" between different objects.
Sig wipe!

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Features Wishlist
« Reply #2839 on: December 15, 2011, 10:22:02 pm »
I knew it would be something more complicated then just collision :P

Like physics and stuff with colliding? In that case, ask the physics guru :p




Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Features Wishlist
« Reply #2840 on: December 16, 2011, 12:25:45 am »
Can there be an option to make pxl-test() return a one instead of zero when it is out of bounds?
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline leafy

  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1554
  • Rating: +475/-97
  • Seizon senryakuuuu!
    • View Profile
    • keff.me
Re: Features Wishlist
« Reply #2841 on: December 16, 2011, 12:40:43 am »
Can there be an option to make pxl-test() return a one instead of zero when it is out of bounds?
Frey wouldn't it just be easier to check if the coordinates are outside of the bounds of the screen first?

I'm in favor of a really optimized scrolling tilemapper routine, but I'd like to see some more of these agressive ops :P
In-progress: Graviter (...)

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Features Wishlist
« Reply #2842 on: December 16, 2011, 01:04:50 am »
Can there be an option to make pxl-test() return a one instead of zero when it is out of bounds?
Frey wouldn't it just be easier to check if the coordinates are outside of the bounds of the screen first?

I'm in favor of a really optimized scrolling tilemapper routine, but I'd like to see some more of these agressive ops :P
Bounds checking is built in to the routine, and it'd be a trivial matter to change it from returning a 0 to returning a 1
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: Features Wishlist
« Reply #2843 on: December 16, 2011, 02:38:03 am »
Maybe auto-backup for libraries.
And includes
If you like my work: why not 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: Features Wishlist
« Reply #2844 on: December 16, 2011, 06:55:35 am »
Can there be an option to make pxl-test() return a one instead of zero when it is out of bounds?
Frey wouldn't it just be easier to check if the coordinates are outside of the bounds of the screen first?

I'm in favor of a really optimized scrolling tilemapper routine, but I'd like to see some more of these agressive ops :P
Bounds checking is built in to the routine, and it'd be a trivial matter to change it from returning a 0 to returning a 1
Yes, but that would not allow backwards compatibility to everyone who already uses 0 as the value returned by objects out of bounds in their code.
Like leafy said, it'd be easier to check first and then pixel test.

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Features Wishlist
« Reply #2845 on: December 16, 2011, 02:40:18 pm »
Bounds checking is not built into the routine anyway.  In fact, it uses modular checking meaning that pxl-Test(300,10) will test the same pixel as pxl-Test(44,10).  Technically, behavior outside the screen is considered undefined and could change in future versions.  But due to the way it optimizes, I'm 99% sure it will stay the same as it is now.
___Axe_Parser___
Today the calculator, tomorrow the world!

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: Features Wishlist
« Reply #2846 on: December 16, 2011, 02:42:32 pm »
Maybe auto-backup of archived programs.

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

Offline Camdenmil

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 121
  • Rating: +4/-0
    • View Profile
Re: Features Wishlist
« Reply #2847 on: December 17, 2011, 06:27:36 pm »
What about support for the crystal timers?
It is bad luck to be superstitious.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #2848 on: December 17, 2011, 06:29:03 pm »
What about support for the crystal timers?
Sounds like an excellent candidate for an Axiom ^^

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Features Wishlist
« Reply #2849 on: December 17, 2011, 08:05:59 pm »
A  sprite command that would treat black as transparent and white as solid. Perhaps it could be called Pt-Black()?
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!