Tileset 32x32

Tobben2111

  • Posts: 185
Hi!

I am trying to come back to stencyl after 1 and a half year. D:

I'am trying to make a tileset of 32x32 tiles.

480x320 screen size, scene properties: tile width and height 32

Tilset image size: 1920x1280, tiles 128x128
Imported scale 4, no smoothing, tile width and height 32

Scene viewer result:


In game result:


What I'am doing wrong? I make everything x4 the size I want.

stefan

  • *
  • Posts: 2263
If you are making a flash game, first get rid of all scaling options since that is only neccesary for mobile development =)
Check out my video for more info >> https://www.youtube.com/watch?v=-DFdElPs9aM

Tobben2111

  • Posts: 185
I will watch the video :) Working on a PC/mobile game.

- Tobben

Tobben2111

  • Posts: 185
Subbed to your channel :)



Orange is a actor(128x128) imported 4x
Those two other colors is tileset 128x128ea imported 4x.

So why are the size different?
If I import the orange(128x128) to a tilset where I only have one image it works. But when I add one more image, it won't.

stefan

  • *
  • Posts: 2263
Make sure to keep your tilesize of the scene the same as your actuall tilesizes

Tobben2111

  • Posts: 185

480x320 screen size, scene properties: tile width and height 32

Tilset image size: 1920x1280, tiles 128x128
Imported scale 4, no smoothing, tile width and height 32
Witch is x4 game screen

I have also tried 480x320, import 4x(just to test xD, for some reason, result was the same)

Tobben2111

  • Posts: 185
Can somebody try this image as tileset import x4, do you get same result as me?

Tobben2111

  • Posts: 185
Bump :) Would be nice to know, so I can start drawing :)

Tobben2111

  • Posts: 185
Still stuck, looks like more ppl find tileset confusing. Doesn't looks like it follows the same logic as actors.

I am trying to import stuff as x2 now. But getting similar problems as x4. Is it a bug or the fault is mine?

Scene size: 480x320
Tile size 32(width and height)
Tileset size(960x640 witch is x2 480x320)
Tile size 64x64(witch is x2 32x32)
Import image x2

What am I doing wrong? : 3

stefan

  • *
  • Posts: 2263
I thought I did a video on that before but turns out I didnt. So guess what I will be doing in the next hour or so =p

Tobben2111

  • Posts: 185
Sweet ^_^ looking forward to the vid :)

stefan

  • *
  • Posts: 2263
Check out my stencyl page. You can find it there =)

Tobben2111

  • Posts: 185
I think that video helped me with my problem :) A bit short of time atm, but will play more with it later on. :) Thx for taking your time to make a video.

For other ppl with tileset problems, here is the video:
https://www.youtube.com/watch?v=1XXRy-HYEFU

stefan

  • *
  • Posts: 2263
That timing hahaha