Search found 98 matches

by Nelvin
Mon Jan 06, 2020 11:06 am
Forum: General
Topic: How do I center an image when moving
Replies: 3
Views: 307

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: 307

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: 1238

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: 1238

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.
by Nelvin
Wed Oct 30, 2019 4:53 pm
Forum: Games and Creations
Topic: Max Downforce - arcade racer
Replies: 15
Views: 4856

Re: Max Downforce - arcade racer

This looks fantastic - triggers my memories for the Lotus Turbo Esprit games on the Amiga. Also it's pretty cool to see how extremely lowres your assets are and how great the game looks even on a typical sized modern display (those games back then had quite a lot of additional "hardware" filtering d...
by Nelvin
Mon Oct 28, 2019 10:31 am
Forum: General
Topic: LÖVE 11.3 released!
Replies: 35
Views: 43964

Re: LÖVE 11.3 released!

Thanks a lot for all the effort and work done on Löve (still using 0.10.2 but looking forward to move over to 11.x eventually)
by Nelvin
Thu Oct 10, 2019 5:41 pm
Forum: General
Topic: Lua encoding
Replies: 13
Views: 3701

Re: Lua encoding

My projects are always so big I would like to have some protection. Then after some time after the release I could release the code so people can mod it but at start I would like to have the source closed. Or partly open source, for modding. May I ask to see any of your previous projects just to ge...
by Nelvin
Sat Oct 05, 2019 7:35 pm
Forum: General
Topic: Distributing lua files
Replies: 21
Views: 4690

Re: Distributing lua files

Steam DRM is optional - here's a list of exceptions
https://steam.fandom.com/wiki/List_of_DRM-free_games
by Nelvin
Fri Sep 20, 2019 6:26 am
Forum: Support and Development
Topic: Best method to implement 9 slice?
Replies: 3
Views: 1223

Re: Best method to implement 9 slice?

It's more efficient as changing the scissorrect will stop batching, so you'll create 9 draw calls. Also using scissors will be more complicated to implement as scissors are in screen coordinates, i.e. pixels, so you'd have to do more transformation work on your coordinates (in case you use any scali...
by Nelvin
Sat Aug 31, 2019 3:10 pm
Forum: Support and Development
Topic: Highly-nested table is causing weird errors...
Replies: 11
Views: 2712

Re: Highly-nested table is causing weird errors...

There's nothing to argue here, you made a bug (we all do, I got my first job in gamedev in 1996 and on any current day, if I write a serious amount of code I create bugs) but instead of trying to fix it/understand what you did wrong you're leaving with useless and wrong statements about Lua. It's no...