Search found 124 matches

by Nelvin
Wed Feb 12, 2020 8:27 am
Forum: Support and Development
Topic: [Proposal] Better multimedia formats.
Replies: 36
Views: 39678

Re: [Proposal] Better multimedia formats.

Well IMO the actual value of such a format (if I don't get anything wrong about it in general) is that you for sure would not want to decode all the frames of an animation upfront into textures/texture atlases but on demand (code controlled) as you use the animation. As already written, think of any...
by Nelvin
Tue Feb 11, 2020 7:24 am
Forum: Support and Development
Topic: [Proposal] Better multimedia formats.
Replies: 36
Views: 39678

Re: [Proposal] Better multimedia formats.

I can easily imagine games where such formats would be a decent option compared to regular animsheets. Like all kinds of partialbackground/layer/item etc. animations for point & click adventures, visual novels, hidden object games etc. Of course you can use every frame as a decompressed one on t...
by Nelvin
Sat Feb 08, 2020 6:00 pm
Forum: Games and Creations
Topic: And yet it hurt
Replies: 2
Views: 7797

Re: And yet it hurt

This is such a cool and unique idea - I really like it.

No idea if it's of any use, but I instantly got reminded of https://www.gridsagegames.com/rexpaint/
by Nelvin
Fri Feb 07, 2020 5:11 pm
Forum: Libraries and Tools
Topic: [11.3] AdMob support for Android + EU Consent
Replies: 106
Views: 269999

Re: [11.3] AdMob support for Android + EU Consent

Haven't used it so far, but I hope I'll at some point. Thanks for the update.
by Nelvin
Mon Jan 27, 2020 6:19 am
Forum: Support and Development
Topic: How can I encode images into a string?
Replies: 2
Views: 3136

Re: How can I encode images into a string?

You can use imageData:getString and use the result with data.encode to get a base64 encoded string. Later on just reverse the operation with data.decode and image.newImageData
by Nelvin
Mon Jan 06, 2020 11:06 am
Forum: General
Topic: How do I center an image when moving
Replies: 3
Views: 6428

Re: How do I center an image when moving

Sorry ... hehe I made a small mistake with the parameters (that's when you just type in the forum) but you also copied it wrong (you missed a comma). This way should work :) love.graphics.draw(peng, peng_x, peng_y, 50.2, 1, 1, peng:getWidth()/2, peng:getHeight() ) In your original code you had xscal...
by Nelvin
Mon Jan 06, 2020 6:09 am
Forum: General
Topic: How do I center an image when moving
Replies: 3
Views: 6428

Re: How do I center an image when moving

Stuff is rendered relative to the top/left of what you draw. To change this, you can use the origin parameters in the draw command, like so.

Code: Select all

love.graphics.draw(peng, peng_x, peng_y, 50.2, 0.1, 0, peng:getWidth()/2, peng:getHeight() )
by Nelvin
Tue Dec 31, 2019 8:44 am
Forum: General
Topic: Looking for a codebase to study
Replies: 10
Views: 10724

Re: Looking for a codebase to study

Your game looks great - if that's your second game at all it'll be fun to see what you're going to create in a few years from now.
Great art style too.
by Nelvin
Fri Dec 27, 2019 6:35 am
Forum: General
Topic: Looking for a codebase to study
Replies: 10
Views: 10724

Re: Looking for a codebase to study

The sources for https://store.steampowered.com/app/7735 ... Dev_Studio can be found here http://www.gamedevstudiogame.com/

Should fit your own planned game pretty good.