Search found 7 matches
- Thu Jan 07, 2010 10:38 pm
- Forum: Support and Development
- Topic: Camera in 0.6.0
- Replies: 18
- Views: 13865
Re: Camera in 0.6.0
Igor: it still doesn't do anything. that is for a mouse-based camera, right? I'm not using that.
- Thu Jan 07, 2010 3:40 pm
- Forum: Libraries and Tools
- Topic: Animations And LÖVE (AnAL) - The animations replacement lib
- Replies: 71
- Views: 60460
Re: Animations And LÖVE (AnAL) - The animations replacement lib
That works perfectly. Thanks!
Attached is me following your sage advice + the character can walk around on the screen. Hopefully this will help others who are trying to do something similar.I have the margin set to -10 (to enable screen scrolling.) Should I put this in the demos section?
Attached is me following your sage advice + the character can walk around on the screen. Hopefully this will help others who are trying to do something similar.I have the margin set to -10 (to enable screen scrolling.) Should I put this in the demos section?
- Thu Jan 07, 2010 1:52 pm
- Forum: Libraries and Tools
- Topic: Animations And LÖVE (AnAL) - The animations replacement lib
- Replies: 71
- Views: 60460
Re: Animations And LÖVE (AnAL) - The animations replacement lib
I've got an image with 4 columns and 3 rows (in attached love file) I want to use the top row of sprites for facing different directions, and the 2+3 rows for walking animations. I have got the directional stuff working, but it won't switch to "walking" mode. I think the reason is that I a...
- Wed Jan 06, 2010 7:30 pm
- Forum: Support and Development
- Topic: Camera in 0.6.0
- Replies: 18
- Views: 13865
Re: Camera in 0.6.0
No problem. Your post on the other message seems like a better way to do it, actually. I like the idea of just displaying visible tiles of the map. Seems like it could handle much bigger maps pretty efficiently. thanks for your help.
- Wed Jan 06, 2010 5:39 pm
- Forum: Support and Development
- Topic: Drawq, am I missing something?
- Replies: 3
- Views: 3715
Re: Drawq, am I missing something?
I liked that tileset (except that it doesn't have proper alpha) and wanted to use the tiled visible property that is built-in, rather then a custom property. See my attached example. I include the tmx file, so you can see how I made it. I have a hidden layer, which contains all the items hiding in b...
- Wed Jan 06, 2010 4:42 pm
- Forum: Support and Development
- Topic: Drawq, am I missing something?
- Replies: 3
- Views: 3715
Re: Drawq, am I missing something?
I have an example that loads tiled maps. I don't have camera/player moving around stuff working, yet (maybe someone has an idea) but it uses drawq() correctly to draw the maps. The basic idea is that you make a quad with love.graphics.newQuad() that is the viewport and knows how big the full image i...
- Wed Jan 06, 2010 5:20 am
- Forum: Support and Development
- Topic: Camera in 0.6.0
- Replies: 18
- Views: 13865
Camera in 0.6.0
I can't seem to make it work right... I am making a tiled map-loader, and I want it to load the entire map into screen mem, then scroll the camera around it, following the player. Here is how I am using it: require("camera.lua") player_location = {386, 626} step_size = 10 function love.loa...