### 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.

### Messages - MrD69

Pages: 1 2 3 ... 15
1
##### Ask a Question / Re: Dialogue Extension on Build 10495
« on: April 08, 2020, 04:39:18 pm »
Try updating the extension by going to the extensions menu then toolset extension manager it will have button next to the dialog extension to update if its not the most recent version

2
##### Extensions / Re: Extended Math [v1.0]
« on: April 08, 2020, 04:35:51 pm »
Hey thanks for the suggestions I will look into that. As for the Array<Dynamic> returns I believe that is because all arrays used in Stencyl are of the dynamic type and so trying to return an Array of type Float causes errors on compiling.

3
##### Extensions / Extended Math [v1.0]
« on: April 07, 2020, 09:47:45 pm »
Stencyl Extended Math
An extension for the game engine Stencyl that adds extra math functions to make math calculations easier.

Stencyl lacks a number of mathematical blocks that would have to be built from scratch for each game that uses functions like averages in a list, factorials, and logarithms of base n. This extension allows you to do these plus much more without building the math functions from scratch.

----- Constants -----
NaN

Returns a constant NaN which denotes not a number.

Infinity

Returns a constant which denotes the value of infinity.

Root 2

Returns the value of the square root of 2.

Phi

Returns Phi (the golden ratio) which is equal to (1 + √5)/2 ≈ 1.618

Maximum Bit Integers

Returns the maximum value of an 8, 16, 32, and 64 bit number.

----- Lists -----
Average, Max, Min values in List

Returns a specific number of the value of items in a given list which matches a desired characteristic.
Choices:
- Average
- Max
- Min

Intersection, Union and Subtraction of Lists

Returns a list with a desired modification given 2 lists.
Choices:
- Intersection: Returns a list of items found in both lists.
- Union: Returns a unique set of items found in all lists.
- Subtraction: Returns the first list with all values from the second list removed in the first.

Subset

Returns true if every item is list A is also found in list B.

Summation

Returns the sum of all values in a given list.

Identity Matrix

Returns a matrix square of a given size with 1's along the diagonal

----- Math -----
Is Number

Returns true if a given value is a number.

Is Even/Odd

Returns whether or not a number is even or odd.

+/-

Returns a list of size 2 where the value of A + B is at index 0 and A - B is at index 1.

Inverse

Returns the inverse 1/N of a number.

Divides

Returns true if the first number evenly divides the second.

Modular Arithmetic

Returns true if the remainder of each of the first two numbers divided by the last are the same.

Cube Root

Returns the cube root of a number.

N-th Root

Returns the N-th root of a number

Log with Base

Returns the logarithm of a number with any base.

Factorial

Returns the factorial of a number. ie. (N)(N-1)(N-2)...(1)

Pick

Returns the factorial of a number to a given step. ie. (N)(N-1)(N-2)...(N-(k-1))

Choose

Returns ((N)!/(N-k)!)/(k)!

sinh, cosh, tanh

Returns sinh, cosh, or tanh.
~ sinh = (1/2) (-(1/e^N) + e^N)
~ cosh = (1/2) ((1/e^N) + e^N)
~ tanh = sinh(N)/cosh(N)

Implies

Returns false if the premise is true, but the outcome is false otherwise returns true.

Heaven Side Step

Returns 0 if the number given is 0, 1 if the number given is larger than 0, and -1 if the number given is less than 0.

----- Positional Space -----
Distance Between Actors

Returns the distance between 2 actors in the scene.

----- Geometry -----
Circle

Returns the area or circumference of a circle with radius R.

Rectangle

Returns the area or perimeter of a rectangle with length L and width W.

Last Updated April 7, 2020 v1.0
-------------------------------------------------------------------------------------------------------------------------

Contact Me: thejoblesscoder@gmail.com

Extension is Open Sourced and Licensed under MIT open source standards.

4
##### Extensions / Better Logic [v1.1]
« on: April 02, 2020, 06:55:14 pm »
Stencyl-Better-Logic
Extension for the Stencylworks game engine that adds better logic blocks such as switch case statements and ternary operator

Stencyl currnetly lack some functionality with logic operators such as switch statements which is why I made this extension to help you devlope better games!

Example

Switch

Sets the value to be measured using case blocks. All case blocks must reside within the switch statement.

Case

If the value of case matches the valued passed into switch, the code within case will be executed.

Default

Code within this block will be executed if none of the cases match the value of the switch.

Subtraction Blocks ++

Subtracts 1 from a number.

Ternary

Useful shortcut for setting values that is faster then an if else statement. If the boolean value is true, the first value is returned otherwise the last value will be returned.

Last Updated April 2, 2020 v1.1

-------------------------------------------------------------------------------------------------------------------------

Contact Me: thejoblesscoder@gmail.com

Extension is Open Sourced and Licensed under MIT open source standards.

5
##### Extensions / Re: Debugging Tool [v1.0]
« on: April 02, 2020, 02:36:42 pm »
Hey thanks for the suggestion. I also decided to migrate the turnary block over to a separate extension for extended logic condensers.
https://github.com/ess4654/Stencyl-Better-Logic

6
##### Extensions / Re: Debugging Tool [v1.0]
« on: April 01, 2020, 03:24:29 pm »
I added the folder to a sub folder and re uploaded so it should import correctly into stencyl. I also fixed the bug with the FPS display it now displays in HTML5

7
##### Chit-Chat / Re: TRUE 3D IN STENCYL???
« on: April 01, 2020, 08:45:51 am »
Believe it or not there are some actual 3D games made with Stencyl. The use a lot of heavy math to make them work

