Search found 10 matches

by n1ghtk1n9
Sat Jan 26, 2013 2:47 am
Forum: Support and Development
Topic: Entity moving to a x position, not a y
Replies: 1
Views: 1449

Entity moving to a x position, not a y

Sorry for the horrible title, I didn't know how to explain it.

I'm trying to make it so a entity(that randomly spawns) moves to another randomly generated x and y position, but for some reason, it's only shifting to the X position, not the Y

Also, how can I get it so that the entity moves slower?
by n1ghtk1n9
Sat Jan 26, 2013 2:36 am
Forum: Support and Development
Topic: My time not printing to the screen but is working with print
Replies: 4
Views: 2995

Re: My time not printing to the screen but is working with p

You're missing a few variables, you're not defining where on the screen you want to print that, and you must not have defined what timer is, because it is say it is "nil", or nothing To print it correctly, you should do love.graphics.print(timer, 256, 512) The 256 and 512 are the X and Y c...
by n1ghtk1n9
Sat Jan 26, 2013 12:49 am
Forum: Support and Development
Topic: Should I use or not use Love Physics
Replies: 1
Views: 3435

Should I use or not use Love Physics

I don't think the title is grammatically correct, but that doesn't matter I've been thinking for quite a while now, and I've researched here and there and have seen many different opinions. Some people say to not use the Love physics, but some people say to use it. I'm kind of leaning on not using, ...
by n1ghtk1n9
Sun Jan 20, 2013 10:08 pm
Forum: Support and Development
Topic: Randomized Mob Spawning spamming mobs
Replies: 6
Views: 3782

Re: Randomized Mob Spawning spamming mobs

SiENcE wrote:Put spawn_random() in love.load

>> entity_mobDraw() is called in love.draw() and love.draw() is called every frame

cheers
I did what you told me(or at least how I interpreted it) and it doesn't even spawn the mob anymore
Here is all of my code, what have I done wrong?
by n1ghtk1n9
Fri Jan 18, 2013 9:47 pm
Forum: Support and Development
Topic: Randomized Mob Spawning spamming mobs
Replies: 6
Views: 3782

Randomized Mob Spawning spamming mobs

For some reason, my randomized mob spawning(randomizes the mob's X and Y coordinates) keeps spamming the mob, not just spawning it once. How can I fix this? main require "core/player" require "core/physics" require "core/font" require "core/entity" function lo...
by n1ghtk1n9
Fri Jan 11, 2013 1:45 am
Forum: Support and Development
Topic: Texturer Request
Replies: 1
Views: 1421

Texturer Request

I'm making a birds-eye-view game, sort of like the view in Pokemon, and I was hoping someone would help me do textures, because I have absolutely NO artistic skill. Just sort-of a side-project(for you), you probably wouldn't spend a lot of time on it, just some requests. (You will receive full credi...
by n1ghtk1n9
Thu Jan 10, 2013 3:30 pm
Forum: Support and Development
Topic: Bullet Help
Replies: 7
Views: 3603

Re: Bullet Help

What do you mean by "write your own physics"? And I just realized that I commented(--) me defining v.x and v.y in another .lua file. And I know what the error message says, know that I actually am awake. It's saying that on line 21 of bullet.lua, it's trying to perform arithmetic(+,*,/, -)...
by n1ghtk1n9
Thu Jan 10, 2013 12:44 pm
Forum: Support and Development
Topic: Bullet Help
Replies: 7
Views: 3603

Bullet Help

When I run my code, and use left-click, it returns the error; core/bullet.lua:21: attempt to perform arithmetic on field 'y' (a nil value) what am I doing wrong? main : require "core/font" require "core/player_equip" require "core/physics" require "core/player"...
by n1ghtk1n9
Fri Jan 04, 2013 4:55 am
Forum: Support and Development
Topic: How to make your character collide with terrain
Replies: 3
Views: 3194

Re: How to make your character collide with terrain

If you could, could you post a .love of what you're working on. A quote from the rules on posting Give us a .love of your game. This allows us to find the error, see it in context and possibly try out some candidate solutions. But I get what you're asking, you want your player to collide with the t...
by n1ghtk1n9
Sat Dec 22, 2012 12:54 am
Forum: Support and Development
Topic: How to make your character collide with terrain
Replies: 3
Views: 3194

How to make your character collide with terrain

How can I make my character not collide with the terrain? This is probably a noob question, but I started Love just yesterday. Also how can I make an image not able to pass through. To elaborate, if I had a tree image in the middle of my screen, how can I make it so if I move my character/player up ...