Sunday, 20 November 2022

New Stencyl topic: Actor mode:


Sorry for taking so long with basic topic where no advanced features is required. 
Shading and making the actor glow does not work via openfl.filters.GlowFilter in HTML5.

I was also experimenting of  https://stencyl-nator.blogspot.com/p/scenes-with-infinite-dimensions.html
with 2 new requirement:
The tile will now be physicsMode = MINIMAL_PHYSICS or selected actor > physics > advanced > Actor mode = Minimal. since the minimal. 
No region as before.   
The picture above shows the new killing process of the infinite scene rendering. The old page is not updated. However, the new version will arrive in the entirely new page. 

The new version of the infinite scene rendering is actually a success. However, it is mostly codes (not blocks) written in design mode.  Therefore the code would be crammed because the code block/snippet cannot be extended to accomodate the full view of the code. So is this why Stencyl-nator is losing views? or Stencyl itself has become unpopular? or Stencyl-nator's old embarassing topics? 

As for the topic, 
Abilities
Minimal
Simple
Normal (default)
anchor to screen
no
yes
yes
regions can sense?
no
no
yes
Solid actor interaction with other solid actors.
Lets other solid actors pass through even if its solid
Lets other solid actors pass through even if its solid

Only solid actors with

“actorMode = normal”
will not pass through

Saturday, 24 September 2022

New Stencyl topic: freeform mode for text drawing.

 


This is the full code in this picture 
Reverse Engineering directory: Stencyl folder > plaf > haxe > lib > stencyl > 1,00 > com > stencyl >  graphics > G.hx 


Sunday, 18 September 2022

New Stencyl Topic: Rectangle drawing code for Stencyl 4.0.4

 After some decompilation of some Stencyl test swf files hoping to replace the problematic drawing codes built-in in Stencyl that crashed the Microsoft edge browser, Stencyl-nator decides to produce the code that draws rectacgles. Stencyl-nator has yet to try it on Mozilla firefox, opera, Google Chrome, Maxthon and brave browser.

This is the code. To use the code in design mode, custom import and public var (custom code) are required. More info http://stencyl-nator.blogspot.com/p/rectangle-drawing-arbitrary-code-for.html

Requires custom import and custom code. In this case
custom import : import scripts.H;
custom code: public var dt:H = new H(); 
  
The similar topic: 

Saturday, 3 September 2022

Stencyl topic update: code: setting opacity

if you have noticed some of the pages have been removed from game mechanics section, it is stuffs to do with old Stencyl 2.x that is not a game mechanics. Game mechanics often require multiple behaviors and are very complex subject to just look at.   

updated page: http://stencyl-nator.blogspot.com/p/code-setting-opacity.html

changes: or you can refer code (preview code). 

For Stencyl 4.0 and later, 
g. alpha = 1 // default value
g. alpha =  0.5 //50% opacity. 
g. alpha =  0.2 //20% opacity

Wednesday, 24 August 2022

New Stencyl topic: inventory

It is the day that Najib Razak gets charged in court after being sentenced in prison over SRC scandal. Also the day IOI City mall phase 2 opens to be the largest mall in Malaysia where Stencyl-nator is in.  

While Najib Razak is in court. Stencyl-nator compiled the behavior systems for the . 

However this behavior we wrote is mostly code due to obsession with efficiency and the use of Int and also the use of list[x][y][z] as this time Stencyl-nator is creating game named infinite valley. 
The page is too long to be written here. It took Stencyl-nator 2 days to compile 4 behaviours into images. http://stencyl-nator.blogspot.com/p/inventory.html

but stencyl-nator can give you some hint here. One disadvantage of doing code in design mode is the code snippet cannot be extended.  

Next topic: Drawing code. and before that, There will be few changes to this blog. 


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,