lamar's Recent Forum Activity

  • That scale feature is a bit wonky. I remember using the first few times trying to use decimal numbers and nothing fit. It only works with whole numbers or you get strange results

    That may be causing problems with paralaxes if they are not in multiples of 8 bits. You might resize them to a multiple of 8 and see if that works?

  • I don't

    Well that is your first step because I can't very well explain how to do a climbing action if you don't have a sprite with that animation.

    Here is a free sprite with a climbing animation you can download to practice with:

    http://opengameart.org/sites/default/files/NinjaAdventure.zip

    Get your sprites all set up in separate animations and then tomorrow PM me and I will help you set it up to climb.

  • When user touches sprite for second time I want to stop execution of that event[from first touch] and start over.

    Use a global variable as a trigger.

    Global variable Trigger = 0

    Main event:

    Do something:

    On Trigger =1

    Sub event:

    Wait so many seconds:

    On Trigger =0

    On Sprite touched: Set Trigger =1

    Trigger = 0

    On Sprite touched: Set Trigger =0

    Trigger = 1

    You can use global variables in sub events to trigger only certain actions just like you can for main events.

  • You do not have permission to view this post

  • cheers but ialready tried destroying sprite and creating again via click on the X sprite. even tried to allocate image by UID but seems apply to sprite globally. and whenever I recreate the sprite it comes back with the same image. thanks again for any help

    OK but I didn't tell you to destroy the sprite.

    I said use a pinned sprite as a trigger to change just the image in that sprite. You have to have the other image loaded for the change to work.

    Best of luck!

  • Multiply your paralax by 4 and they should fit?

    Scale by 3 is 480x4=1920

    Scale by 3 is 270x4=1080

  • Sounds like you would have to create a sprite called delete and pin it to your sprite and call that event when you click on that delete sprite to reload the previous image?

  • Is there any way you can elaborate? I'm sorry I'm completely new and still learning

    Do you have a sprite that has a climbing animation to use?

  • I send u PM

    OK I looked over your capx and you are using a custom movement with Sine and it is that sine that is causing the problem.

    I sent you a PM with the CAPX fixed. I created a ceiling sprite to detect when your player is at the ceiling. When player overlaps the ceiling I change the angle of motion in your custom movement to 90 degrees which is down and change speed to 100 so player just bobbles along at the ceiling. You can change that speed to suit what you want and make that sprite invisible.

    No more stuck player. Pretty cool game!

  • Is there any way you can elaborate? I'm sorry I'm completely new and still learning

    Hold on a little while and I will do a quick example capx.

  • I've had similar error messages when I click undo or redo too quickly. Now I'm careful to not click them too fast.

    I don't know if it was fast but I had deleted the sprite from the layout and then from the entire capx and then added in some more events and global variables before I decided I needed that sprite back.

    I think there was some conflict between the events I added that could not be undone as it would delete a global variable and the two error messages jammed.

    Luckily I had saved just before that so no big loss and I probably could have clicked ignore and went on but I didn't want it showing up later and crashing the game.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes and I use it all the time.

    You need an animation with the player facing the wall and climbing. Set it to looping.

    Global variable Climb = 0

    You need a blank sprite that the player will jump and collide with to trigger them to climb.

    On Player collides with climbsprite: set animation player to climb, set climb=1

    On climb=1: move player 1 pixel at 270 degrees

    You need a way to turn off climb and another blank sprite works.

    On Player collides with climbstop: set climb = 0

lamar's avatar

lamar

Member since 11 Feb, 2014

Twitter
lamar has 8 followers

Connect with lamar