c13303's Recent Forum Activity

  • I'm trying to tell in another way:

    Foreach Insect :

    • If Insect.hungry = 1
    • - Pick Up the Nearest Insect (who is not the same, and fit to its taste)

    So far : it's good, I got Insect (the victim) and Insect(0) (the predator)

    PROBLEM:

    How do I update the predator ?

    If I make some changes to Insect, that will use the victim.

    If I pick up the predator by UID, it doesn't work, probably because i'm in the Loop "foreach Insect" ..

    There's a basic thing I don't get, if someone can tell me any method to do what I'm trying to do, it will be greatly appreciated.

    BONUS SUGGESTION : that would be awesome to get some aliases, like in mysql, like :

    • Pick up Insect.hungry = 1 as Predator
    • - Pick up nearest Insecte (not me, etc) as Victim

    Predator.target_uid = Victim.uid

    What do you think ?

    Cheers

    Charles

  • Hi,

    I got this : scirra.com/forum/pin-one-sprite-to-another-of-the-same-type_topic46515_post291421.html

    This is working. But here's a particular case I don't get, and since it's happening very often, there must be something I don't get !

    A screenshot of the case :

    <img src="http://ardkor.info/uploaded/C2.jpg" border="0" />

    As you can see, I got 2 instances of "Insecte", first one is chasing the other.

    So far, I can have Insecte(0) and Insecte(1), displaying correct UID.

    But for some reason, once I've reach Insecte(1), I can't change values from Insecte(0).

    I've tried another approched (the disabled code in the end) with an external value to pick up the Instance but it doesn't work ...

    Can you help me ?

    Thanks a lot

  • Maybe this can help ? scirra.com/manual/163/line-of-sight

  • " I would like to prevent enemies from overlapping each other when they attack the Player."

    I currently have a similar problem ! I tried to set them as "solid" as well but it doesnt work, they don't "bounce" or avoid each other and they overlap.

  • thanks for your answer. Actually it makes the problem unsolvable (at 6FPS there will be a slide effect if we can't put movement at same framerate) so we decided to change the whole animation method and have a 25FPS+ animation.

  • Hi there,

    Still on my point'n'click, working with a graphic designer.

    We're using fancy graphics with basic traditionnal animation.

    We're using 6 fps animation.

    Problem now, is that the movement of my game appears to be 60fps so it makes a wrong slide movement when walking.

    I'm using Pathfinder for the movement, I've read tons of stuff on Delta Time but I can't figure out how I can limit the movement to 6FPS since I can only tweak its speed.

    Is there a way to cap the whole project to 6 FPS ?

    Thanks for helping me.

    Charles

  • Yes that should work thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • okay I figured out so here's the solution if it happens to someone (and maybe it's fixable)

    I got 2 monitors and I reversed their position meanwhile. So the "add event" window wasn't in range apparently and caused the program to freeze.

  • Hi,

    I just click on "add event", and Construct 2 freeze.

    I need to go in Task Manager and kill Construct 2.

    Whatever the project I'm working on, even a blank one.

    Operating system: Win 7 64bits ultimate SP1

    Construct 2 version:

    r139,

    r145 same issue

    How it started :

    So far Construct 2 was perfectly working ! My project was going well.

    Then I've done a 2 weeks pause on this work.

    Then I launch Construct 2 again, and always freeze when click on "add event"

    Desinstalled, reinstalled the software

    Updated to latests version, to try

    Still the same bug.

    It looks like this closed bug (but no reason given, no fix)

    scirra.com/forum/add-Event-crashes-construct-2_topic51498.html

    What can have changed on my computer before and after the bug ?

    Graphic Drivers have apparently been updated (Nvidia geforce 9800GT)

    I may have installed a few games.

    I hope we can figure this out, there's an important project inside

         <img src="smileys/smiley9.gif" border="0" align="middle" />

    This bug is very weird ..

    Thanks for your help ..

    Best

    CHarles

  • Hi, I got exactly same issue here with Construct 2 Release r139

    uninstalled / reinstalled

    Freeze on "add event" (the window popup does not show)

    Tt was working great before. I was working on a big project, then I made a 2 weeks pause.

    What may have changed on my computer ?

    I may have installed a few games, maybe a graphic drivers update has occured. (Nvidia, geforce 9800GT)

    I hope this will be quickly fixed, the project can't go on :/

  • Thanks for your reply there�s nice information i didnt know.

    The preloading choice is good news, since we have the choice I can find a compromise. (Like preloading the sounds of the scene only)

    But you�re right the RAM stuff may be quite problematic so thanks for the warning. I really thought that it would play mp3 as sound clips. Voice clips may be mono (and music stereo) so I ll do some tests and, well, we�ll see. Maybe I can hope some update in the meantime ? ^^

    Regards,

    Charles

  • So with a little more thinking I find out that XML parsing and loading shouldnt be a problem.

    So im thinking about making my .csv file and a php script to XMLize it, then I would be able to load it into my game with ajax.

    scirra.com/manual/107/ajax

    scirra.com/tutorials/328/using-project-files-in-construct-2

    scirra.com/tutorials/354/xml-parsing

    Then put it into array so I can access any reference anytime.

    Any "pro" advice or alternative ways on the subject welcome however <img src="smileys/smiley1.gif" border="0" align="middle" />

c13303's avatar

c13303

Member since 1 Sep, 2013

None one is following c13303 yet!

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies