Sprites .png

Discussion about Mods for Prison Architect

Moderator: NBJeff

Malaras
level1
level1
Posts: 18
Joined: Sun Sep 30, 2012 12:23 pm

Sprites .png

Postby Malaras » Sun Aug 02, 2015 11:28 pm

So i'm way behind on my sprites for my mod, i've tried a temporary fix just using the same sprites over again for stacks. But it cause the sprites to bug out on me any ideas why? I've used the same sprite on something else and it works fine till i use them as stack sprites then it goofs up on me. Like it's pulling partial sprites from the modded sprites.png.

Also is there a way in paint.net that anyone knows of to make a grid for the materials.txt? or some other program that could do it?

Thanks,
User avatar
aubergine18
level2
level2
Posts: 231
Joined: Sun Jul 05, 2015 3:24 pm

Re: Sprites .png

Postby aubergine18 » Thu Aug 06, 2015 12:54 am

Check out Chad's Drink Mod as he makes use of stacked sprites: http://steamcommunity.com/sharedfiles/f ... =373758059
Trixi
level2
level2
Posts: 245
Joined: Wed Mar 04, 2015 9:22 am
Location: Ulm, Germany
Contact:

Re: Sprites .png

Postby Trixi » Sun Aug 16, 2015 8:46 am

If s single mod uses a sprite with more then 1024x1024 px it bugs out.

If pa needs more space then 2048x2048 for all mods it also bugs out.

Also if u ocerwrite the generaä sprites only one will be used (ui.png etc)
User avatar
aubergine18
level2
level2
Posts: 231
Joined: Sun Jul 05, 2015 3:24 pm

Re: Sprites .png

Postby aubergine18 » Mon Aug 17, 2015 1:25 am

Yup, the situation with sprites is terrible at the moment. It's very difficult to get more than a handful of mods active before it starts failing.

I've created a motherbug of related issues: http://bugs.introversion.co.uk/view.php?id=9818
Malaras
level1
level1
Posts: 18
Joined: Sun Sep 30, 2012 12:23 pm

Re: Sprites .png

Postby Malaras » Tue Nov 17, 2015 8:31 am

Still having this issue been trying to figure it out past 2-4 days.

I just have my mod loaded for testing purposes. 512x1024 pixels canvas.I use Chads sprite thing for locations, sprites are some what loading where they are suppose to be. But still goofing up on me. Can't figure out what the issue is for the life of me lol.

Do the sprites got to be on the canvas a certain way like top to bottom or what?

Thanks,

EDIT: NM Figured it out sheeesh, DUH moment ;)
User avatar
Brento666
level3
level3
Posts: 290
Joined: Wed Sep 02, 2015 9:23 pm

Re: Sprites .png

Postby Brento666 » Tue Nov 17, 2015 12:24 pm

Malaras wrote:Still having this issue been trying to figure it out past 2-4 days.

I just have my mod loaded for testing purposes. 512x1024 pixels canvas.I use Chads sprite thing for locations, sprites are some what loading where they are suppose to be. But still goofing up on me. Can't figure out what the issue is for the life of me lol.

Do the sprites got to be on the canvas a certain way like top to bottom or what?

Thanks,

EDIT: NM Figured it out sheeesh, DUH moment ;)


->Did you miss direct the top left of the right-most-sprite of your stacks? Then you randomly get 'out of range' sprites indeed :D I do it on purpose in one of my stacks definitions atm even, as it's a bit un-refined atm (my 'reposition chairs' tool from paints, upgrade and mini upgrade)
- I will change it to a better logical looking complete stack soon though :D

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 6 guests