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

Pages: 1 2 3 4 5 ... 99
Extensions / Re: External Data Extension [2.0.0]
« on: July 02, 2020, 02:13:34 am »
Try to DataUtils.hx in the extension folder.
And then
instead of
var stencylSound = new com.stencyl.models.Sound(-1, filename, true, false, 0.0, 1.0, ext);

var stencylSound = new com.stencyl.models.Sound(-1, filename, true, false, 0.0, 1.0, ext,1);

( or 0)

Extensions / Re: Flite Extension Journal
« on: June 17, 2020, 02:36:13 am »
Hi Mineat. It works on desktop, never tested it on CPPIA,  but logically should work. Did you try the voices ? :)

Ask a Question / Re: Trouble testing on android
« on: May 25, 2020, 04:18:08 am »
It has has nothing to do with your phone. Basically it seems that the game compiles well (from haxe to compiled c) , but it's maybe  wrapping with gradle that poses problem.

Code: [Select]
2020-05-25 09:32:43,647 DEBUG [Thread-324] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Running command: gradlew assembleDebug --info
2020-05-25 09:32:46,206 INFO  [Thread-324] stencyl.sw.util.StreamGobbler: [haxelib.exe] Initialized native services in: C:\Users\Marsh\.gradle\native
2020-05-25 09:32:47,073 INFO  [Thread-324] stencyl.sw.util.StreamGobbler: [haxelib.exe] The client will now receive all logging from the daemon (pid: 9308). The daemon log file: C:\Users\Marsh\.gradle\daemon\5.6.3\daemon-9308.out.log
2020-05-25 09:32:47,076 INFO  [Thread-324] stencyl.sw.util.StreamGobbler: [haxelib.exe] Starting 2nd build in daemon [uptime: 55 mins 5.491 secs, performance: 100%, non-heap usage: 7% of 268.4 MB]
2020-05-25 09:32:47,076 INFO  [Thread-324] stencyl.sw.util.StreamGobbler: [haxelib.exe] Using 4 worker leases.
2020-05-25 09:32:47,170 INFO  [Thread-324] stencyl.sw.util.StreamGobbler: [haxelib.exe] Invalidating in-memory cache of C:\Users\Marsh\AppData\Roaming\Stencyl\stencylworks\games-generated\FE\Export\android\bin\.gradle\5.6.3\fileHashes\fileHashes.bin
2020-05-25 09:32:47,170 INFO  [Thread-324] stencyl.sw.util.StreamGobbler: [haxelib.exe] Starting Build
2020-05-25 09:32:47,170 ERROR [Thread-324] stencyl.sw.util.dg.MessageDialog: Encountered errors while building your game.: Check your logs and post them to the forums.  - Please describe what you have been doing. Be as specific as possible.

 Can you upload  " C:\Users\Marsh\.gradle\daemon\5.6.3\daemon-9308.out.log" ? Maybe it will have an indication.

Hi Bombini. I tried to download your game but the link doesn't work anymore ... :(

Ask a Question / Re: débutante premier jeux help
« on: May 24, 2020, 12:13:41 pm »
Coucou !

tout d'abord, comprends-tu l'anglais ?
si c'est le cas, je te conseille de faire quelques tutoriels d'abord, juste pour comprendre la façon de penser.
( je viens de trouver une chaine assez ancienne de tutoriels en francais
sinon  )  .

Déja tu peux télécharger une traduction plus récente,38081.msg313677.html#new  .  Faudra que tu mettes le répertoire "fr" à la place du répertoire "fr" que tu trouveras dans le répertoire Stencyl.

Après ce qu'il faudra apprendre dans ton cas, que je pourrais t'expliquer au fur et à mesure.
- à importer un fichier texte  ou t'auras tout le dialogue et les enchainements de dialogue, ça sera plus facile pour gérer si t'as beaucoup de texte
- à créer une interface. Basiquement à utiliser du texte sur l'écran, il ya plusieurs façons de faire.
- à créer des boutons que tu appuies
- à sauvegarder ton jeu
- à faire des scènes de meutres. Je penses que tu peux créer des personnages et tu peux les faire bouger juste.
Je pense que pour les deux premiers tu pourras avoir besoin d'aide. Mais le reste les tutoriels pourraient te l'apprendre.

Ask a Question / Re: Trouble testing on android
« on: May 24, 2020, 12:19:38 am »
I don't know if it's this but I noticed your game name "23 may2" , usually having spaces is a big cause of having bugs. I would rename it

