Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / Crashing

Author
Message
HELP WIHT ME 2d game!!!
22
Years of Service
User Offline
Joined: 17th Aug 2003
Location:
Posted: 24th Dec 2005 18:37
Whenever i implement ym "Hands" function, when i run my program, it opens up and closes real fast. Also, is there a way to get the coordinate of the middle a sprite, i am trying to make hands that cant go away from teh sprite too far, liike madness combat.
Grog Grueslayer
Valued Member
21
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 24th Dec 2005 21:55
The source doesn't work for people in a newbie slap. Put your code in code snips (theres a button above the area we type text you can press too).

[ code ]
Your code here.
[ /code ]

Just take out the spaces between the brackets and it'll look like this:



You can change where the sprite is centered with the "offset sprite" command. Look it up in the help files under Commands, Sprite Commands.


Zergei
21
Years of Service
User Offline
Joined: 9th Feb 2005
Location: Everywhere
Posted: 25th Dec 2005 01:04
Quote: "is there a way to get the coordinate of the middle a sprite"


Try the following...

Login to post a reply

Server time is: 2026-06-12 23:24:44
Your offset time is: 2026-06-12 23:24:44