Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Yeury

Pages: [1]
Development / Changing Hero on death behavior?
« on: November 04, 2017, 07:25:41 am »
What script handles what happens when the hero dies? Right now what happens is basically the map restarts and my hero's health is restored but I would like to teleport him to another map upon death.

Development / Re: Adding WASD control in tandem with arrow keys
« on: September 25, 2017, 01:34:52 am »
It should be simpler by using game:on_key_pressed/released and calling game:simulate_command_pressed/released() from there.

To avoid the conflict with the D key, just assign the pause command to another key than D.
Hey is there an exact way to reassign D? because I tried assigning P to pause and D to move right but D pauses AND moves right

Development / Re: Issue with doors
« on: September 23, 2017, 04:22:38 pm »
Hey thank you that worked the off set issue but when I run the game the sprite of the door is not visible although my character can still collide with and unlock this "invisible door". It is accompanied by this error. "Error: Illegal direction 3 for sprite "entities/door' in animation 'closed'

Edit: so it's working for me now and for anyone else who might have a similar issue I added a new animation called closed and added a direction and now my door works how I want it to.

Development / Issue with doors
« on: September 23, 2017, 07:55:13 am »
Hello I'm having an issue with doors when I try to add a sprite to them. It seems the sprite is off the center of the door for some reason. When the game is running the collision box for the door is perfect but the sprite is invisible. I have added all the relevant screenshots below

Pages: [1]