hey, so i got a problem with changing the position of a map by drawing the map like: map:draw(0,10), the map is going down but the pixles are also cutting.
how do i change the map position without losing its pixle.
this is my code,plz help
How do i change my map position without losing the pixle
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- NoreoAlles
- Party member
- Posts: 130
- Joined: Mon Jan 03, 2022 5:42 pm
Re: How do i change my map position without losing the pixle
Could you clarify what you mean by cutting the pixels?
Do you want to move the colliders with the map or do you mean the brown tiles at the bottom not being drawn anymore?
Please post a .love of your game with all the neccesary files to run it
Do you want to move the colliders with the map or do you mean the brown tiles at the bottom not being drawn anymore?
Please post a .love of your game with all the neccesary files to run it
"Why do they call it oven when you of in the cold food of out hot eat the food?" - Jon Arbuckle
Re: How do i change my map position without losing the pixle
yea, the brown tiles are not drawn properly.NoreoAlles wrote: ↑Wed Mar 29, 2023 11:27 pm Could you clarify what you mean by cutting the pixels?
Do you want to move the colliders with the map or do you mean the brown tiles at the bottom not being drawn anymore?
Please post a .love of your game with all the neccesary files to run it
- NoreoAlles
- Party member
- Posts: 130
- Joined: Mon Jan 03, 2022 5:42 pm
Re: How do i change my map position without losing the pixle
I hope this is what you wanted, in the Draw function i changed this line:
to this
I hope that is what you meant.
Impressive lighting by the way, looks real nice
Code: Select all
gameMap:draw(0,0)
Code: Select all
gameMap:draw(0,24)
Impressive lighting by the way, looks real nice
"Why do they call it oven when you of in the cold food of out hot eat the food?" - Jon Arbuckle
Re: How do i change my map position without losing the pixle
no, thats not what i meant, thanks
Who is online
Users browsing this forum: Bing [Bot], CutePenguin and 7 guests