Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

FiredFromLife

5
Posts
2
Topics
A member registered Apr 09, 2019

Recent community posts

I greatly appreciate your quick response!

I think I'm gonna go with that circle option.

You are absolutely right, you are probably clicking the center anyway.

(1 edit)

This is my first time wanting to use collision shapes other than rectangle or circle, so forgive me if I am misunderstanding something.

When I use hover or touch with a "Rectangle" mask or "Circle" mask for the Collision Shape, the software behaves as expected. When I hover over the copy, where the mask is, events occur.
Example: if(ct.touch.hovers(this)){console.log("Hovering!");}//This works with rectangle or circle, but not with polygon

BUT when I use "Line Strip/Polygon" it does not work. I have tried enabling interactive from PIXI which works for clicks and hovers, but treats the copy as the whole sprite including transparency, which does not work.

I am working on an isometric game, so squares are not really an option(see attached image) and neither is allowing transparency.

What is my best course of action? Is this currently possible in CTJS?

Awesome:)

Thank you for your quick responses. 

Any release window for 1.3?

The module is not aimed at browsers, which is the issue.

The first module I wanted, I included very simply with a CDN, which is excellent I can do that!

But the other is a Node Module, not for browsers, would the include folder still work?

I can seem to only find places to put code that is executed in the browser, none that allow access to native Node.

(1 edit)

Hi, I would really like to include a Node Module in my project. What would be the best way to do this? The include folder?

I understand it would disallow exporting to a browser, but that would be fine for what I'm working on.

Would it be possible in future versions to allow NPM module installation?