Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

FiredFromLife

7
Posts
2
Topics
A member registered Apr 09, 2019

Recent community posts

(3 edits)

Thank you for the quick response! You should consider updating the plugin to work this way!

My only other feedback would be replacing viewport size with viewport width and viewport height. This would allow rectangles and not just squares.


Thank you again for making this plugin and I hope you are able to implement these improvements. 


I was able to implement both your suggested fix and rectangle support!

(1 edit)

Howdy, this works fairly well!
I am however having an issue where it breaks my ability to interact with items inside the ContentViewport/Pivot. I was intending to use this for a transition between menus. Any thoughts on how to resolve this? I realize this is the case because it is using the viewport as a texture and rendering it to a TextureRect.
Currently all I can think to do is move the relevant node into correct position in the scene tree when it is time to transition, but that seems messy.

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?