Search found 7 matches

by Divinity
Thu Dec 19, 2024 2:17 pm
Forum: Support and Development
Topic: android port
Replies: 0
Views: 522

android port

im building a game, but instead of just for pc, i wanted it also for android It's mostly using mouse clicking, so im guessing it shouldnt be too bad to port? how does it work, any constraints? and can i check if the game is being played on pc vs android? any recommended resolutions or other things t...
by Divinity
Wed Dec 18, 2024 4:29 pm
Forum: Support and Development
Topic: enemy/projectile collisions stops working when colliding with 2 or more bullets
Replies: 5
Views: 1157

Re: enemy/projectile collisions stops working when colliding with 2 or more bullets

also, careful with organized tables loops (such as ipairs), because when you remove an item while iterating (like on your line 25), the next iteration index has been moved 1 down. I would recommend iterating end-to-start https://stackoverflow.com/questions/12394841/safely-remove-items-from-an-array-...
by Divinity
Sun Dec 01, 2024 5:03 pm
Forum: Support and Development
Topic: encrypted save
Replies: 6
Views: 1376

encrypted save

I was wondering what would be a good approach to handling save/load data?
Can you encrypt those files? I heard it's really easy to open the source of LOVE projects, so i imagine it would be easy for users to cheat by editing the save file variables (?)
by Divinity
Sat Nov 23, 2024 9:53 pm
Forum: Support and Development
Topic: quad resize
Replies: 5
Views: 1246

Re: quad resize

i read, problem is it doesnt always explain what each thing mean/does, and examples dont always use all things (obviously)
trying to find examples with quad's SX SY OX OY KX KY whatever they mean lol

my resized quad is being drawn on another position, not being drawn at cursor coordinates :(
by Divinity
Sat Nov 23, 2024 4:09 pm
Forum: Support and Development
Topic: quad resize
Replies: 5
Views: 1246

Re: quad resize

https://imgur.com/43sPEUx (image not showing? https://imgur.com/43sPEUx ) in my example, i made a quad on my cursor (position 64, 128), which is the tileset's 10th sprite but how to set a custom size? let's say i want that same one, but sized 50x50 local parent_effect = GRAPHICS.newImage("spri...
by Divinity
Sat Nov 23, 2024 12:53 am
Forum: Support and Development
Topic: quad resize
Replies: 5
Views: 1246

quad resize

im creating an animation by caching quads from a tileset of 256*256 this means it's 16 frames of 64*64 images question is, im not sure im understanding how quads work. if i create this animation (eg.: on my cursor's position), will the animation be made of 64*64 images because each quad is that size...
by Divinity
Sat Nov 23, 2024 12:48 am
Forum: Support and Development
Topic: i might need help as a new love2d user
Replies: 7
Views: 1556

Re: i might need help as a new love2d user

I think you forgot

Code: Select all

src1:play()
after creating the sound