Search found 113 matches

by Vimm
Thu Dec 01, 2016 8:33 am
Forum: Support and Development
Topic: How do I use stencil?
Replies: 9
Views: 2853

How do I use stencil?

I'm trying to use stencils to make it so when a certain object spawns in my game, it can only be drawn on tiles from Tiled, and not on the background. I've looked at the wiki but trying to implement it gives me a headache :/ The wiki shows it all in one file, main.lua, but my stuff is spread out, al...
by Vimm
Sat Aug 27, 2016 6:49 pm
Forum: Support and Development
Topic: Moving point in a circle?
Replies: 2
Views: 1053

Re: Moving point in a circle?

That should work. Can you post what you have attempted? Of course, in Lua, math should be lowercase but I guess you know that. I ended up getting some help from someone, but ill post the code that works just in case someone needs something similar function love.load() startX = love.graphics.getWidt...
by Vimm
Sat Aug 27, 2016 6:01 pm
Forum: Support and Development
Topic: Moving point in a circle?
Replies: 2
Views: 1053

Moving point in a circle?

I'm using love.graphics.polygon to make a triangle, and I'm trying to move the last x and y coordinates change slowly, in a circular motion, so that the triangle kinda represents a shadow as the sun moves about its cycle. However, I can't figure out how to do this, I found a thread for a different p...
by Vimm
Thu Jul 07, 2016 3:23 pm
Forum: Support and Development
Topic: Hiring a teacher?
Replies: 3
Views: 907

Hiring a teacher?

Would anyone be interested? I've been to busy lately to learn just by myself, and most tutorials are outdated or unfinished, so I figured this would be my best bet since the only free time I have is from about 10 am to 4 pm pst on Saturday and Sunday, since I work too much during the week. Send me a...
by Vimm
Thu May 19, 2016 5:46 am
Forum: Support and Development
Topic: Help with platformer
Replies: 5
Views: 1129

Re: Help with platformer

In that case, make sure isFalling value does not bounce around, and make sure that the character only jumps when the JUMP key is pressed, rather than checking if he's falling to modify his Y speed. I'm not looking into code right now since it's damn late here , but if you keep on having problems i'...
by Vimm
Thu May 19, 2016 4:06 am
Forum: Support and Development
Topic: Help with platformer
Replies: 5
Views: 1129

Re: Help with platformer

I have no experience in platformer games, but i recommend you to keep your code commented. It makes others lives much easier since they'll know what a specific session does. I messed a bit with your code. Sometimes pressing D and A often makes your character jump, for some reason. Printing the valu...
by Vimm
Thu May 19, 2016 3:24 am
Forum: Support and Development
Topic: Help with platformer
Replies: 5
Views: 1129

Help with platformer

So I'm working on some platform collisions, and I have the collision for the top of the platform down, but the way I have it, when my player collides with the side, he just pops back up to the top. I know I had a fix for this a little while back, but I've completely forgotten it :/ can someone offer...
by Vimm
Wed May 18, 2016 6:24 pm
Forum: General
Topic: What's obey?
Replies: 18
Views: 4759

Re: What's obey?

just DO IT
by Vimm
Sun May 15, 2016 3:47 pm
Forum: Support and Development
Topic: Snake game movement, what's a better way?
Replies: 2
Views: 816

Snake game movement, what's a better way?

I'm trying to make snake, I started with making the movement the way I remember snake being, and I achieved it, but I feel like there's a better way to do it, how would you do this? snake = { x = 2, y = 2, l = 1, --length d = 0, --direction alive = true, spd = 0.5 --speed } now = love.timer.getTime(...
by Vimm
Sat May 14, 2016 5:20 am
Forum: General
Topic: 3D MMORPG, possible in love?
Replies: 7
Views: 2243

Re: 3D MMORPG, possible in love?

master both wrote:yep, if you want to make a 3D mmo go ahead nothing is stoping you, but it doesn't sound like a good idea
i can barely manage platform movements, let alone a 3d mmo XD i was just wondering how itd go