Shared Resources / Re: Traduction / Translate Stencyl...
« on: May 19, 2020, 01:30:25 pm »
Une traduction plus actualisée

Haha. I also plan to clean all my firsts extensions.  Some of them are so inneficient :)
But it's a sign we've improved in coding .

I have maybe a suggestion
- for  "AITools.autoDrawGraph("texte",true);"
you draw the  graph as if you considered the row is a tile row, and the column, a tile column.
but maybe you could add a pixel option where the row is x, and the column is y .

Ask a Question / Re: Car Sounds
« on: May 19, 2020, 11:36:58 am »
2020-05-17 18:12:16,167 DEBUG [pool-1-thread-1] stencyl.sw.util.Util: Running command: [/Volumes/Stencyl-4.0.2-mac/Stencyl-4.0.2-mac/plaf/haxe-bin/mac/haxelib, run, openfl, -verbose, build, -debug, project.xml, flash]
2020-05-17 18:12:33,557 DEBUG [pool-1-thread-1] stencyl.sw.util.Util: Process 'haxelib' exited with code: 137
2020-05-17 18:12:33,579 ERROR [pool-1-thread-1] Failed: Building for Flash. (Return code: 137)

I have also noticed that

2020-05-17 18:11:54,609 INFO  [main] stencyl.sw.Session: Java Home Environment Variable (JAVA_HOME): not set

I don't think it's normal

You may have the same error as,

Humm , just noticed something, it is written

2020-05-17 20:03:35,972 INFO  [main] stencyl.sw.Session: Java Home Environment Variable (JAVA_HOME): not set

@Luyren   is it normal ?

Ask a Question / Re: Get device height?
« on: May 19, 2020, 11:28:04 am »
Stencyl will automatically adapt the game to the screen

It is possible to find the screen height by code, but quite useless :)
If you really want it, I'll look for it .

Sorry I meant test in HTML5 ....
But normally there should be an option to publish in html5 too. Which version/build of stencyl do you have ?

Honestly, I have no ideas.
Did you try to export html5 ?

So it doens't work on an empty  new game either?

It's quite weird. There isn't any error written

2020-05-17 20:45:03,088 DEBUG [pool-1-thread-15] stencyl.sw.util.FileHelper: Trying to delete file that does not exist: C:\Users\scamp\AppData\Roaming\Stencyl\stencylworks\games-generated\akira\Export\flash\bin\akira.swf
2020-05-17 20:45:03,089 DEBUG [pool-1-thread-15] stencyl.sw.util.Util: Running command: [C:\Program Files\Stencyl\plaf\haxe-bin\windows64\haxelib.exe, run, openfl, -verbose, build, -debug, project.xml, flash]
2020-05-17 20:45:03,174 DEBUG [pool-1-thread-15] stencyl.sw.util.Util: Process 'haxelib.exe' exited with code: -1
2020-05-17 20:45:03,174 ERROR [pool-1-thread-15] Failed: Building for Flash. (Return code: -1)

Found a bug ! And corrected it :)

- you have a waypoint0, with mutiple connections,
one to waypoint1 : "connection_0_1"
one to waypoint2 : "connection_0_2"
- let's ask the path by nodes from waypoint0 to waypoint1
it will tell us that the connection is "connection_0_2"

why ?

Code: [Select]
for ( connection in currentNode.connections )
var tentScore:Float;

neighborNode =;

if ( neighborNode == null )

if ( closedSet.indexOf( neighborNode ) > -1 )

tentScore = currentNode.g + connection.cost;

if ( openSet.indexOf( neighborNode ) < 0 )
openSet.push( neighborNode );
else if ( tentScore >= neighborNode.g )

neighborNode.parent = currentNode;

neighborNode.parent.activeConnection = connection;

neighborNode.g = tentScore;
neighborNode.f = tentScore + costEstimate( neighborNode.r, neighborNode.c, goalRow, goalCol, graph.norm );

it is because of this
neighborNode.parent = currentNode;
neighborNode.parent.activeConnection = connection;

So I changed it to

neighborNode.parent = currentNode.clone();
neighborNode.parent.activeConnection = connection;

and added the function clone to GraphNode

Code: [Select]
public function clone(){
var gn = new GraphNode(r,c,name);
gn.activeConnection = activeConnection;
gn.parent = parent;
gn.connections = connections;

return gn;

Pages: 1 2 3 4 5 ... 99