boberski Posted July 22, 2021 Share Posted July 22, 2021 Is there a way and if it is than how to use player/monster/etc sprites that are bigger. I would like to use sprotes from unity asset: https://assetstore.unity.com/packages/2d/characters/fantasy-heroes-4-directional-character-editor-147364  Also I would lite to use the same more hi rez sprotes for background, anims etc. Nick 1 Link to comment Share on other sites More sharing options...
1 Arufonsu Posted July 24, 2021 Share Posted July 24, 2021 (edited) On 7/22/2021 at 6:42 PM, Nick said: Hi bro, I have this asset it's really good, my sprite is 3x bigger than a standard engine, I don't know if that's what you really wanted to know, any questions call me on discord. uh, i discourage selling and offering assets (or anything at all) openly though discord and forums, there are other platforms for creators and artists where they may sell and advertise their assets with the proper licensing and everything, which is safer legally and monetary speaking.  Also, @boberski isn't looking to buy another asset pack, but to know how to set up the engine with bigger ones than the default 32x32 ones. Please, take a read read here in order to understand how to make this happen. If you have sprites that are 2x bigger than lets say, the default 32x32 px sprites, then you might want to change these values up (the file is at server\resources\config.JSON) in order to make them fit your needs regardless that unity asset you got for yourself already.  Now, in theory, you could simply leave these values at their default, and simply use the bigger assets, they will simply feel "bigger" to what client will be rendering, and of course, they may look a bit off at times since they will cover more than one tile around them. You may end up playing with the values a bit until you find what suits them better.  Good luck! Edited July 24, 2021 by Arufonsu mentions the location of the server config file. Link to comment Share on other sites More sharing options...
0 Nick Posted July 22, 2021 Share Posted July 22, 2021 Hi bro, I have this asset it's really good, my sprite is 3x bigger than a standard engine, I don't know if that's what you really wanted to know, any questions call me on discord.  Embedded Video Link  HelenaToDev 1 Link to comment Share on other sites More sharing options...
0 boberski Posted July 23, 2021 Author Share Posted July 23, 2021 Not exactly that but it is cool :)  you see that player sprite is the same size even if file is bigger. I want to know how to resize in game characters, bounding boxes etc. Also when you create npc from a big sprite is big in the game to. Link to comment Share on other sites More sharing options...
0 Blinkuz Posted July 24, 2021 Share Posted July 24, 2021 Adding what Aru said in the last comment, it should be mentioned that although the sprite looks bigger, the collisions will continue to be the size of its tile, if its character is 64x64 and its floor 32x32 then the character will only receive damage / interact in the block of feet equivalent to 32x32 Link to comment Share on other sites More sharing options...
0 boberski Posted July 24, 2021 Author Share Posted July 24, 2021 Soo I need to change sourcecode to achieve my goal? Link to comment Share on other sites More sharing options...
0 boberski Posted July 24, 2021 Author Share Posted July 24, 2021 Ok it worked but still bounding boxes are small Link to comment Share on other sites More sharing options...
0 Arufonsu Posted July 24, 2021 Share Posted July 24, 2021 On 7/24/2021 at 11:48 AM, boberski said: Soo I need to change sourcecode to achieve my goal? Noope. just added to the first answer the following location of the file that you should edit and have saved before you launch the server again: On 7/23/2021 at 9:02 PM, Arufonsu said: server\resources\config.JSON Also, if you change these values up by too much, you might have a hard time using the editor there's also the alternative path which involves change/reduce your asset sizes with the right tools in order to properly fit this engine default sizes. in my experience you may get better results on this engine with sprites that go from 32x32, 48x48 and up to 64x64. on which cases you may vary around the vertical axis (Y) to give "tallness" to characters, but always trying to stay within your horizontal (X) axis limits that you decide to set up. Â On 7/24/2021 at 12:42 PM, boberski said: Ok it worked but still bounding boxes are small Not sure if you are talking about the tiles or the target boxes here, just in case its the last one, in the following location: you may find this. notice that is 32 px tall, never personally edited it, but i assume that you want have to when it comes to fit for bigger tiles. i may be wrong tho, since i haven't paid attention to this one. Â Regardless the tileset sizes, everything about them has been mentioned, just make sure you know the sizes of your sprites, in order to properly change your server settings. Link to comment Share on other sites More sharing options...
Question
boberski
Is there a way and if it is than how to use player/monster/etc sprites that are bigger. I would like to use sprotes from unity asset:Â https://assetstore.unity.com/packages/2d/characters/fantasy-heroes-4-directional-character-editor-147364
Â
Also I would lite to use the same more hi rez sprotes for background, anims etc.
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now