Search found 8 matches

by jumptrigger
Sat Jul 30, 2022 7:37 pm
Forum: Support and Development
Topic: Rotating Pixel Art
Replies: 6
Views: 2498

Re: Rotating Pixel Art

I just decided to scale the image and it looks better
by jumptrigger
Sat Jul 30, 2022 4:55 pm
Forum: Support and Development
Topic: Rotating Pixel Art
Replies: 6
Views: 2498

Re: Rotating Pixel Art

So?
1. rotate by center of sprite
1a. find what color was at the 4 points when not rotated, but which 4 points?
1b. not sure what you mean
by jumptrigger
Sat Jul 30, 2022 12:04 am
Forum: Support and Development
Topic: Rotating Pixel Art
Replies: 6
Views: 2498

Re: Rotating Pixel Art

Thanks for the help. Is this really the only way what if I want to make lots of ships?
by jumptrigger
Fri Jul 29, 2022 11:16 pm
Forum: Support and Development
Topic: Rotating Pixel Art
Replies: 6
Views: 2498

Rotating Pixel Art

I'm making a shooter game and I have really small sprite 9x9, the problem is when I rotate them it gets distorted. How exactly do I fix this? https://ucb952bf5e29582ed8041d54ab4a.previews.dropboxusercontent.com/p/thumb/ABnPXDs6YEXVsVlxoNsxkAi7XDOpe7bkn_xknC9VK-xbsDFiblajBKa5FShvrKLa-XFqO9gtJ8CG_vzh7...
by jumptrigger
Thu Sep 30, 2021 6:40 pm
Forum: Support and Development
Topic: [Solved] Different Uses of Spritebatches
Replies: 2
Views: 2756

Re: [Solved] Different Uses of Spritebatches

Thanks for the help.
by jumptrigger
Thu Sep 30, 2021 6:30 am
Forum: Support and Development
Topic: [Solved] Different Uses of Spritebatches
Replies: 2
Views: 2756

[Solved] Different Uses of Spritebatches

I was wondering if I have multiple tilesets if I have to use different spritebatches for each? So 5 tilesets = 5 spritebatches? I'm guessing I don't need it for single images like a barrels that I don't render to much but do I need it for animations?

Is there other ways to use it?
by jumptrigger
Thu Sep 30, 2021 3:56 am
Forum: Support and Development
Topic: Tilemap rotated in the wrong orientation
Replies: 3
Views: 2625

Re: Understanding spritebatch and quads

I think I have figured out how spritebatches work, so i was wondering if I have to make a spritebatch for every tileset or can I combine them all into one?
by jumptrigger
Wed Sep 29, 2021 7:26 pm
Forum: Support and Development
Topic: Tilemap rotated in the wrong orientation
Replies: 3
Views: 2625

Tilemap rotated in the wrong orientation

Hi I was going of the example here: https://love2d.org/wiki/Tutorial:Efficient_Tile-based_Scrolling Instead of random tiles I used a table of strings to create a map but its rotated in the wrong orientation. I can't get it to face the right direction. Here is the code with only setupMap(), setupMapV...