Search found 107 matches

by NoreoAlles
Thu Oct 13, 2022 1:25 pm
Forum: General
Topic: How to get my game on android
Replies: 3
Views: 2851

Re: How to get my game on android

1.option - android google play - find love for android and install it - your love project needs to be zipped, but the main file must be directly in the zip at the beginning not in a folder - throw the zip on android somewhere on the sdcard - rename it from yourprojectname.zip to .love - run it and ...
by NoreoAlles
Wed Oct 12, 2022 3:41 pm
Forum: General
Topic: How to get my game on android
Replies: 3
Views: 2851

How to get my game on android

Hey, i cant find any explanations on how to turn a .love into a file wich can be executed on android, although i know it has been anwsered already i would apprieciate help. :awesome:
by NoreoAlles
Sun Sep 18, 2022 2:42 pm
Forum: Games and Creations
Topic: Maple, the Magic Squirrel
Replies: 11
Views: 4492

Re: Maple, the Magic Squirrel

Its really fun
by NoreoAlles
Sun Sep 18, 2022 12:58 pm
Forum: Support and Development
Topic: Wraparound a Table of Tables [Solved]
Replies: 9
Views: 1671

Re: Wraparound a Table of Tables

What isn't working? The logic seem to wrap around fine. I tried drawing this on the right edge: | x | xx| x| x| | Running the simulation shows it wrapping around to the left side. Same happens vertically. Whoops, you´re right, i just messed up when counting the cell as its own neighboor! Thanks to ...
by NoreoAlles
Sun Sep 18, 2022 9:26 am
Forum: Support and Development
Topic: Wraparound a Table of Tables [Solved]
Replies: 9
Views: 1671

Re: Wraparound a Table of Tables

Here newGen = empty -- not equal, but same table, coping below makes nothing for y, xs in ipairs(empty) do for x, value in ipairs(xs) do newGen[y][x] = empty[y][x] end end I know that the code is uneccesary, but it worked when i was only checking each cell if it wasnt on the "edge"
by NoreoAlles
Sun Sep 18, 2022 9:20 am
Forum: Support and Development
Topic: Wraparound a Table of Tables [Solved]
Replies: 9
Views: 1671

Re: Wraparound a Table of Tables

Also dxys = { {x=0,y=-1}, {x=1,y=-1}, {x=1,y=0}, {x=1,y=1}, {x=0,y=1}, {x=-1,y=1}, {x=-1,y=0}, {x=-1,y=-1}, } Then x0 = 1 y0 = 1 for k, dxy in ipairs(dxys) do local x, y = x0+dxy.x, y0+dxy.y -- other code with neighbor x and y end Im still doing soemthing wrong, but cant get what. Ill just give you...
by NoreoAlles
Sun Sep 18, 2022 8:58 am
Forum: Support and Development
Topic: Wraparound a Table of Tables [Solved]
Replies: 9
Views: 1671

Re: Wraparound a Table of Tables

Thats what modulo is for. If you say wrap every USE of an objects x position in x%100 it will always act as if its limited to 0-99. Like pos1%100==pos2%100. You dont need to do that on assign, so in reality stuff can wander of the screen to near inf but the position check and renderer themself simp...
by NoreoAlles
Sun Sep 18, 2022 8:41 am
Forum: Support and Development
Topic: Wraparound a Table of Tables [Solved]
Replies: 9
Views: 1671

Wraparound a Table of Tables [Solved]

I am trying to make a wrap around cellular automaton and i am stuck on trying to make it wraparound to count a cells neighboors. totalN is the amount of neighboors with the have the value of one (alive neighboors) WIDTH and HEIGHT is reffering to the table, in the example 9*9 and i am checking each ...
by NoreoAlles
Sat Sep 17, 2022 5:57 pm
Forum: Games and Creations
Topic: Conway´s game of life [Added UI]
Replies: 7
Views: 3251

Re: Conway´s game of life

darkfrei wrote: Sat Sep 17, 2022 4:16 pm Nice! But can you please add small gui on the left side of the window.
Here you go, i made some quick and dirty ui, but i i hope it helps you on mobile
by NoreoAlles
Sat Sep 17, 2022 4:39 pm
Forum: Games and Creations
Topic: Conway´s game of life [Added UI]
Replies: 7
Views: 3251

Re: Conway´s game of life

darkfrei wrote: Sat Sep 17, 2022 4:16 pm Nice! But can you please add small gui on the left side of the window.
How did you input anything on a phone? Wow.

But yes, i am thinking of making a ui