Tuesday, 23 August 2022

Stencyl: Inventory system is almost ready.

 Apology: Stencyl-nator apologises for not being here for so long due to academic loads and massive overhaul of unlimited scene renderer for Stencyl engine cannot save data[negative int]. The other problem with Stencyl is using too much Drawing resulting in game crashing. 

 Therefore Stencyl-nator produces its own drawing Script and custom imports for better performance.  

The behavior used for drawing



Everything here Stencyl-nator learned is from Reverse engineering the SWF files he has "published" on to his computer using JPEXS FFDEC. More (including bypassing some functionalities) about that later.
The topic mentioned in the title will be out and announced within this week. and the drawing topic later for this is only the beginning of drawing tool reverse-engineering with JPEXS FFDEC.      




Tuesday, 17 May 2022

saves cannot save data with negative ids

Under development : Infinite valley: 

Stencyl-nator aplogises for not working with this blog for few month due to academic load. I came across the issue the save have bugs.  So i made a save demo for data[negative values] in game Attribute 
named "savd test.swf". Also all the files here can now be accessed. JPEXS FFDEC is recommended for reverse-engineering or to see how Stencyl-nator assembles the codes, 
https://drive.google.com/drive/folders/1fND_aekIe-XETVmbEG7P5f1v0D_Zo_Bp?usp=sharing
The data [negative values] can be used anywhere but cannot be saved.

WARNING: ALL SWF FILES ARE deemed potentially harmful to your computer by Google Chrome and Microsoft Edge.  

the codes in the file so that you can duplicate. 







Next topic: inventory, 

 


Friday, 26 November 2021

New Stencyl Topic: Scene with "no edges"

 Stencyl-nator apologises for the narrow strips of the main page is capped at 1500 px. 

Topic: Scenes with no edges












for debug only, 


https://stencyl-nator.blogspot.com/p/scenes-with-infinite-dimensions.html

Tuesday, 2 November 2021

lists can get negative index values

 Lists which is known as Array can accept negative index values. For example, a list is created, for a test whether a list within a list is used as well as it accepts a negative index number 
internal name: _testdata
snippet name: test data

the index numbers has to be Int which stands for integer. 

and here is the result. 
 
Application: map data for unlimited or limited dimensions

Saturday, 23 October 2021

reducing lag with actor groups

 One of the reasons why Stencyl-nator has almost abandoned Stencyl is due to lag with many actors on scene without behaviors . However Stencyl-nator has recently sort out the lag by minimising the collision relationship between actor groups. 

The real reason for lags is due to default settings where 
default actor group is "Actors" and they are set to be tracking each other with collision relationship

To compensate the need for the collision relationship, users can create new actor group otherwise, an actor group that has no collision relationship with anything else such as buttons.  

Saturday, 29 May 2021

New Stencyl topic: click waypoint

 The core (Always) is very similar to the last step of pathfinding which is dispatch movement.


 


The page and extra details, source, and the download link is in the new blog 

Wednesday, 12 May 2021

Stencyl-nator will migrate to Stencyl--nator

 Stencyl-nator will migrate to Stencyl--nator.blogspot.com and start new. This blog will be abandoned except for link changes. Stencyl--nator will be more structured and more page-to-page links. None of the stencyl tutorials here will be moved to Stencyl--nator. but will create from scratch. 
  

While pathfinding still in development, Stencyl--nator will be built topics by topics. Since this old blog is filled with some cringe stuffs.  

new blog has a very similar URL to the old one. 
stencyl--nator.blogspot.com. The blog is still currently empty. 

Thursday, 7 January 2021

New Stencyl topic: Number formatter

 it has been a month since the previous post, Stencyl-nator now come out new logic which is Number formatter. 

The number formatter is to put commas in numbers which is larger than 1,000. 


The number formatter in this case, converts the number above 1 quadrillion to standard.

Event type: Global Custom block - cannot access attributes thus the logic is mostly code. 


For the better code display or if this post is buried, click here 


Wednesday, 2 December 2020

New Stencyl Topic : click move command.

Description
click anywhere to make actor go the clicked position. 

Story:
it is a step forward to successfully create the most difficult behaviour in the game which is pathfinding without the "path options" like the ones in GPS. The pathfinding where this most of this component may contain EXCEPT the first 2 rows. 

The waypoint-based pathfinding has 3 main components which are scanning, producing waypoints, and propagation which is most of this EXCEPT the first 2 rows and the next waypoint.   


Add next point command on the bottommost if gate on the second event and replace the mouse of the first event with next point X and Y and it will be a component of pathfinding that dispatches the actor's movement.   

Thursday, 15 October 2020

New Stencyl topic - less space used

Apology: sorry for not being here for so long. also you cannot update new flash games on wixsite anymore thus returning to this blog.

issues: the game is way larger than it should be. 


 

read more: