Menu

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.

Show posts Menu

Messages - Yeury

#1
Development / Changing Hero on death behavior?
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.
#2
Quote from: Christopho on July 29, 2017, 01:02:43 PM
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
#3
Development / Re: Issue with doors
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.
#4
Development / Issue with doors
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