[PLUGIN]Unique Sprite(no anim,uniqe image per inst

Post and try out addons that are currently in development.

Post » Mon Oct 15, 2012 10:12 pm

thanks rojo
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Fri Feb 01, 2013 7:25 pm

Seems to crash the application if there is no image loaded and you delete one. Not a big proplem, just good to know. This is in the fixed version.Katala2013-02-12 17:41:18
B
31
S
8
G
3
Posts: 517
Reputation: 5,011

Post » Thu Feb 28, 2013 6:05 pm

Unique Sprites used with Bullet beh crashes the app after about 7-9sec of firing. Thats regardless of fire rate or speed.

UPDATE:
Actualy this happends without any beh at all too.
It doesnt happend with rising numbers of the objects. Just with time.
Funny - as long as they wont MOVE everything is fine O.o
But make them fly and sh*t hits the fan.

UPDATE:
Okey it looks like the problem might be comming from when the Unique Sprite object is being destroyed. If too many of them are being destroyed at once... well. App crashes.irbis2013-02-28 18:46:04
ImageImageImageImage
B
26
S
7
G
7
Posts: 572
Reputation: 6,097

Post » Fri Jul 12, 2013 12:06 pm

broken link dude?..
fix it please?..
B
11
S
2
G
2
Posts: 62
Reputation: 2,153

Post » Fri Jul 12, 2013 12:54 pm

fixed
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Sun Nov 30, 2014 11:36 am

Hey, thanks for this plugin, btw I have a problem when I'm using it with python :

When you use UniqueSprite.x or UniqueSprite.y it always return "0" :/
Code: Select all
# v = the unique sprite instance

if MouseKeyboard.MouseButtonDown(0):
   v.SetPosition(System.MouseX, System.MouseY)
       # so now v.x, v.y should be : System.MouseX, System.MouseY

hp.SetText(str(v.x) + ":" + str(v.y)) # but the text is -> 0:0

Those things works when you use the default Sprite object (the construct's one) and return the Sprite current X and current Y.

Any way to solve it ?

Thanks in advance :D
B
7
S
1
Posts: 58
Reputation: 683

Post » Sun Nov 30, 2014 5:02 pm

Unfortunately I no longer have the source code to this. I also haven't worked on this or with Construct Classic for over 2 years, so I can't be of much help I'm afraid.
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Sun Nov 30, 2014 9:41 pm

@playerelite
Re-download the link I posted for a hack fix. Ignore expressions a and b.
B
79
S
24
G
53
Posts: 4,728
Reputation: 40,219

Post » Sun Nov 30, 2014 11:32 pm

thanks @R0J0hound
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Mon Dec 01, 2014 6:27 pm

R0J0hound wrote:@playerelite
Re-download the link I posted for a hack fix. Ignore expressions a and b.

Wow thanks, it's 100 % working now :D
B
7
S
1
Posts: 58
Reputation: 683

PreviousNext

Return to Work-in-progress addons

Who is online

Users browsing this forum: No registered users and 0 guests