Ironhustle's Forum Posts

  • 3 posts
  • Hahah good job im working to get to were you are.

    I see you used the graphics from game maker.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks, I actually figured those things out after while of playing around, i just looked in the menu that appears when u add the dot to an object.

    My current dilemma in my ongoing project of trying things out is finding an effective way to make the player unable to move through specific objects (walls).

    Maybe you can help me figure this out too.

    I have set collision masks on both the wall and object.

    Im not using any behavior because i wanted to constrain the player to the layout.

    I just made a group of events like such

    +Movement
      -When Key Up Is Down && Player.Y < 975
          -Save Old Y to Private var
          -Player.Y += 2
      -When Key Up Is Up && Player.Y > 25
          -Save Old Y to Private var
          -Player.Y -= 2
      -When Key Up Is Right && Player.X < 975
          -Save Old Y to Private var
          -Player.Y += 2
      -When Key Up Is Left && Player.X > 25
          -Save Old Y to Private var
          -Player.X -= 2
       When Player is Overlapping Wall
         Player.X = OldX
         Player.Y = OldX
    [/code:17juojze]
    
    But doing that the wall is very rough like i cant go up and down the wall, and occasionally i go into the wall :/. My wall is a 50X 50Y block as a test. :/ Any ideas?
  • I have a few questions that i could not find an answer for.

    How do i use private variables in objects in python?

    When i have something like such

    Monster.Hp -= 1

    I get a nonetype to int error

    Also how do i spawn things using python ive tried a few things but nothing came out.

  • 3 posts