Hi
I'm making a game where you pull something off a wall and it appears at your feet.
An example is you pull something off a tree and it appears at the src's location
can anyone help?
--Mrbunny
ID:166888
Jun 2 2006, 12:41 am
|
|
Jun 2 2006, 1:08 am
|
|
Maybe like this, i don't know
|
In response to Evidence
|
|
Yo thanks man but
equipment.dm:3: Inconsistent indentation. equipment.dm:4: Inconsistent indentation. equipment.dm:6: Inconsistent indentation. equipment.dm:7: Inconsistent indentation. equipment.dm:9: Inconsistent indentation. equipment.dm:10: Inconsistent indentation. equipment.dm:11: Inconsistent indentation. equipment.dm:12: Inconsistent indentation. equipment.dm:12: Inconsistent indentation. New Game.dmb - 9 errors, 0 warnings (double-click on an error to jump to it) any advice? |
In response to Mrbunny88
|
|
Don't copy and paste, lol. And also i was just giving an example, that code might not even work. Just learn from the example.
|
In response to Evidence
|
|
kk soz
that helped me a bit anyway coz sum1 who's more advanced about boding helped |
In response to XzDoG
|
|
ye i know not to use space bar im not that bad
|
atom/movable/var/grabbable=FALSE I think that might work. I just edited it for (hopefully) greater readability, but have not compiled it for syntax errors. To use, just set any grabbable object's "grabbable" variable to 1, like so: obj/apple |
In response to PirateHead
|
|
Pirate, if I may ask, why do you always ... Well, spend 15 minutes on a code someone is bound to use, yet fail to understand? Or do you want to confuse them? I'm lost here. o.o
|
In response to Mysame
|
|
He might enjoy programming, like many others do.
Although, a little explanations and some comments would be nice to whom he's showing it. O-matic |
In response to Mysame
|
|
A lot of times, when I write something like that, I bookmark it and come back to it later to stick it into my own projects.
I admit that I get kinda carried away on occasion. That procedure turned out to be a lot more sophisticated than I intended it to be at the outset. Let me rewrite it a little. I'll add some more whitespace, comments, etc, so that maybe you can follow it better? It's really a pretty simple layout. Here's another thing to think about: when I write code, I try to write it not only for the person who requested it, but also for the people who (I hope) will find it in the future. Christie (I get the name right?) is pretty new, and probably can't follow that. But, somebody else looking for "grabbable objects" in the future might get more from it. |
In response to PirateHead
|
|
PirateHead wrote:
Here's another thing to think about: when I write code, I try to write it not only for the person who requested it, but also for the people who (I hope) will find it in the future. Christie (I get the name right?) is pretty new, and probably can't follow that. But, somebody else looking for "grabbable objects" in the future might get more from it. Bingo; If the answer was only good for one person, it might as well be a private submission system where people can 'answer' you directly without anyone else being able to see. One of the great advantages of forums is that, over a given length of time you'll probably accumulate a lot of 'know-how' on the forums that people can search through for answers. Now, as to how often people use the Search function, thats a slightly different story and topic ;) |
In response to PirateHead
|
|
Hey thnx for this mite be a bit confusing but ill give it a try
|