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

Pages: 1 2 3 ... 7
1
Extensions / Re: Spine Skeleton Engine Extension v0.0.5
« on: January 21, 2020, 06:07:23 pm »
doing the animations manually is soo tedious, and might cause some issues later. I hope Robin comes back soon -_-'

2
Extensions / Re: Spine Skeleton Engine Extension v0.0.5
« on: December 17, 2019, 02:26:13 pm »
Hey Robin,

Just letting you know that there is an issue with my Spine Extension for Stencyl.

It doesn't seem to handle Opacity or Transparency that well. I have attached a screen shot of it in Spine, and one in Stencyl. See how the one in Stencyl has the transparency as Black, and when the gold fades in spine, it doesn't fade in Stencyl.

Not sure of I'm doing something wrong, but was wondering how I could fix it.

Cheers,

Lindsay
I've had this problem too, so it's not just you.  I just went with animating transparent actors/SFX in Stencyl itself rather than Spine.

:S Would prefer to have a bit more control through animations themselves :S but I guess its a temp fix for now.

3
Extensions / Re: Spine Skeleton Engine Extension v0.0.5
« on: December 15, 2019, 09:59:15 pm »
Hey Robin,

Just letting you know that there is an issue with my Spine Extension for Stencyl.

It doesn't seem to handle Opacity or Transparency that well. I have attached a screen shot of it in Spine, and one in Stencyl. See how the one in Stencyl has the transparency as Black, and when the gold fades in spine, it doesn't fade in Stencyl.

Not sure of I'm doing something wrong, but was wondering how I could fix it.

Cheers,

Lindsay

4
Ask a Question / Re: Xcode Project Won't Build
« on: December 04, 2019, 05:08:05 pm »
I'm currently using b10468, and it publishes fine. However I need to have both IAP and Unity Ads disabled.


5
Extensions / Re: [IOS/Android] UnityAds Video and Rewarded Video (0.1.3)
« on: September 28, 2019, 12:48:12 am »
I too am getting the same issue, and have the latest toolset installed (35).


6
Extensions / Re: Spine Skeleton Engine Extension v0.0.4
« on: June 30, 2019, 04:54:00 pm »
Hey Robin,

Doesn't seem that your Spine Extension is working for version 4 builds (currently using build 10404). Seem to be getting errors relating to the Region Attachment file?

If I replace it, I get more issues about "no field wrapper"

Cheers,

7
Extensions / Re: Spine2D Extension - Create new [SpineAsset] issue
« on: April 03, 2019, 09:18:08 pm »
So I've managed to fix it.

Basically just used a game attribute instead, and it turned out that my spine export has some errors on it so it didn't export correctly (missing textures, hidden slots, etc.)

Cheers anyway :)


8
Hey All,

I have a question about choosing your spine asset...

A player can chose any character they wish, and based on their choice, it will use a NEW json file with a different name (i.e. different spine).

My question is; how do I update the "Create new [Spine]..." automatically when the player changes to a different spine character?

I see that it uses the actual name of the 'anything' attribute rather than the value, so I cannot use other attributes to as a substitute.

I've also tried using the "get actor value [attribute] for [self]" block, but it doesn't seem to work either.

Is there anyway I can do this correctly and efficiently?

P.S. all spine .json files use the same animations (i.e. "idle", "attack", "left", etc.)

Cheers,

JBG

9
Ask a Question / Spine2D - Performance Question
« on: March 05, 2019, 11:44:40 pm »
Hey All!

I have a question about the Spine2D extension (@robinschaafsma)...

I have a character in my mobile game which is broken into multiple pieces 8 ways (roughly 30 - 50 images). I eventually want to incorporate character customization, where the player can switch between different types of characters through the store (character skins). What would be the best approach for this?

A - To have all images in the one Spine2D skeleton. Doing it this way though, I'm afraid that it will lag like crazy when moving the character around and loading each image when needed.

Or...

B - Having multiple Spine2D skeletons which will act as each character skin.

