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

Pages: 1
I'm still using ElectroServer, wrote a connecting behavior and created extension for it, still in the works but working :)

Hi all,

I have this library api that I want to import and I can get the library in many different formats [If someone thinks I should do this differently than how I do it below] for air2, as2, as3, java (source and .jar), etc.. Currently I have it working in flash where I made an extension, got the library in .swc form, and enabled the extension and wrote a behavior that used classes (via import com....ClassA; [and the behavior uses ClassA]) and it compiles and works perfectly.

Then I wanted to try it on Android (FYI Android was working beforehand, before the new behavior), just tried to Test without a native extension and got:

Code: [Select]
SceneServerConnect (60) -  Class not found
So I made a copy of the test-native folder to make a new native extension, edited the "include.nmnl" like so:

Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
<classpath name="" />
<ndll name="nativetest" if="ios"/>
<java path="project/android" />
<template path="template/android/libs/Blah-5-Java-Client.jar" rename="template/android/libs/Blah-5-Java-Client.jar" if="android"/>
And also put the Blah-5-Java-Client.jar there.. I saw in the native extension tutorial how to access specific functions, but I have many different Classes and functions being executed so I'd like the whole .jar available.

Hoping that'd just work for importing all classes in that .jar, disabled the extension, restarted game, enabled, restarted game, and tried again and get the same error. Any Suggestions please??

Old Questions (from 1.x/2.x) / Re: Background not filling screen?
« on: February 25, 2014, 10:38:41 am »
@dtrungle Thanks that was it for me

Ask a Question / Re: Simulate Key Codes
« on: February 12, 2014, 09:32:45 pm »
I have 3.0 beta and no clue how to simulate key press in Android? I get those same errors. Anyone solve this?

News / Re: Stencyl 3.0 - Design Once. Play Anywhere.
« on: February 23, 2013, 11:43:11 am »
great to hear, cannot wait

You can try with this.


this worked for me!

Old Bugs (1.x/2.x) / Re: Game not loading
« on: January 04, 2013, 05:14:50 pm »
Alright I've been dealing with this problem for a WHIIILLLLEEEEE trying to get it to work, getting that same exact error, .swf file works fine by itself standalone which really blew my mind. Hopefully its fixed soon.. thank you guys for the help and info.

Ask a Question / Re: HELPP - Random Spawning
« on: December 14, 2012, 08:37:30 am »
i just made it so the actor avoided spawning on tiles all together, found the coordinates all around the edge and made it so he will randomly spawn along the edge somewhere

Shared Resources / Re: Electrotank Multiplayer Kit
« on: December 13, 2012, 09:38:02 am »
I got an electroserver behavior running and connecting..

Old Questions (from 1.x/2.x) / Re: Multiplayer
« on: December 13, 2012, 09:37:10 am »
i almost have an electroserver behavior running, connecting anyways..

Ask a Question / Re: MultiPlayer: How to install smartfoxserver?
« on: December 13, 2012, 09:36:17 am »
hey if ur still working on multiplayer, i suggest ElectroServer (not that I have tried that one) but I've almost got ElectroServer up and running, got the game connected anyways, still working on showing other players

Old Bugs (1.x/2.x) / Re: must override another method error
« on: December 11, 2012, 02:56:19 pm »
helped a lot thanks  :o

Ask a Question / Re: HELPP - Random Spawning
« on: December 10, 2012, 05:07:31 pm »
Thank you guys for very fast responses, will try both of these very soon and will get back

Ask a Question / Re: HELPP - Random Spawning
« on: December 09, 2012, 06:30:12 pm »
The Spawn Actor Upon Death behavior, which I think comes with Stencyl. Still trying to figure this out, actor spawns inside tiles 1/3 times and freezes game when it does. I had a wall that was a square and tried filling it in with tiles but he still ended up to spawn in the middle of it..  :-\

Ask a Question / HELPP - Random Spawning
« on: December 07, 2012, 08:46:16 pm »
(My game is an overhead view game where a scene is an entire map and the camera follows the player around) I made a player controlled actor, and some enemies that freely walk around the map, when an enemy kills the player, he is randomly spawned somewhere on the map. Usually works great until he spawns inside of a line of tiles or square of tiles and looks like he can move but as soon as I try to move, the .swf is frozen and must close. Any random tips or solutions would be greatly appreciated ::) ???

Pages: 1