56 posts
Posted 27 July 2013 - 09:06 AM
Well because advanced monitors can be placed on the ground now, wouldn't it be really cool to have a monitor_walk event, I don't know how easy it is to program(java wise), and I searched this in the bar and nothing came up. I think it would be amazing and you could make some pretty cool stuff, like you could know your location in your house, then a turtle could follow you around or something, computers and turtles would still be blind, and it would require a lot of programming but it would be really neat.
I apologise if someone has suggested this and I have not found it.
Ps:I know there is a way to detect what block a player is standing on, but I have no other idea XD Want to get into very basic modding soon though
1114 posts
Location
UK
Posted 27 July 2013 - 09:55 AM
hmm… interesting idea!
2447 posts
Posted 27 July 2013 - 11:02 AM
Already planned - but it won't be a separate event. It will be the monitor touch event, when I work out a good way to do do it.
56 posts
Posted 27 July 2013 - 11:13 AM
Woop :D/>
21 posts
Posted 28 July 2013 - 12:25 AM
I put this on the replies on the main page, i guess you put it here, you beat me to it! Nice job
3 posts
Posted 01 August 2013 - 04:17 AM
To add to this a bit. I think the ability to detect mobs on the monitor would be interesting.
3790 posts
Location
Lincoln, Nebraska
Posted 01 August 2013 - 10:54 AM
Detecting mobs would be weird to do. I can see detecting if a mob/player were on it, but distinguishing the two from each other doesn't sound feasable, considering the monitors are only getting a touch event, and nothing else.
997 posts
Location
Wellington, New Zealand
Posted 01 August 2013 - 07:26 PM
Do mobs walking on a monitor currently trigger touch events?
What about players touching the side or bottom of a monitor?
500 posts
Posted 02 August 2013 - 12:07 AM
Will there be an added return value from the monitor_touch event that specifies if it was by hand/foot/player/mob? It would be cool :P/>.
1522 posts
Location
The Netherlands
Posted 02 August 2013 - 06:12 AM
Will there be an added return value from the monitor_touch event that specifies if it was by hand/foot/player/mob? It would be cool :P/>.
I assume this is not going to happen. I think it is going to be your regular monitor_touch event, but then when you are walking on it. And that makes sense, because you actually touch the monitor ;)/>
I think this is kinda confirmed by a post cloudy made here:
Already planned - but it won't be a separate event. It will be the monitor touch event, when I work out a good way to do do it.
3790 posts
Location
Lincoln, Nebraska
Posted 02 August 2013 - 10:27 AM
I highly doubt that there will be any additional values returned by the monitor based on what body part is touching it, or what mob is touching it. It has no way to discern what is touching it, only that it is being touched.
Having it detect what mobs and what body parts are touching it is like giving turtles the ability to detect who is interacting with it, and detecting mobs. It's just not going to happen.
1114 posts
Location
UK
Posted 02 August 2013 - 03:52 PM
Its been confirmed :)/>
I am looking forward to seeing creations made with this, maybe a disco floor which changes colour when you step on it!
1852 posts
Location
Sweden
Posted 04 August 2013 - 03:29 PM
Its been confirmed :)/>/>
I am looking forward to seeing creations made with this, maybe a disco floor which changes colour when you step on it!
Yay! :D/>
I'm going to create a house with only monitors as floors and keep track of where I am so I can have a servant turtle as well as seeing if there are any intruders! :P/> (Even though this is already possible)
18 posts
Posted 14 August 2013 - 11:51 PM
I actually had some neat ideas of what to do with this kind of stuff…
- Dance Dance Revolution!!!
- Turn the lights on only where you are.
- Have your turtles give you your diamond pickaxe and mining turtle using terminal glasses and monitors combined!
- Killing intruders!
- Redirecting terminals to computers near you, while having a single server computer that all your stuff goes to! (Like every computer in your house is actually remote controlling a server.)
- Dropping kittens near you!
But seriously, this would be AMAZING!
220 posts
Location
Germany
Posted 16 August 2013 - 01:20 PM
You are so right! We can make games playable on monitors like never before!
1114 posts
Location
UK
Posted 19 September 2013 - 12:55 PM
Maybe something like
mon.getEntityType(x,y)
would be good?
56 posts
Posted 19 September 2013 - 02:54 PM
I think that is too, precise. You maybe get type of feet or something
1583 posts
Location
Germany
Posted 19 September 2013 - 04:13 PM
Would be coolnto get the name of the user who is walking on it :)/>
3790 posts
Location
Lincoln, Nebraska
Posted 19 September 2013 - 06:47 PM
No. Your touchscreen phone does not know who you are just by your touch. If and when this gets implemented it will not be able to return values like the name of the player, the type of mob, or what you are carrying. It will be a simple, touch screen interface that would be the same as the advanced monitors we already have.
15 posts
Posted 19 September 2013 - 09:34 PM
I've got a system that can get this information, using sensor blocks from OpenPeripherals. I can track multiple players, find their coordinates relative to any connected screens, and even tell where they're looking. This last bit should allow us to know who is responsible for any given monitor_touch event, i.e. the player who is currently looking at (or nearest) the point where it was registered. It implements "monitor_walk" functionality, as well.
331 posts
Posted 20 September 2013 - 04:57 AM
cloudy take a look at the redstone ore coding since it lights up on touch, walk, punch and something else I think
7508 posts
Location
Australia
Posted 20 September 2013 - 05:33 AM
cloudy take a look at the redstone ore coding since it lights up on touch, walk, punch and something else I think
Yes there is a method in Minecraft that gets called when an entity walks on a block, but that is not why he stated "
when I work out a good way to do do it." its not a matter of how to do it in Minecraft, its how to do it in a way that does not spam the event queue, does it accurately (because the method doesn't say where they stepped, only that they stepped), and various other things like where would the entity register, where it first steps? where its foot connects with the block, or the middle of its spread all the time? What about multi feet entities? etc, etc, etc. There is lots of other things to consider before implementing, implementing the basic code Java side with the way MC is designed is dead easy.
1583 posts
Location
Germany
Posted 20 September 2013 - 10:49 AM
No. Your touchscreen phone does not know who you are just by your touch. If and when this gets implemented it will not be able to return values like the name of the player, the type of mob, or what you are carrying. It will be a simple, touch screen interface that would be the same as the advanced monitors we already have.
what's about the iPhone 5? It can detect your fingerprint and compare them with a saved one. then it know who you are :D/>
7508 posts
Location
Australia
Posted 20 September 2013 - 10:52 AM
what's about the iPhone 5? It can detect your fingerprint and compare them with a saved one. then it know who you are :D/>
That is not the screen, that is a secondary device, like a player detector in MiscPeripherals.
3790 posts
Location
Lincoln, Nebraska
Posted 20 September 2013 - 11:03 AM
At any rate, any features that the floor or ceiling monitors would have would not give ANY more features than the ones on the walls with the exception of detecting that something is walking on it, and it WILL be a monitor_touch event, just like if you click on the screen. They're not different peripherals people, they're just facing a different way.
126 posts
Location
The Netherlands
Posted 21 September 2013 - 12:14 PM
wouldn't it be better if it were called "monitor_step" ?
7508 posts
Location
Australia
Posted 21 September 2013 - 12:42 PM
wouldn't it be better if it were called "monitor_step" ?
No. And this is why.
At any rate, any features that the floor or ceiling monitors would have would not give ANY more features than the ones on the walls with the exception of detecting that something is walking on it, and it WILL be a monitor_touch event, just like if you click on the screen. They're not different peripherals people, they're just facing a different way.
882 posts
Location
Behind you.
Posted 25 September 2013 - 12:12 PM
Grand idea on how to do the Java work:
When the player touches it trigger the event.
If the player's location hasn't moved a magnitude of 0.1 within the last tick, don't trigger the event
If the player has moved, but is now undetectable, don't trigger the event.
8543 posts
Posted 25 September 2013 - 12:40 PM
Looks like this discussion is well past its useful/interesting prime. Locked.