Search found 6 matches

by meiows
Tue Aug 25, 2015 10:25 pm
Forum: Support and Development
Topic: Images displaying in the WRONG order
Replies: 2
Views: 1558

Images displaying in the WRONG order

This is the final bug of my little dress up game for FEMICOM gamejam. I can't seem to get these images to draw in the right order! As this is a dress up game, order is very important. Socks should be under shoes, shirts should be over shorts and skirts. However, only one pair of socks goes under ALL...
by meiows
Mon Aug 24, 2015 11:04 pm
Forum: Support and Development
Topic: [SOLVED]Making a Dress Up Game... Have a Question!
Replies: 8
Views: 6183

Re: Making a Dress Up Game... Have a Question!

Ok, here: for i,v in ipairs(clothesImages) do love.graphics.draw(clothesImages, v.x, v.y) end clothesImages is a table, containing the various images. You can go through this table in order and draw each image. You're sort of doing that, it just needs a minor adjustment. You iterate the table using...
by meiows
Mon Aug 24, 2015 2:10 am
Forum: Support and Development
Topic: [SOLVED]Making a Dress Up Game... Have a Question!
Replies: 8
Views: 6183

Re: Making a Dress Up Game... Have a Question!

You're possibly not calling them by the correct name. How are you loading the images and how are you trying to draw them, precisely? Can you post your code? Everything is now loading with no error, the static base image is there. However, the draggable images in the table are invisible. It's like t...
by meiows
Mon Aug 24, 2015 1:12 am
Forum: Support and Development
Topic: [SOLVED]Making a Dress Up Game... Have a Question!
Replies: 8
Views: 6183

Re: Making a Dress Up Game... Have a Question!

I cannot for the life of me figure out how to replace these rectangles with my images... I load them using .newImage & i draw them using .draw yet it's saying it's expecting a drawable and not getting one. :o:
by meiows
Sun Aug 23, 2015 9:55 pm
Forum: Support and Development
Topic: [SOLVED]Making a Dress Up Game... Have a Question!
Replies: 8
Views: 6183

Re: Making a Dress Up Game... Have a Question!

I have no experience with something like this, But i'd probably implement a layer system of some kind. When you click, you loop through all the objects you clicked, and select the one on top. Here's a quickly thrown together example. You'd probably want to implement it in a more elegant way. functi...
by meiows
Sun Aug 23, 2015 8:22 pm
Forum: Support and Development
Topic: [SOLVED]Making a Dress Up Game... Have a Question!
Replies: 8
Views: 6183

[SOLVED]Making a Dress Up Game... Have a Question!

So I'm working on a drag and drop dress up game for a gamejam and this is my very first project in LOVE AND lua. I have a question about dragging and dropping... so far I've worked out a lot of the issues on my own but I can't seem to figure this one out. :cry: I need to have multiple clothing on th...