Sign in to follow this  
Followers 0
blublub

pixelserch help

4 posts in this topic

if i use PixelSearch function and recive lets say $arr[0] and $arr[1] and then i want to use them but arr[1] has to be by a +100 pixels changed how can i do that ?

Share this post


Link to post
Share on other sites



if i use PixelSearch function and recive lets say $arr[0] and $arr[1] and then i want to use them but arr[1] has to be by a +100 pixels changed how can i do that ?

I'm not sure if it will work, but you could try to write a line just like:

$arr[1] = $arr[1] + 100

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

tried it dosnt work and tried smt like this

$arr[1]=$x

$y=$x+100

and then use the $y like an array but types dosnt match nubmers and cordinations ive got problem with these

Edited by blublub

Share this post


Link to post
Share on other sites

I'm not sure if it will work, but you could try to write a line just like:

$arr[1] = $arr[1] + 100

eh sry tried that one more and now it works or it seems to

had to misstype something before

thx for help :D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0