Vicu's Forum Posts

  • I heard that CC dont work with variables like %appdata%\. But in object Path, i foun a expression "Get App Data"... It may to be a path to %appdata%\. But anyway the file isnt created in this directory...

    I even tried to make some file in "C:\". But file is no create... I think may its a problem with Profile rights on Windows?

    Try it on ur PC: http://yadi.sk/d/hwonDIBi8WZ52

  • Wow. thx!

  • In AAA games the save files isnt are in the same folder wich is game. Save are in users - documents. But in XP and Vista/7 there is a different folders, what is in Win8 i don't know...

    Look example:

    WinXP saves will be in:

    C:\Documents and Settings\%USERNAME%\Application DataBut for WinVista/7 its:

    C:\Users\%USERNAME%\AppData\Roaming

    Its possible in CC?

  • Here i used x and y separate and it works fine, thanks.

    http://c2community.ru/forum/download/file.php?id=1290

  • Yah... Its a problem of Construct, he cant compare a vectors(sprite.xy)... So i just need to use sprite.x and sprite.y separated.

    Or someone can compare vectors?

  • Thancks Jay Jay, will try... On times i maked this example: http://yadi.sk/d/LjHWzafY8LfrL

    But equaliti between an vectors work bad on CC, or i doing something wrong? Beacuse text never is STOPPED. But we see that coord are equals.

  • Just know only x and y position. Nothing more.

    How to know, that if sprite is not moving 2-3 seconds? And if its true -then destroy it.

    U dont know animation or anithing other, just x and y position.

  • Hah, tulamide Thank u very much!!! Luv u!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • So, i deleted from my projects all levels but no intro. There is this events. There is a problem.

    Look .cap: http://rghost.ru/48330505

    Please help me. I will put your name in titres, game is now completed. But this bug(((

  • <img src="http://radikal.ua/data/upload/05615/4efc3/630b1e6aa1.png" border="0" />

    Look a screen of events. A problem event is seted.

  • I think its a bug of Construct. I creating a game. I used an technicue for fullscreen. When in my project was 40 levels fullscreen was work good. But now, when i have 50 level its crash. But layout with a fullscreen event wasnt touched.

    So i use this system for fullscreen:

    start of layout - ->system: set dysplay (SysInfo.GetScreenWidth, SysInfo.GetScreenHeight)

    But when i use this game crash, and give a abnormal program termination, runtime error.

    Its a bug of Construct because befor last ten levels all works fine, but when i created this levels i wasnt touch a layout with this events.

    If someone want help, i can give a .cap file in PM. Thanks.

  • [TUBE]http://youtu.be/K3DReyk5Ki4[/TUBE]

    Astrology 2

  • I do it!

    So I used objects Window and SysInfo.

    For limitation i Used:

    If m&k.absmousex < sysinfo.getscreenwidth-370 then m&k set mouse x to sysinfo.getscreenwidth-370;

    If m&k.absmousex > sysinfo.getscreenwidth+250 then m&k set mouse x to sysinfo.getscreenwidth+250;

    {250 and 370 its a number setted by me}

    For stopping a mouse i used:

    if global('stopped') = 1 then:

    trigger one : global('mx') to m&k.absmousex

    always : m&k set x to global('mx')

  • I found a plugin Input Sytem. It may to be a solution. I need this action:

    On mouse axe X + : sprite set x position to .x+1

    On mouse axe Y - : sprite set x position to .x-1

    Anyone can creat a .cap for me?

  • I'm creating an arkanoid game. I need two functions:

    • to stop a mouse moving
    • to limitate it between two coordinates

    I mean, not a sprite with mouse position, I need it for Mouse.

    Something like:

    M&K set mouse X to: clamp(mousex, 30, 650),

    but this isnt work((

    May its possible with Python?