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.

Topics - Jo3m

Pages: 1
Ask a Question / Remove from parent problem
« on: June 10, 2019, 02:52:03 am »
Hello, How to use correctly: "remove from parent" (?)

I provide the code of my problem to illustrate the use I make of it.

The routine is programmed in an actor. The principle is to create an "image", to copy the image of the actor, to change a chosen color, to display the result, then to delete the image via the command "remove from parent" and to restart the operation to be able to create a succession of color changes in the image.

But as soon as I introduce the "remove from parent" command, the program will scrach ...

I am very much annoyed.

Thank you, if you can tell me how to use this order PROPERLY? Thank you.

Ask a Question / Access the webcam and microphone
« on: May 04, 2019, 01:28:59 am »
Hello everyone, I do not know where to put this topic, so please excuse me if it is not in the right place.

I would like to find a way to access under Stencyl data returned by the microphone and possibly the webcam. This would be to do real-time data processing (voice recognition and visual recognition).

What would be the most effective method? Is there an extension? Can a programmer wring me?

Thank you for your answers.

Windows / Mac / Flash / HTML5 / Happy New Year 2018
« on: January 19, 2018, 12:40:42 am »
Hello everyone

With a little delay, I present you my best wishes for this new year. It's been a few months since I learned to use Stencyl, and I had the idea to make a little playable greeting card. It is not really finished, two things to change, and some bugs, but overall it works well.

Right and Left to move
in touch, touch on the right or left of the screen (the commands are deliberately not visible) ...

To throw a ball, first there is a gauge at the top left to fill, with this gauge,
you can throw 3 maxi balls. You have to move with the snowman to fill the
snow gauge.

Arrow up on keyboard or touch to the middle of the screen in touch (not in the center,
it can be the middle down, for example) ...

In the top right, it's the number of times you hit your target.

There is no end, you can not die, no "game over" and the characters you touch do not die.

 This card is a simple demo to test my functions and improve them. All code will be reviewed and optimized for future projects.

I wanted to add this game in my personal space on the Stencyl site, but I do not know how to do it.

Thanks for reading me and testing my card.

Ask a Question / Distort an image by its corners
« on: December 13, 2017, 11:06:44 am »
Hello everyone,

Here is my problem: I would like to know if it is possible to use Stencyl base to distort an image other than by width or height but by its corners, by stretching for example one of the 4 corners.

I did not find an in-depth discussion for this question.

If that's not possible, could someone give me a track? This is the technique of mipmapping, if I am not mistaken. It should go through Opengl in stencyl, but how?

The goal is to distort a 2d image.

This is a question, but it is also a suggestion of extension creation for more seasoned programmers.

Thank you very much for your attention.

Best regards.

Ask a Question / Set Screen Diagonal problem with HTML5 project.
« on: August 21, 2016, 02:59:40 pm »

I started a mock game in stencyl. It goes well. I use the parallax method to produce a depth effect, classic. Some items follow the mouse and it happened when I traveled a shift level after activation of parallax.

By adding :

- When Creating -

Code: [Select]
_ScreenDiagonal = ASNumber (Math.sqrt ((Math.pow (getScreenWidth (), 2) + Math.pow (getScreenHeight (), 2))));
propertyChanged ( "_ ScreenDiagonal" _ScreenDiagonal);

The problem of shift is resolved.

Here is my problem :

Then I wanted to create a model for the web, with html5 exporter. This is another project. I noticed that this solution does not work. Worse, add this line destroyed the project will not launch correctly but freezes. Even after the complete removal of this line (set screen diagonal) and clear the cache. When I run the project, nothing works. The only solution is to re-create a new project for the current project appears corrupt. And not to use this method. I have no explanation for this problem.

Thank you to those who bring me a light.

Pages: 1