Search found 29 matches

by Seth144k
Thu Mar 17, 2022 3:27 am
Forum: Support and Development
Topic: I lost the source...
Replies: 3
Views: 2353

Re: I lost the source...

ok so i fixed it
steps:
I turned the exe into a .love file
i turned the new love file into a 7z file
I then used 7-zip to unzip it (because windows wouldnt work)
and then there you go you have the source
by Seth144k
Thu Mar 17, 2022 3:19 am
Forum: Support and Development
Topic: I lost the source...
Replies: 3
Views: 2353

Re: I lost the source...

it says that game2.zip is invalid is there any other way?
by Seth144k
Thu Mar 17, 2022 1:59 am
Forum: Support and Development
Topic: I lost the source...
Replies: 3
Views: 2353

I lost the source...

I recently released my game on itch (https://seth144k.itch.io/myfirstgame) but I want to keep working on it but the problem is that I liost the source... Im such an idiot I was planning on making the game open source anyways so you can peek at the source if you want but can someone decompile the fil...
by Seth144k
Fri Mar 04, 2022 9:37 pm
Forum: Support and Development
Topic: the game state wont change
Replies: 2
Views: 1922

Re: the game state wont change

i actually fixed it! I wanted to change game.state to where it wouldnt spawn in any more enemys but it wasnt working. I fixed it by using integers instead of strings as the states. But yeah I do think i couldve been a little more clearer sorry about that
by Seth144k
Fri Mar 04, 2022 6:16 pm
Forum: Support and Development
Topic: the game state wont change
Replies: 2
Views: 1922

the game state wont change

So i'm actually getting pretty far with my game but for some reason im stuck on getting the state to change here is my love file. Also im so sorry for the unorganized code this is my first real game with Love2D and just a framework in general
by Seth144k
Tue Mar 01, 2022 9:17 pm
Forum: Support and Development
Topic: Why do they keep going to the same position
Replies: 7
Views: 2861

Re: Why do they keep going to the same position

thank you for helping me make it better but how can I do random generation? I just want it to spawn at a fixed y axis but always have the x value be random and i want it to spawn every 0.1 seconds. I got the actual generation working with a random value but no matter what happens the enemies get spa...
by Seth144k
Tue Mar 01, 2022 7:22 pm
Forum: Support and Development
Topic: Why do they keep going to the same position
Replies: 7
Views: 2861

Re: Why do they keep going to the same position

oh wait actually it makes the enemies freak out and glitch all over the screen how can i make it so that they just stay where their random number picked
by Seth144k
Tue Mar 01, 2022 6:40 pm
Forum: Support and Development
Topic: Why do they keep going to the same position
Replies: 7
Views: 2861

Re: Why do they keep going to the same position

i updated it with

Code: Select all

function enemy:load()
    enemy.spawnTime = 0.1
    enemy.x = love.math.random(0, 800)
    enemy.y = 50
    enemy.w = 20
    enemy.h = 20
    table.insert(enemies, enemy)
    table.insert(enemies, enemy)
end
and it does the same thing as before
by Seth144k
Tue Mar 01, 2022 5:49 pm
Forum: Support and Development
Topic: Why do they keep going to the same position
Replies: 7
Views: 2861

Why do they keep going to the same position

So right now I'm trying to work on an enemy spawner I want the y to be the same but the x needs to be random. It is random and they are being spawned... But at the same spot. I've tried changing the seed but it still doesn't work. can anyone please help here is my love file
by Seth144k
Mon Feb 28, 2022 7:17 pm
Forum: Support and Development
Topic: Help with collisions
Replies: 4
Views: 2158

Re: Help with collisions

quick question, how do I make it destroy the enemy? I got it to destroy the bullet on collision but the enemy just doesn't react at all