Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Zit

Pages: [1] 2 3
1
?????? ???????? / Re: ????????? ????????? ??????????????!!!
« on: February 25, 2010, 05:08:10 PM »
Quote

2
Quote
fake sources
LOL

3
?????? ???????? / Re: ???????????????? ???????????? ????????????
« on: January 22, 2010, 07:55:07 PM »

4
?????? ???????? / Re: ?????????? ???????? ???????????????!!!!!
« on: January 05, 2010, 06:05:37 AM »
Quote

5
Technical forum / Re: WME 1.9.0.1 (Kinjal Edition, v1.4)
« on: December 31, 2009, 09:08:00 AM »
These changes were tested only a developer?

6
???????????????? ???????? / Re: ?????? ????? ?? ??????????. ?????
« on: December 20, 2009, 03:40:50 PM »

7
???????????????? ???????? / Re: ?????? ????? ?? ??????????. ?????
« on: December 20, 2009, 03:31:22 PM »
Code: [Select]
var palki = new Array();
palki.Push(Scene.GetNode("palka-1"));
palki.Push(Scene.GetNode("palka-2"));
palki.Push(Scene.GetNode("palka-3"));
Code: [Select]
on "LeftClick"
{
//Game.LOG("LeftClick");
lastX = Game.MouseX;
lastY = Game.MouseY;
var x;
var y;
var w = 84; // ???????? ?????????????, ??? ?????????, ?????????? ?? ??? ???????????????????????? ????-?????? Width/Height
var h = 43; // ????????? ?????????????
var node;
var i=0;
var l=palki.Length;
dragIndicator = -1; // ????????
while (i<l && dragIndicator==-1) {
node = palki[i];
x = node.X;
y = node.Y;
if (lastX > x && lastX < x + w) {
if (lastY > y && lastY < y + h) {
dragIndicator = i; // ?? ??????? ????? "i+1", ???? ?????, ?????????, ??????????? ????????????
}
}
i = i + 1;
}
}
Code: [Select]
on "LeftRelease"
{
//Game.LOG("lr");
dragIndicator = -1;
}
Code: [Select]
var my = Game.MouseY;
var my = Game.MouseY;
var mx = Game.MouseX;
if (dragIndicator>-1 && lastY != my && lastX != mx) {
movePalku(dragIndicator, my - lastY, mx - lastX); // ??????????????? ?????????
checkConditions(); // ???????????, ????????????? ???????? ???????? ??? ????????
lastY = my;
lastX = mx;
}
Code: [Select]
function movePalku(ind, offsetY, offsetX) {
var newY = node.Y + offsetY;
var newX = node.X + offsetX;
// ???? ?????????? ?? ???????????? ????????????, ?????? ????????? ????? ???????????? ??? ?????????? ?????? ???????????
// if (newX<50 || newX>1024-50) return;
var node = palki[ ind ];
node.Y = newY;
node.X = newX;
}
Code: [Select]
while (kolvoPalokNaNujnomMeste<3) { ... }
Code: [Select]
function checkConditions() {
kolvoPalokNaNujnomMeste = 0;
var needX = new Array(100, 200, 300); // ????????????????????? ?????????? ?????????????????? ?????????????? ??????????, ?????????? ? ????????? ???????
var needY = new Array(100, 200, 300); // ?????????????????
var node;
for (var i=0; i<3; i=i+1) {
node = palki[i];
if ( Math.Abs( needX[i] - node.X ) < 5 && Math.Abs( needY[i] - node.Y ) < 5 ) {
kolvoPalokNaNujnomMeste = kolvoPalokNaNujnomMeste + 1;
}
}
}
Code: [Select]
this.X = this.X * -1;

8
???????????????? ???????? / Re: ???????????? ?? ?????? ????????????
« on: December 19, 2009, 01:16:22 PM »

9
???????????????? ???????? / Re: window + string.tab
« on: December 12, 2009, 05:49:29 PM »

11
???????????????? ???????? / Re: window + string.tab
« on: December 12, 2009, 04:48:49 PM »

12
???????????????? ???????? / window + string.tab
« on: December 12, 2009, 04:40:50 AM »

13
???????????????? ???????? / Re: WME 1.9.0.1 (Kinjal Edition)
« on: December 10, 2009, 09:17:36 PM »
Quote
Ну, мне эти лицензии ни о чем не говорят.
жесть, даже с бесплатным софтом жить не умеем. причем не качать из торрентов платное ПО мозгов хватило, а как просто исходники выложить, так нет: "моё, моё, никому не дам" :) [удалено модератором]

14
???????????????? ???????? / Re: ??????????? ?????????
« on: November 30, 2009, 12:18:06 AM »

15
???????????????? ???????? / Re: ???????? ???????
« on: November 30, 2009, 12:11:47 AM »

Pages: [1] 2 3

Page created in 0.221 seconds with 22 queries.