Search found 3 matches

by thecontrarian42
Tue Aug 21, 2012 1:32 am
Forum: Support and Development
Topic: Efficient tile-based scrolling with rotation?
Replies: 4
Views: 3282

Re: Efficient tile-based scrolling with rotation?

thanks Lafolie, but that isnt what i need. when i do that it just rotates the rectangle of the screen arround the top left corner, or the x0y0 point. i need a way to rotate my viewport rectangle, not the actual screen. my viewport doesnt actually have anything to do with the drawing to the screen, i...
by thecontrarian42
Sun Aug 19, 2012 11:18 pm
Forum: Support and Development
Topic: A very simple camera lib
Replies: 36
Views: 15928

Re: A very simple camera lib

Hi! I'm pretty confused of how to make the camera scroll using the mouse (level editor). I tried several ways an possibilities. Could you show an example of scrolling with the mouse? So, if I move the mouse in the last right 25px, the camera moves right. In my tries, I always get troubles with sele...
by thecontrarian42
Sun Aug 19, 2012 11:03 pm
Forum: Support and Development
Topic: Efficient tile-based scrolling with rotation?
Replies: 4
Views: 3282

Efficient tile-based scrolling with rotation?

Hi, i'm new to love and i'm making a game similar to Realm of the Mad God. my maps are huge 2d arrays corresponding to arrays of quads and a tile atlas. ive covered the existing tutorials on the various methods of tile based scrolling, but they all lack any rotation. i've figured out how to create a...