14 posts
Posted 23 October 2012 - 10:50 PM
OK, I want to make it where if I collide with an object it will be it, tag basically, and there will be a variable to say who's it at the top right of the screen like in a text box how do I do this?
EDIT- Any resources would be great to.
2088 posts
Location
South Africa
Posted 24 October 2012 - 12:24 AM
Don't think you can do that.
14 posts
Posted 24 October 2012 - 12:35 AM
:sadface:
2005 posts
Posted 24 October 2012 - 01:06 AM
We may not be clear on what you mean. Are you trying to code a game that would be played on the console screen? So the collision would be between your "avatar" on the console screen and some other element displayed on the screen?
There is a simple "Hurdles" program in Programs that uses basically this kind of mechanic, as well as that one game that comes with core CC, Snake or Worm or whatever. Making it so that your "avatar" didn't enter the space occupied by the other element but rather marking the element as having been collided by the player isn't too difficult. But you might mean something else entirely.
14 posts
Posted 24 October 2012 - 01:37 AM
Are you trying to code a game that would be played on the console screen?
Yes
So the collision would be between your "avatar" on the console screen and some other element displayed on the screen?
Basically yes but with another avatar(player)
2005 posts
Posted 24 October 2012 - 04:02 AM
Oh, so it's multiplayer? That could be fun. Anyway, it should be possible. Just use the collision mechanics of those other games but instead of killing the player or the "food" you just change the value that designates who is "it".
2088 posts
Location
South Africa
Posted 24 October 2012 - 08:29 AM
Oh I thought you were talking about your actual player in Minecraft ^_^/>/>
2005 posts
Posted 24 October 2012 - 08:51 AM
Yeah, it sorta sounded like he was, but I thought that wasn't too likely.
14 posts
Posted 25 October 2012 - 02:09 AM
Sorry for the confusion.