Search found 9 matches

by Kitsune64
Tue Dec 13, 2022 10:32 am
Forum: Support and Development
Topic: Android - Low resolution pixel perfect rendering?
Replies: 4
Views: 2555

Re: Android - Low resolution pixel perfect rendering?

Hi I have done one love file that run well on Android but not on Windows about the screen rendering. It calculate the best scale for fit in screen in 1:1 and centering the game on Android (not on Windows and I don't know why) You can try it! Here an exemple with VGA resolution 320x200 but you can ch...
by Kitsune64
Sun May 15, 2022 5:10 pm
Forum: Games and Creations
Topic: Creating a checkers game. Here is my source.
Replies: 3
Views: 2367

Re: Creating a checkers game. Here is my source.

Hi! for jumping on other player is some "if" conditions that check if the black player/white player is "takable" by checking all possibility in the main array. You can see in my example some trick; for now the white player is cappable of some move and can take black player frome ...
by Kitsune64
Sun May 08, 2022 8:39 pm
Forum: Games and Creations
Topic: Creating a checkers game. Here is my source.
Replies: 3
Views: 2367

Creating a checkers game. Here is my source.

I started creating a checkers game. It's far from finished but I give the sources...Maybe it will inspire someone.
So far only a few moves are possible, especially for white pawns.
by Kitsune64
Tue Nov 02, 2021 6:02 pm
Forum: General
Topic: How to work with multiple pictures and variables name?
Replies: 2
Views: 4278

Re: How to work with multiple pictures and variables name?

Hi,thanks

yes I think the table pictures must be global but filenames, settings can be local. I will test it.

-----------------------------------

That's work with a global table for pictures.

Thanks.
by Kitsune64
Tue Nov 02, 2021 5:03 pm
Forum: General
Topic: How to work with multiple pictures and variables name?
Replies: 2
Views: 4278

How to work with multiple pictures and variables name?

Hi, How to work with multiple pictures without copy paste a code? example: picture1=love.graphics.newImage( filename1, settings ) picture2=love.graphics.newImage( filename2, settings ) picture3=love.graphics.newImage( filename3, settings ) In my code I want to call picture"Number1" and aft...
by Kitsune64
Mon Jul 12, 2021 5:07 pm
Forum: General
Topic: Initialise manually a table with 2 or 3 dimensions.
Replies: 7
Views: 7208

Re: Initialise manually a table with 2 or 3 dimensions.

Maybe, or it sure...Now that work well. Thanks.
by Kitsune64
Mon Jul 12, 2021 4:56 pm
Forum: General
Topic: Initialise manually a table with 2 or 3 dimensions.
Replies: 7
Views: 7208

Re: Initialise manually a table with 2 or 3 dimensions.

Ho yes your solution work! Thanks!
by Kitsune64
Mon Jul 12, 2021 4:54 pm
Forum: General
Topic: Initialise manually a table with 2 or 3 dimensions.
Replies: 7
Views: 7208

Re: Initialise manually a table with 2 or 3 dimensions.

Ok I found a solution I must initialize room[1] and room[2] before initialize the others

Code: Select all

room[1]={}
room{2}={}
Don't really know why..
by Kitsune64
Mon Jul 12, 2021 3:38 pm
Forum: General
Topic: Initialise manually a table with 2 or 3 dimensions.
Replies: 7
Views: 7208

Initialise manually a table with 2 or 3 dimensions.

Hi, I have a trouble about initialise a table with 2 dimensions...How can I do it manually? My code: room[1][1]="Tappez commencer ou quitter" room[1][2]="alice.png" room[2][1]="Il était une fois dans un autre monde..." room[2][2]="start.png" That make an error...