Bug Issue: "Repeat Background" doesn't work when the background has more than one frame.


Pages: 1

LIBERADO

  • Expert Stencyler
  • *
December 22, 2015, 09:54:45 pm
"Repeat Background" doesn't work when the background has more than one frame.

I need this feature for the new game I am making.

Please, fix it.


captaincomic

  • Master Stencyler
  • *
December 23, 2015, 07:57:43 am
letmethink has provided a fix for this: https://github.com/Stencyl/stencyl-engine/pull/14
Merged in b8862.
  • Status changed from New to Resolved


LIBERADO

  • Expert Stencyler
  • *
December 23, 2015, 11:01:59 am
I had completely forgotten that I already reported this bug a few months ago, sorry.

:) Thanks a lot for fixing it.
« Last Edit: December 23, 2015, 11:03:20 am by LIBERADO »


LIBERADO

  • Expert Stencyler
  • *
December 24, 2015, 06:28:59 pm
I can't verify the fix because the new Build 8862 doesn't compile any game. After installing it, now I can't test any game because Stencyl always throws an error.

I have reported this issue as a new bug:
http://community.stencyl.com/index.php?issue=189.0

Please, fix it.
« Last Edit: December 24, 2015, 06:57:11 pm by LIBERADO »


LIBERADO

  • Expert Stencyler
  • *
January 23, 2016, 02:35:03 pm
This feature does not yet work on mobile devices.

In Flash it works, but it alters the colors of the original background image. Pure white (255,255,255) is shown as (254,254,254) when testing. Pure red (255,0,0) is shown as (255,1,1) when testing.

On mobile devices it does not work at all. When testing on Android, the screen remains black for one second only and the game closes immediately.

For example, this simple animated background (imported at 4x) does not work on Android:

<a href="http://static.stencyl.com/games/33250-0.swf" target="_blank" class="new_win">http://static.stencyl.com/games/33250-0.swf</a>

I reported this bug because I need to use it in mobile games.

Please, fix it.
« Last Edit: January 23, 2016, 03:21:36 pm by LIBERADO »


LIBERADO

  • Expert Stencyler
  • *
January 23, 2016, 02:40:45 pm
Now tested with different image sizes, and this feature does not work on Android.
« Last Edit: January 23, 2016, 02:54:00 pm by LIBERADO »


Issue updated by captaincomic - January 24, 2016, 03:38:42 am
  • Status changed from Resolved to New


letmethink

  • Master Stencyler
  • *
February 03, 2016, 10:22:28 am
I've posted a pull request in order to get this to work for mobile. It was something really basic (and I also realised I was doing something unneccessary).


captaincomic

  • Master Stencyler
  • *
February 05, 2016, 08:07:48 am
Thanks! I merged your pull request. Build 8990.
  • Status changed from New to Resolved


gb346

  • Level 3 Stencyler
February 06, 2016, 12:14:05 am
Hmm this is still no good, at least for me. I get about 2-3fps for a few seconds then game just crashes. (Rest of the game runs smoothly)
Using build 8990, Galaxy s6


LIBERADO

  • Expert Stencyler
  • *
February 06, 2016, 02:08:54 am
Hmm this is still no good, at least for me. I get about 2-3fps for a few seconds then game just crashes.
I have the same problem. I get a very low fps and an irregular movement when there is some actor moving in the screen, even if there is one actor only, the game becomes unplayable on Android.
« Last Edit: February 06, 2016, 02:12:09 am by LIBERADO »


letmethink

  • Master Stencyler
  • *
February 06, 2016, 04:50:26 am
Okay. Time to look at it again. It's possible I just messed up sending the pull request.


letmethink

  • Master Stencyler
  • *
February 06, 2016, 12:21:59 pm
I've posted a new pull request to change the way in which they are rendered by Stencyl to improve performance.


captaincomic

  • Master Stencyler
  • *
February 07, 2016, 02:49:40 am
Merged in 8991.


LIBERADO

  • Expert Stencyler
  • *
February 07, 2016, 05:09:56 am
Now it seems to work with good performance.
This feature can significantly enhance the graphical beauty of the games.
Thanks for fixing it.
« Last Edit: February 07, 2016, 05:12:59 am by LIBERADO »


gb346

  • Level 3 Stencyler
February 07, 2016, 09:00:14 pm
Can confirm, working great, much appreciated!


Issue updated by captaincomic - March 22, 2016, 05:22:26 am
  • Status changed from Resolved to Closed


Pages: 1

Details

  • Reported
    December 22, 2015, 09:54:45 pm
  • Updated
    March 22, 2016, 05:22:26 am

  • View Status
    Public
  • Type
    Bug
  • Status
    Closed
  • Priority
    Normal
  • Version
    3.4.0 beta
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Background Editor

Tags