8
##### Extensions / Re: Debugging Tool [v1.0]
« on: April 01, 2020, 07:26:41 am »
Let me know if you have any suggestions for addition blocks to add

9
##### Extensions / Debugging Tool [v1.0]
« on: April 01, 2020, 07:26:10 am »
Debugging Extension
An extension for the Stencylworks game engine that adds better functionality for debugging

My number one complaint with Stencyl is the lack of features to allow for in game testing, so I made this extension to an in game console to your project!

Enable Debugging

(MUST BE CALLED FIRST) This block will enable/disable the debugging functionality. Debugging console can be turned on and off with the use of the key set with Debug Console Key. This block will prevent the key from opening the console.

Is Debugging

This will return whether or not the debugging console is open.

Set Console Key

This block will set the key that opens the console and toggles in game debug mode.

Set Console Text

Change the text that the console will use.

Print Console to Screen

This block must be called in Drawing function to show console contents on the screen. Note: Check Key State block does npt need to be used when this block is added to code. To use debug features without the console use the Check Key State block instead.

Console Log

Print anything in console.

Clear Console

Clears the console of any logged items.

Show Frames Per Second

Toggles the Frames Per Second output in console. Default is true.

Show Number of Actors

This block can show both the number of actors currently on screen and the number of actors in the scene in the console window.

Check Key State

This block will check the state of the debugging keys without opening the console window. If Print Console to Screen Block is used in Drawing function, this block does not need to be used to get keyboard updates.

Set Debug Key

Debugging allows for up to 10 hotkeys assigned. The state of each key can be checked using the state block and will always return false if the debugging console is closed. Note: If you require the use of more then 10 keys for debugging purposes, please message me and I can add additional keys to the extension.

Get Debug Key State

This will return the state of one of the 10 hotkeys. Useful for doing stuff in game to test while debugging console is open.

A few examples of a good use for this block are:
• A button to unlock all powerups in a level

• A key to make player invincible to enemies

• Increase/Decrease time in a game with a countdown clock

• Fly through level with 8 way movement

Formatted Coordinate

Returns a nicley formatted X, Y Coordinate with a text field for naming.

Formatted Vector

Returns a nicley formatted X, Y, Z Vector with a text field for naming.

Key Value

Returns a nicley formatted Key Value pair.

Logic Condenser

Useful shortcut for setting values that is faster then an if else statement. If the boolean value is true, the first value is returned otherwise the last value will be returned.

Print List

Print each item of a list to the console with index value.

Print 2D Array

Given a valid 2D list, the contents will be printed to the console.

Last Updated April 1, 2020 v1.0
-------------------------------------------------------------------------------------------------------------------------
Additional Notes: Debug Drawing will always be on if the console is open. The use of in game block can disable it.

Contact Me: thejoblesscoder@gmail.com

Extension is Open Sourced and Licensed under MIT open source standards.

10
##### Ask a Question / Re: Error while building game.
« on: December 16, 2019, 09:40:16 pm »
Your game is missing assets it says that graphic
0-0@2x.png
is missing. That is the first imported graphic of your game at 2x scale so try re importing the image. You might have to go into the resources folder in the games folder of stencylworks to see the 1x scale image to know exactly which graphic it is. Or you can also remove 2x scale from the build options and try again.

11
##### Ask a Question / Re: Actor Goes Out of Scene
« on: December 16, 2019, 09:36:26 pm »
What is the width of your screen compared to the width of the scene. Most likely the scene is wider than the screen so the actor appears to go out of bounds but exists still within the screen. No idea why it would work for one actor but not the other.

12
##### Dialog Extension / Re: Dialog Extension assets.swf corrupted.
« on: December 16, 2019, 09:34:04 pm »
Try going into the following folder and deleting all the contents:

stencylworks\games-generated\GAME NAME\Export\flash

Dont worry your game logic and stuff is in the games folder so its still there but this will clear the cache of the previously generated (and corrupted) files and will start a fresh rebuild.

13
##### Ask a Question / Re: Deleted game recovery
« on: December 16, 2019, 09:26:36 pm »
This is doable as all the code is still there. The graphics and sound too. You might have to create a new project however and copy the stuff over and reimport all the graphics and stuff. How long ago was those projects made because its also possible that some of the code is no longer relevant in the latest version of stencyl and would likely break it.

14
##### Ask a Question / Re: iOS Build help
« on: March 19, 2019, 08:51:51 pm »
That other article would be my client, and so his logs are posted there. I knew he was asking for help on the forums but couldnt find his posting so i made my own. we have both tried everything we can think of without success

15
##### Ask a Question / iOS Build help
« on: March 19, 2019, 06:39:17 pm »
Hello I have been doing work for a client helping them to publish their game for nearly 3 months now and have almost all but given up with the never ending problems of iOS. Initially I tried on 2 separate hackintosh machines but that failed. Then I tried team viewers to my clients Mac but it was already out of date and only 2 friggin years old. Now he has a new machine. Running Mojave. With Latest xCode. and stencyl 4.0
The game will not build for iOS. Will not even run in a Sim. The weirdest part is that build fails almost instantly. I mean less than a second after starting. Which tells me it has nothing to do with certificates or any of that junk usually at fault. The stencyl debuggimg capabilities are really lousy as about the only information we can gain from the logs is a segmentation fault in the Image.hx file as part of the stencyl engine. Can someone please respond with why exactly this problem is happening and what could possibly be done to resolve it

Pages: 1 2 3 ... 15