Search found 10 matches

by papainoel14
Mon Mar 23, 2020 12:10 am
Forum: Support and Development
Topic: Black screen on start
Replies: 2
Views: 3068

Re: Black screen on start

in its main it is possible to notice that the game starts at level 0, however in the part of the draw it is noticed that only something is shown on the screen when the level is above 0, that is, until it goes out of 0 nothing will be shown. If you want something to be shown as soon as you open the g...
by papainoel14
Sun Mar 22, 2020 10:46 pm
Forum: Support and Development
Topic: Module "push" not found.
Replies: 9
Views: 8718

Re: Module "push" not found.

he was probably importing a library.
Can you tell what the push is for?
I recommend taking a look at the libraries he is using in the project.

@edit
I was able to find this one: https://github.com/Ulydev/push
try to download and require it
by papainoel14
Sun Mar 22, 2020 7:18 pm
Forum: Support and Development
Topic: problem with randomize and toggleKey
Replies: 7
Views: 7237

Re: problem with randomize and toggleKey

I created a function called debug, just to print the number generated below the player, I think I discovered the big problem, I couldn't find a solution so far. with what you said I managed to solve the problem of being called only once, but it is not yet generated for non-integer numbers If you hel...
by papainoel14
Thu Mar 19, 2020 6:03 pm
Forum: Support and Development
Topic: problem with randomize and toggleKey
Replies: 7
Views: 7237

Re: problem with randomize and toggleKey

https://love2d.org/imgmirrur/QweJywv.mp4
look at the money, it was supposed to be random but always comes the same amount
by papainoel14
Thu Mar 19, 2020 2:00 pm
Forum: Support and Development
Topic: problem with randomize and toggleKey
Replies: 7
Views: 7237

problem with randomize and toggleKey

The random in config folder is probably not randomizing anything because everything is spawned together on the tiled. Can anyone help with that? @Edit how can i make this work on mac? I don't have a mac to test function love.keypressed(key, scancode, isrepeat) if gameState == 0 and scancode == "...
by papainoel14
Wed Mar 18, 2020 2:57 am
Forum: Support and Development
Topic: resource consumption issues
Replies: 9
Views: 7187

Re: resource consumption issues

+rep
pgimeno

Ty so much :awesome:
by papainoel14
Tue Mar 17, 2020 1:23 am
Forum: Support and Development
Topic: resource consumption issues
Replies: 9
Views: 7187

Re: resource consumption issues

I decided to redo the project in a more organized way and I came across another problem of unnecessary use of resources. When you press two movement keys at the same time the resource consumption starts to go up, I could not understand the meaning. @edit I made a change, I don't remember what now, ...
by papainoel14
Sun Mar 15, 2020 5:39 pm
Forum: Support and Development
Topic: resource consumption issues
Replies: 9
Views: 7187

Re: resource consumption issues

:awesome:
I can't believe it was just that
ty you so much
pgimeno wrote: Sun Mar 15, 2020 10:50 am Yes that helped, thanks.

I've tried creating the two fonts in advance and the memory no longer kept growing.
by papainoel14
Sat Mar 14, 2020 9:47 pm
Forum: Support and Development
Topic: resource consumption issues
Replies: 9
Views: 7187

Re: resource consumption issues

I don't know if it makes any difference but I tried to upload it to git, it is more common and easy to view. I'll take a look at the yellow warning https://github.com/NinguemLPJ/gameTest Hi papainoel14, welcome to the forums. As a new member I understand that you don't have permission yet for attach...
by papainoel14
Fri Mar 13, 2020 4:11 pm
Forum: Support and Development
Topic: resource consumption issues
Replies: 9
Views: 7187

resource consumption issues

I was trying to create a game, but over the course of the game, resources will start to rise until the point of the game is consuming an unjustifiable number of resources I posted the entire code in the mega if you want just take a look https://mega.nz/#!EP4QEA7K!vY-7isgqT5YW68Wt2TYa6OAJIEGuFFta-clz...