Recent posts by boxmein on Kongregate

Subscribe to Recent posts by boxmein on Kongregate

avatar for boxmein boxmein 6 posts
Flag Post

Topic: Game Programming / Please help me with maze game! (AS2)

Originally posted by boxmein:

The easiest way to make a maze NOT be able to left-click cheat is to make a small dot then make it a MovieClip, reg point center and enter THIS code :

x = mousex

_y = _mousey

Mouse.hide();

onClipEvent(enterFrame) {

if(
root.wall.hitTest(
x, _y, true)) {

_root.gotoAndStop(1)

}

}

The first 2 lines will make the clip follow the mouse

The 3rd line makes the mouse hidden

The last part does : if you touch the wall instanced movieclip by its reg. point, the main frame goes to 1.

Sorry for db but that is _x on the first line.

 
avatar for boxmein boxmein 6 posts
Flag Post

Topic: Game Programming / Please help me with maze game! (AS2)

The easiest way to make a maze NOT be able to left-click cheat is to make a small dot then make it a MovieClip, reg point center and enter THIS code :
x = _mousex
_y = _mousey
Mouse.hide();
onClipEvent(enterFrame) {
if(
root.wall.hitTest(_x, _y, true)) {
_root.gotoAndStop(1)
}
}
The first 2 lines will make the clip follow the mouse
The 3rd line makes the mouse hidden
The last part does : if you touch the wall instanced movieclip by its reg. point, the main frame goes to 1.

 
avatar for boxmein boxmein 6 posts
Flag Post

Topic: Game Programming / Need help on as2 stuff

I am a beginner.
I made a platform game, it works just fine. I wanted to add some collectibles that will change the player’s speed, jump height etc. The problem is that if i enter the code on the player, the collectible won’t disappear or work at all, but if I entered it in the collectible, the vars wouldn’t change.
The SWF is here : http://megaswf.com/view/97e10cd3de14740abbd240ee61d
The FLA is here : http://www.megafileupload.com/en/file/153182/PlatformGame-fla.html

 
avatar for boxmein boxmein 6 posts
Flag Post

Topic: Platform Racing 2 / Inside Jiggmin: Platform Racing 3 Ideas And Info.

Some ideas by me :
1. A new block : One Pass(only passable once)
2. Text-boxes, rectangles andOvals Flash-style in Draw tool.
3. Different hats : able to have 2 hats on at the lobby(at race you can collect 2)

 
avatar for boxmein boxmein 6 posts
Flag Post

Topic: Game Programming / (AS2) HitTests not working? Alternate way?

onClipEvent(enterFrame) {
if (root.instanceName.hitTest(x, _y, true)) {
_root.gotoAndPlay(X)
}
}
Enter this on your movieClip and you’re done. Just change the instanceName and X

 
avatar for boxmein boxmein 6 posts
Flag Post

Topic: Collaborations / I can do handdrawn graphics

I can do hand-drawn graphics for you. My best side is sketch, any needs?
You could invite me into a collaboration, I could be the artist. What about that?
I draw with pencils and felt-pens. If you need art, I draw. Just reply!