Bear in mind that the character also has unique death animations (squished, sliced in half, electrocuted, etc.), so I would also have to have image skins which accommodate for these deaths as well.

The character will only change between skins when the game first loads and chooses which skin the player has chosen (similar to the custom jet pack system in Jetpack Joy-Ride).

Any advice on mobile optimization would be amazing!

Cheers,

JBG.

11
Extensions / Re: Spine2D Extension - Scaling for multiple devices
« on: February 17, 2019, 04:10:44 pm »
Awesome!

Thank you so much Robin!

Cheers,

JBG

12
Extensions / Re: Spine2D Extension - Scaling for multiple devices
« on: February 17, 2019, 02:49:55 pm »
Hey Robin,

Wow, I ONLY just realised there is a block called "current scale" which is exactly what I needed".... hahaha!

Since my Spine file was created at a size 4x the scale, I would essentially use the [3 / scale factor] which should technically give me the correct scale regardless of device being used?

Also, when it comes to collision bounds, does the box collider natively scale with the Spine scale, or would I also need to scale the collision bounds as well (i.e. create the box collider to the new scale size, or just set it to the original Width/Height of the Spine file)?

Thanks again!

JBG

13
Ask a Question / Re: Spine2D Extension - Scaling for multiple devices?
« on: February 17, 2019, 01:38:52 am »
This is the code for the Image API script to know which image to use based on the device scale...

------------------------

package scripts;

import com.stencyl.Engine;

import nme.display.BitmapData;
import nme.geom.Matrix;

class ImageUtil
{
   public static function scaledImg(name:String):BitmapData
   {
      if(Engine.IMG_BASE == "1x")
         return nme.Assets.getBitmapData("assets/data/ImageAPI/"+ name +".png");
      else
      {
         var toReturn = nme.Assets.getBitmapData("assets/data/ImageAPI/"+ name + "@" + Engine.IMG_BASE + ".png");
         if(toReturn == null)
            toReturn = scaleBitmap(nme.Assets.getBitmapData("assets/data/ImageAPI/"+ name +".png"), Engine.SCALE);
         return toReturn;
      }
   }

   public static function scaleBitmap(src:BitmapData, s:Float):BitmapData
   {
      var newImg:BitmapData = new BitmapData(Std.int(src.width * s), Std.int(src.height * s), true, 0);
      var matrix:Matrix = new Matrix();
      matrix.scale(s, s);
      newImg.draw(src, matrix);
      return newImg;
   }
}

-------------------------

If there is something like this, but for Spine2D, I would love to know how to implement it :)

Cheers,

JBG

14
Ask a Question / [SOLVED] Spine2D Extension - Scaling for multiple devices?
« on: February 15, 2019, 10:10:30 pm »
Hey All,

(The original post is in 'Extensions which I believe is not the correct location for this question, so I shall post it here instead).

I'm currently using the ByRobin Spine2D extension, and am curious to know how to apply scaling for each mobile device. In the past I have used a 'Freeform' block for my images (image_API) to find any image with the file name ".....@1x.png", "....@2x.png", "...@3x.png", and so on based on the device used, which works perfectly! But I'm curious to know if there is a way to do this for Spine Assets as well. I have attached a few screenshots on what I have currently done for my spine assets. But if there is a way to use the correct scale for each mobile device, that would be awesome!

Cheers in advance!

JBG

15
Extensions / [SOLVED] Spine2D Extension - Scaling for multiple devices
« on: February 14, 2019, 03:11:23 pm »
Hey All,

I'm currently using the ByRobin Spine2D extension, and am curious to know how to apply scaling for each mobile device. In the past I have used a 'Freeform' block for my images (image_API) to find any image with the file name ".....@1x.png", "....@2x.png", "...@3x.png", and so on based on the device used, which works perfectly! But I'm curious to know if there is a way to do this for Spine Assets as well. I have attached a few screenshots on what I have currently done for my spine assets. But if there is a way to use the correct scale for each mobile device, that would be awesome!

Cheers in advance!

JBG

Pages: 1 2 3 ... 7