Drawing without using Stencyl.graphics.G (Stencyl 4.0)

Introduction 
Styencyl-nator has been noticing game crashing while using browsers back in 2022 (HTML5 format) to run the games because of com.stencyl.graphics.G after using Stencyl. 
The picture above shows "Preview Code" in design mode. 

Pre-requisites : 
- basic coding in Haxe. 
- custom import and custom code. 
- create class (free form mode) in code mode. 
- flash.display.Graphics initialisation. For example: 
public var gr:Graphics = Engine.engine.transitionLayer.graphics; which are used in all the display topics below: which require com.stencyl.Engine; 

Content to bypass com.stencyl.graphics.G 



 

No comments:

Post a Comment