Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Lortedo

5
Posts
1
Topics
9
Followers
4
Following
A member registered Feb 15, 2019 · View creator page →

Creator of

Recent community posts

Hi! We are so glad that you made a video about our game! You find some unfounded bugs, well play! ^^ By the way, sorry for the 'A' wrong indication, the game was made for controllers :/ You did well even if you were solo! Thank you!

Hi! Special for you, we have uploaded an other version where the keyboard and controller control distinct characters. Have fun ;)

Hello guys !

Do you know a way to getBehavior with an interface passed as an arg.

My problem is that I created a IInteractable interface, implemented on some behavior.
When I press E input, I want to get the component (if it exists) that implements the interface of the actor in front of the character.

Here's my code:

interface IInteractable
{
  interactable(): void;
} class LightBehavior extends Sup.Behavior implements IInteractable {
  interact()
  {
    this.switchLight();
  }
  
  switchLight()
  {
    /* CODE OMITTED */
  }
}
Sup.registerBehavior(LightBehavior); class CharacterBehaviour extends Sup.Behavior
{
update()
{
     if (Sup.Input.isKeyDown("E"))
     {
         /* Get actor in front of the character*/
        /* THE PROBLEM: Get IInteractable interface of the actor*/
    }
}
}

Thank you guys!

Hi Cryptic Hybrid!

We are really happy to see your video!
Thank you for your review! 😁

The developers 😉

Hello CoalFire!

We have seen your video, and we are really really happy!
By publishing Lost Paradise, we didn't expect to see someone publish a video about it! :)

We are really glad, thanks for your review!

Thanks :)
The developers' team