Be a Supporter!

How do i create walls!?!?!

  • 397 Views
  • 11 Replies
New Topic Respond to this Topic
BanzayozokyJ
BanzayozokyJ
  • Member since: Dec. 13, 2006
  • Offline.
Forum Stats
Member
Level 05
Blank Slate
How do i create walls!?!?! 2006-12-18 09:57:01 Reply

Hod do i create walls????

BanzayozokyJ
BanzayozokyJ
  • Member since: Dec. 13, 2006
  • Offline.
Forum Stats
Member
Level 05
Blank Slate
Response to How do i create walls!?!?! 2006-12-18 10:07:56 Reply

HOOOOOOOOOOOOOOOOOOOOOOOOOOOW????

Re2deemer
Re2deemer
  • Member since: Nov. 3, 2005
  • Offline.
Forum Stats
Member
Level 13
Blank Slate
Response to How do i create walls!?!?! 2006-12-18 10:11:38 Reply

You...draw them....


BBS Signature
Basset-Hound
Basset-Hound
  • Member since: Oct. 16, 2005
  • Offline.
Forum Stats
Member
Level 08
Melancholy
Response to How do i create walls!?!?! 2006-12-18 10:13:58 Reply

You take a couple of bricks then take some cement.
After that you make a wall with the bricks and cement :)

BanzayozokyJ
BanzayozokyJ
  • Member since: Dec. 13, 2006
  • Offline.
Forum Stats
Member
Level 05
Blank Slate
Response to How do i create walls!?!?! 2006-12-18 10:17:05 Reply

No in flash!

Re2deemer
Re2deemer
  • Member since: Nov. 3, 2005
  • Offline.
Forum Stats
Member
Level 13
Blank Slate
Response to How do i create walls!?!?! 2006-12-18 10:22:33 Reply

You draw them using the tools Flash has.


BBS Signature
BanzayozokyJ
BanzayozokyJ
  • Member since: Dec. 13, 2006
  • Offline.
Forum Stats
Member
Level 05
Blank Slate
Response to How do i create walls!?!?! 2006-12-18 10:23:13 Reply

how do i stop my char acter from running of the level?!?!

BanzayozokyJ
BanzayozokyJ
  • Member since: Dec. 13, 2006
  • Offline.
Forum Stats
Member
Level 05
Blank Slate
Response to How do i create walls!?!?! 2006-12-18 10:29:08 Reply

At 12/18/06 10:23 AM, BanzayozokyJ wrote: how do i stop my char acter from running of the level?!?!

how do i stop my char acter from running of the level?!?!

Re2deemer
Re2deemer
  • Member since: Nov. 3, 2005
  • Offline.
Forum Stats
Member
Level 13
Blank Slate
Response to How do i create walls!?!?! 2006-12-18 10:34:49 Reply

OK, enough of fooling around with you. Take a deep breath and explain what your problem is.


BBS Signature
BanzayozokyJ
BanzayozokyJ
  • Member since: Dec. 13, 2006
  • Offline.
Forum Stats
Member
Level 05
Blank Slate
Response to How do i create walls!?!?! 2006-12-18 10:39:48 Reply

I am creating a game,a fish game. But i don't want it to swim of the screen so how do i create walls around it?

UnknownFury
UnknownFury
  • Member since: Aug. 10, 2005
  • Offline.
Forum Stats
Member
Level 26
Programmer
Response to How do i create walls!?!?! 2006-12-18 11:07:44 Reply

At 12/18/06 10:39 AM, BanzayozokyJ wrote: I am creating a game,a fish game. But i don't want it to swim of the screen so how do i create walls around it?

onClipEvent(enterFrame){
if(this._y>400) {
this._y=400;
}
if(this._y<0) {
this._y=0;
}
if(this._x>550) {
this._x=550;
}
if(this._x<0) {
this._x=0;
}
}

change 550 for the width and 400 for the height of you game. It is probally not that accurate.

H3
H3
  • Member since: Dec. 18, 2000
  • Offline.
Forum Stats
Member
Level 21
Blank Slate
Response to How do i create walls!?!?! 2006-12-18 12:47:50 Reply

But that on the fish movieclip, slightly modified

onClipEvent(enterFrame){
if(this._y>Stage.height) {
this._y=Stage.height;
}
if(this._y<0) {
this._y=0;
}
if(this._x>Stage.width) {
this._x=Stage.width;
}
if(this._x<0) {
this._x=0;
}
}