congratulations on your creation, I applaud you, now ... need to create a wireless keyboard XD
0
[SMP] [MC 1.2.5 | CC 1.33 / 1.41] Touch Pen v 1.11 - Touch your Monitors
Started by xuma202, Jul 22 2012 12:45 PM
peripheral
28 replies to this topic
#21
Posted 20 September 2012 - 04:41 AM
#22
Posted 10 October 2012 - 11:48 PM
the toche moneter is cool but it lookes hared to do so but in thes codenets functionAwesomeness()
reader = you
while true do
if reader = you then
reader = Matrixmage
else
Awesomeness()
end
end love the ide (/undo up 12down 123)
reader = you
while true do
if reader = you then
reader = Matrixmage
else
Awesomeness()
end
end love the ide (/undo up 12down 123)
#23
Posted 11 October 2012 - 01:09 AM
saul, on 10 October 2012 - 11:48 PM, said:
the toche moneter is cool but it lookes hared to do so but in thes codenets functionAwesomeness()
reader = you
while true do
if reader = you then
reader = Matrixmage
else
Awesomeness()
end
end love the ide (/undo up 12down 123)
reader = you
while true do
if reader = you then
reader = Matrixmage
else
Awesomeness()
end
end love the ide (/undo up 12down 123)
#24
Posted 20 October 2012 - 01:26 AM
thesbros, on 11 October 2012 - 01:09 AM, said:
saul, on 10 October 2012 - 11:48 PM, said:
the toche moneter is cool but it lookes hared to do so but in thes codenets functionAwesomeness()
reader = you
while true do
if reader = you then
reader = Matrixmage
else
Awesomeness()
end
end love the ide (/undo up 12down 123)
reader = you
while true do
if reader = you then
reader = Matrixmage
else
Awesomeness()
end
end love the ide (/undo up 12down 123)
He's been sending me crazy messages with next to no grammar, if you notice, that code he posted is my signature, it's like some weird stalking thing...
#25
Posted 20 October 2012 - 06:05 AM
Would it be possible to recode the touch events so that they are equal to the new advanced computer's click events?
#26
Posted 20 October 2012 - 09:26 AM
I haven't looked into the new stuff in version 1.45 since I'd been on vacation for the last 10 days. But I'm guessing the click events return the row and column of the character that has been clicked right? - If so:
I've already thought about this from the beginning on but it seemed hard for me translating the coordinates 0-1 for each Block to character positions. Since would have to search for the offset values and the sizes of the characters in all font sizes and also the character spacing. But I can look into the code of CC 1.45 and maybe get some inspiration.
I've already thought about this from the beginning on but it seemed hard for me translating the coordinates 0-1 for each Block to character positions. Since would have to search for the offset values and the sizes of the characters in all font sizes and also the character spacing. But I can look into the code of CC 1.45 and maybe get some inspiration.
#27
Posted 20 October 2012 - 04:18 PM
^^
Update: I've tried different stuff again and the offset is easy it is 2 pixels and there are 16 pixels on 1 block so the offset is 0.125.
Now I'd only need the the exact with/height of a character. I've tried to use the values from term.getSize() but these values are not exact since there only fit 27 chars in one row but there still is some space to the border on the right hand side.
I'm sure that it's possible to find these values somewhere in the code of cc but I'm not talented enough to do so. If anyone knows the with and height of the characters in all cc font sizes please tell me.
Update: I've tried different stuff again and the offset is easy it is 2 pixels and there are 16 pixels on 1 block so the offset is 0.125.
Now I'd only need the the exact with/height of a character. I've tried to use the values from term.getSize() but these values are not exact since there only fit 27 chars in one row but there still is some space to the border on the right hand side.
I'm sure that it's possible to find these values somewhere in the code of cc but I'm not talented enough to do so. If anyone knows the with and height of the characters in all cc font sizes please tell me.
#28
Posted 20 October 2012 - 08:23 PM
saul, on 10 October 2012 - 11:48 PM, said:
the toche moneter is cool but it lookes hared to do so but in thes codenets functionAwesomeness()
reader = you
while true do
if reader = you then
reader = Matrixmage
else
Awesomeness()
end
end love the ide (/undo up 12down 123)
reader = you
while true do
if reader = you then
reader = Matrixmage
else
Awesomeness()
end
end love the ide (/undo up 12down 123)
Spoiler
#29
Posted 26 November 2012 - 10:09 AM
So,it's like a smartboard(I have one of those in nearly every class except strings and P.E)?
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users