Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
Axe
(Moderator:
Runer112
) »
The pxl-Test( command
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: The pxl-Test( command (Read 5307 times)
0 Members and 2 Guests are viewing this topic.
hellninjas
LV7
Elite (Next: 700)
Posts: 625
Rating: +17/-0
The pxl-Test( command
«
on:
November 20, 2011, 03:30:23 pm »
This is a command that has been bugging me for a bit...
I need to make a (test) game that allows the player to jump around on a field (which I can do)...
But I can't get the collisions correct!!
This Pxl-Test( command is the newest thing that im learning...
Could someone give me a good explanation on how or where to use this?
Thanks!
Logged
annoyingcalc
LV10
31337 u53r (Next: 2000)
Posts: 1953
Rating: +140/-72
Found in Eclipse.exe
Re: The pxl-Test( command
«
Reply #1 on:
November 20, 2011, 03:32:16 pm »
pxltest detects pixels near what ever variable you put ex pxl test x+1,y) if your sprite was 1 pixel it would detect if there was a pixel on next to it
Logged
This used to contain a signature.
hellninjas
LV7
Elite (Next: 700)
Posts: 625
Rating: +17/-0
Re: The pxl-Test( command
«
Reply #2 on:
November 20, 2011, 03:33:40 pm »
My pixel is a stick figure about 8 pixels in height and 5 pixels in length, how would this be written out?
Logged
annoyingcalc
LV10
31337 u53r (Next: 2000)
Posts: 1953
Rating: +140/-72
Found in Eclipse.exe
Re: The pxl-Test( command
«
Reply #3 on:
November 20, 2011, 03:38:22 pm »
pixeltest x+5( I believe)and y depends on where you want it to detect
0 copy this and put a 1 where you want it to be detected (this is the last line of your sprite)
0
0
0
0
0
0
0
Logged
This used to contain a signature.
hellninjas
LV7
Elite (Next: 700)
Posts: 625
Rating: +17/-0
Re: The pxl-Test( command
«
Reply #4 on:
November 20, 2011, 03:39:33 pm »
0 copy this and put a 1 where you want it to be detected (this is the last line of your sprite)
0
0
0
0
0
0
1 -This being where his foot is, the rest is to the left
Logged
saintrunner
Custom Spriter: You ask it! I'll Make it!
LV10
31337 u53r (Next: 2000)
Posts: 1787
Rating: +115/-11
Flogging Molly
Re: The pxl-Test( command
«
Reply #5 on:
November 20, 2011, 03:55:19 pm »
:(pxl-test(x+8,y+8) or pxl-test(x+3,y+8))
thats what you want, if your sprite has the bottom right foot on the bottom corner of the sprite box
edit:can I see your sprite?, what is the hexcode?
«
Last Edit: November 20, 2011, 03:55:44 pm by saintrunner
»
Logged
My
Sprites
Thread :Updated often
for your viewing pleasure
GAMES:
Spoiler
For
Spoiler
:
:
Caedes
[On Hold]
:
Legend of Zelda: Link to the Future
:
Seeker
:
POGO Dark/Light
:
Zoom
:
Mario Shotgun
hellninjas
LV7
Elite (Next: 700)
Posts: 625
Rating: +17/-0
Re: The pxl-Test( command
«
Reply #6 on:
November 20, 2011, 03:58:58 pm »
[1C141C080C081C22]->Pic0MR Man facing right...
[1C141C0818081C22]->Pic0ML Man facing left...
Logged
saintrunner
Custom Spriter: You ask it! I'll Make it!
LV10
31337 u53r (Next: 2000)
Posts: 1787
Rating: +115/-11
Flogging Molly
Re: The pxl-Test( command
«
Reply #7 on:
November 20, 2011, 04:09:15 pm »
ok I posted a mini little tutorial in the forums
Logged
My
Sprites
Thread :Updated often
for your viewing pleasure
GAMES:
Spoiler
For
Spoiler
:
:
Caedes
[On Hold]
:
Legend of Zelda: Link to the Future
:
Seeker
:
POGO Dark/Light
:
Zoom
:
Mario Shotgun
Print
Pages: [
1
]
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
Axe
(Moderator:
Runer112
) »
The pxl-Test( command