Hello,
I am trying to make an 8 bit style platformer with shooting. I have gotten the jumping to a point where it feels pretty good, but I am trying to implement a scrolling tile system. The one that seems good is AdvTiledLoader. I tried to use it in my code, but it breaks the game, and I don't know why/how.
If you can point me in the right direction, I would appreciate it.
I think that it has something to do with the way that the tutorial I used for jumping draws the world. Somehow the world is the screen cut in half. I don't really understand how this works. I just want to be able to load my guy into a tile based level.
Also I guess, since I am here, could you explain why my camera:scale() won't work? I tried to use it and I can tell the game just infinitely zooms in whenever the value is anything else than 1. I think if I could understand how to draw ground for my guy to stand on, instead of the weird way that the tutorial used it, I would probably make a lot of progress and fix these things.
Cheers.
How to load tilemaps?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 3
- Joined: Sun Apr 13, 2014 10:22 pm
How to load tilemaps?
- Attachments
-
Super Power - working.love
- (63.49 KiB) Downloaded 111 times
-
Super Power - broken.love
- (64.46 KiB) Downloaded 110 times
-
- Prole
- Posts: 3
- Joined: Sun Apr 13, 2014 10:22 pm
Re: How to load tilemaps?
All right. So, I wasn't able to fix my problem 100%, but I was able to kind of do what I want. The thing is, what I am trying to do is have the dude on the green ground. He is stuck 64 pixels from the top of the screen. I am not sure what to do from here.
Thanks again.
Thanks again.
- Attachments
-
- kinda working.zip
- (63.84 KiB) Downloaded 108 times
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 3 guests