maddle's Forum Posts

  • 9 posts
  • Thank you Pixel,

    You did very well but to be honest this is beyond my skills! it seems you got the logic and a bit of Math knowledge ! which i don t have.Everybody need to know that the guys from Namco who did this game where absolutly genious.Pac man is not a simple game , it need a foxy approach.I like the idea to check wether or not there is a wall or not in any direction and that the ghost do not systematicaly engage in a free space but in a random way(i can t find the process of this randomness).i think from there it could be possible to make a kind a chazing mode.I m 3d artist and not a coder , i just know a bit of python.I m going to decrypt this code line by line until i understand the way you came to this.

    questions:why you did not use the grid object ?

    Do you think with more tools in construct it could be simpler ? if yes which kind of tools

    do you think there is another way to accomplish this ?

    Thank you from the community for your remarquable help and kindness.

    M.

  • Hi think it s genious !! but yes ! please explain it !! could be so cool for the community !!

    thanks a lot

    ps: do you have any idea how to fix the floor(random(4))*90 expression ?

    THX

  • Hi Stantor , i think the problem is that when ghost collide the old value is erased.What we need is to store the old value somewhere before contact and then compare it within the random expression.But i ve no idea how to do that.In python you can store and keep a value as a list ,a tuple or dictionnary.

    Could be nice if Ashley can give us a hand.

    Regards

    I ve seen you Pac man Wip and yes you need grid control.I ll have a look .

  • thank you Stantor , but your example doesn t work , the Ghost still pass trought the blocks !!

    .In fact i understand the idea to test the condition :

    While the new randomized Angle equal the one before collision continue to shuffle angle !

    In fact : pick any angle but the last one before collision.

    Simple !

    but still doesn t work !! does it work for you ?

    THX

  • Sure i did but i don t understand how the while function works.For me you can pseudo code somethong like this :

    while Sprite.x<640 then add 1 to Sprite.X

    I hope we will get some easy tutorials like pac man or space invaders to understand the logic.

    I will work harder on this Beauty Soft until i understand it .

    Thank Ashley and please keep on the good work !!

  • here what i did from your help . i really don t understand how construct works.

    http://files.filefront.com/Pac+man+2cap/;13036336;

  • Thank you stainsor, could you show me a cap example because i still don t understand the logic in this system , in fact i dont know where to put these information, is it sub event of collision ? how can i compare a private variable and a global ?

    thank you sir

  • Hi i m tryng to make a basic ghost movement for a Pac man style game.i know i m doing wrong with my logic, coould anyone have a look ?

    EXCUSE MY ENGLISH

    tHX

    http://files.filefront.com/Pac+mancap/;13035504;/f

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi thank you for this master piece of software !! and excuse my english( i m from Paris)

    i m trying to control a sprite using Python scripting.how can i call the keyboard function ? for now , if i want to rotate a sprite , i use :

    if MouseKeyboard.KeyDown(R):

    Sprite.Angle=Sprite.Angle+1

    but it doesn t seems to work !

    what i m doing wrong ?

    Thx

  • 9 posts