Search found 46 matches

by BluBillz
Fri Mar 06, 2015 3:17 pm
Forum: Support and Development
Topic: NPC angle to player problem
Replies: 8
Views: 2500

Re: NPC angle to player problem

downloaded 6 times so far as i type this.....anybody have a solution yet? ^^
by BluBillz
Fri Mar 06, 2015 3:00 pm
Forum: Support and Development
Topic: Love2D toggle console activity
Replies: 4
Views: 2102

Re: Love2D toggle console activity

hmm never tried this but if you create a global variable inside of conf.lua that is a true/false and assign it to t.console you can probably call that same global variable anywhere else in your files..like main.lua just call the global variable and change its true/false. hope that makes sense and ho...
by BluBillz
Thu Mar 05, 2015 11:55 pm
Forum: Support and Development
Topic: NPC angle to player problem
Replies: 8
Views: 2500

NPC angle to player problem

Hello I am messing with this code i found on the forums found here https://love2d.org/forums/viewtopic.php?f=4&t=2480&hilit=vectors&start=10#p26615 I changed the images to see if the NPC will face the direction of the player but it doesnt seem to be doing that at all. How could I make th...
by BluBillz
Sun Feb 22, 2015 12:29 pm
Forum: General
Topic: Image angle to mouse?
Replies: 2
Views: 2546

Re: Image angle to mouse?

nfey wrote:Or do you want the letter to rotate incrementally with a certain speed (so that, if the mouse moves really fast, the letter will lag behind)?
Yes I want to do that but how would I code that? It is what I am asking because I don't know honestly how that would work.
by BluBillz
Sun Feb 22, 2015 9:03 am
Forum: General
Topic: Image angle to mouse?
Replies: 2
Views: 2546

Image angle to mouse?

I am trying to make this image of the letter L basically rotate its angle by where the mouse position of Y is. The way I have it setup makes it rotate uncontrollably fast and also rotates around the back of the L when I want it to rotate up/down from the top of the L. I do have source to show you wh...
by BluBillz
Sun May 25, 2014 1:25 pm
Forum: Ports
Topic: Love2D WebPlayer (WebGL)
Replies: 203
Views: 185709

Re: Love2D WebPlayer (WebGL)

I am still confused on how to setup everything to get it completely working on your browser. How exactly do you get a server up and running for you to try this on? and how do you even setup where to put all the files at?
by BluBillz
Wed Mar 26, 2014 2:47 am
Forum: Support and Development
Topic: Collision issues
Replies: 3
Views: 1066

Re: Collision issues

Hi, it seems you compressed your files to a .rar-archive and then renamed it to zip. That won't work. Please compress it to .zip next time. So here is what I changed in your code. First I added a width and height to the box. So both player and the object have x,y,w and h. Then I added a function &q...
by BluBillz
Tue Mar 25, 2014 10:02 pm
Forum: Support and Development
Topic: Collision issues
Replies: 3
Views: 1066

Collision issues

So I will leave a download link to my project..my problem is something probably simple to do but something I cant manage to figure out. I am trying to make it where when the player touches the red box, the red box removes itself and spawns randomly somewhere else on the screen. I dont know how to do...
by BluBillz
Sat Mar 08, 2014 4:48 pm
Forum: Support and Development
Topic: Hud?..
Replies: 6
Views: 2625

Re: Hud?..

So if you have code that looks something like this

Code: Select all

setCamera()
drawBackground()
drawEnemies()
drawCandy()
drawPlayer()
unsetCamera()

drawHUD  -- You need to draw it after you pop the camera.
Yes thanks Ive managed to get it working
by BluBillz
Sat Mar 08, 2014 8:13 am
Forum: Support and Development
Topic: Hud?..
Replies: 6
Views: 2625

Re: Hud?..

Plu wrote:And if you're using a camera or other form of coordinate translation, make sure you pop that before you draw the hud.
Yes I am using a camera so I hope I didnt confuse anyone :P