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 - nofxboy1234

Pages: 1
1
Ask a Question / toggle vsync
« on: December 18, 2019, 10:55:57 pm »
Hi all :)

Is Stencyl locked to 60fps?

Is it possible to turn vsync  on or off using a code block, for the "flash (player) platform"?
Or is it only possible to do this for the "Windows" platform?

Thanks!
Dylan

2
Ask a Question / Using "Last Created Actor" from Actor instances
« on: December 18, 2016, 05:01:58 am »
I have an enemy actor that I attach ground sensing actors to, at its feet. In the attached code, I delete and create these ground sensors depending on the direction the enemy is moving in. In the "create_left_ground_sensor" and "create_right_ground_sensor" events, I assign the "Last created actor" to the "left_ground_sensor" and "right_ground_sensor" attributes. If I have 1 enemy instance in the scene, it works fine, but when I add more enemy instances, it seems that they are deleting one another's ground sensors.

Is "Last created actor" shared between instances of the same Actor type, and if so, how do I get around it?
What other ideas do you have for achieving this?

Thanks so much  :)!

3
Ask a Question / What debugging workflow do you use?
« on: November 03, 2016, 11:41:29 am »
Hi everyone!

I'm loving Stencyl and would like to find out how you debug your games? I have searched the forums and read the Stencylpedia article on debugging, but I still feel like I'm missing something. I have seen in certain conditions, if there is an error, Stencyl will highlight the block that it occurs at, but when there is a runtime error and the the game crashes, I find it difficult to pinpoint the problem area. Do you use "Run App in Debug Mode", which is found in the menus?

I know there is an error log that gets generated - how do you use this? I know the log suggests to post it on the forums, but I'd much rather try and solve the error myself if I can, and learn more about Stencyl by doing so :).

Please let me know your debug workflow :)

Thanks!

4
Ask a Question / Scaled collision shape info
« on: October 16, 2016, 02:33:13 am »
How would I go about finding the x, y, width and height of an Actor's collision shape at runtime?
I have been trying a code block with ".getBody().getPosition().x" but it doesn't seem to change after I have
used a "grow" block.

Thanks!

5
Ask a Question / Scaling an Actor in Scene Designer
« on: September 16, 2016, 07:24:37 am »
Hi everyone

I'm new to Stencyl and really enjoying learning to use it and seeing what it can do!

When I create an actor in scene designer and scale it, its position changes when I run the game.
Why is it doing that?

Thanks :D
Dylan

Pages: 1