Search found 44 matches

by eqnox
Fri Mar 17, 2017 3:55 am
Forum: Support and Development
Topic: help with movement
Replies: 7
Views: 6314

Re: help with movement

Ah I saw my mistake in my last bit of code i posted function love.update() if love.keyboard.isDown("w") then if love.keyboard.isDown("lshift") then py = py - 3 else py = py - 1 end end if love.keyboard.isDown("s") then if love.keyboard.isDown("lshift") then py...
by eqnox
Fri Mar 17, 2017 3:47 am
Forum: Support and Development
Topic: help with movement
Replies: 7
Views: 6314

Re: help with movement

So I did this

Code: Select all

  if love.keyboard.isDown("w") then
    if love.keyboard.isDown("lshift") then
      py = py - 3
    end
    else
      py = py - 1
    end
  end
but my player just started going up without any key press
by eqnox
Fri Mar 17, 2017 3:06 am
Forum: Support and Development
Topic: help with movement
Replies: 7
Views: 6314

help with movement

So I was working on a bit of code for player movement and I wanted to add the option to be able to hold shift to sprint function love.update() if love.keyboard.isDown("w") then py = py - 1 end if love.keyboard.isDown("s") then py = py + 1 end if love.keyboard.isDown("a"...
by eqnox
Thu Mar 16, 2017 6:19 pm
Forum: Support and Development
Topic: Ideas?
Replies: 10
Views: 7651

Re: Ideas?

I was thinking more game wise
by eqnox
Thu Mar 16, 2017 5:58 pm
Forum: Support and Development
Topic: Ideas?
Replies: 10
Views: 7651

Ideas?

I recently got back into coding but I am having the same problem as when I left. What should I make? I dont really have any ideas. So ideas would be appreciated, nothing super complex but just something to work on.
by eqnox
Mon Mar 13, 2017 7:01 pm
Forum: Support and Development
Topic: Spawning multiple objects
Replies: 2
Views: 3566

Re: Spawning multiple objects

Thanks so much for that help!
by eqnox
Mon Mar 13, 2017 5:53 pm
Forum: Support and Development
Topic: Spawning multiple objects
Replies: 2
Views: 3566

Spawning multiple objects

Could someone give my code a once over and see if they can see why it isnt working. It is supposed to spawn a black box on mouse click and should be able to do multiple of them. I don't know if I am drawing them wrong and that's why I can't see them. Help would be much appreciated!
by eqnox
Sat Sep 19, 2015 12:37 pm
Forum: Support and Development
Topic: how to get the block to spawn multiple times a second
Replies: 4
Views: 2901

Re: how to get the block to spawn multiple times a second

I'd suggest trying the most obvious thing first, and if it doesn't give the behavior you expect, share what you tried, what you expected and what you observed. Showing the solutions you've attempted will give people context so they can help you more easily. In this case, the most obvious thing migh...
by eqnox
Sat Sep 19, 2015 1:13 am
Forum: Support and Development
Topic: how to get the block to spawn multiple times a second
Replies: 4
Views: 2901

how to get the block to spawn multiple times a second

The title explains a lot. I want to be able to spawn the block below many times a second and they all be different blocks in the world, not just the same block. They will all have the same attributes of block1 but I want to be able to spawn in mass amounts of them, preferably a few a second whilst t...