Search found 11 matches

by Ducktor Cid
Sat Apr 01, 2017 3:05 pm
Forum: Support and Development
Topic: 2D reflection on water
Replies: 4
Views: 267

Re: 2D reflection on water

I decided to use a stencil since I couldn't get scissor to work. Thanks for the help anyway!
by Ducktor Cid
Sat Apr 01, 2017 11:24 am
Forum: Support and Development
Topic: 2D reflection on water
Replies: 4
Views: 267

Re: 2D reflection on water

I'm using a camera system by blackbulletIV and I've noticed that scissor seems to not work correctly. (I go to the spot where the reflection should be, it isn't there but as I go away, I can start to see the reflection appear) Is there any way to fix this, or do you know of any camera system that wo...
by Ducktor Cid
Sat Apr 01, 2017 12:46 am
Forum: Support and Development
Topic: 2D reflection on water
Replies: 4
Views: 267

2D reflection on water

I'm trying to make a 2D reflection on water in my kind of luftrausers clone My main problem is currently that the reflection comes off the water, as shown in this image Here's my code for the reflection: playerClone.Position=Vector2.new(player.entity.Position.x, (2*water.Position.y-player.entity.Pos...
by Ducktor Cid
Mon Mar 20, 2017 6:54 pm
Forum: Libraries and Tools
Topic: Love2D 3D Tutorial #3 - Matrices
Replies: 19
Views: 4389

Re: Love2D 3D Tutorial #3 - Matrices

Why were the videos taken down?
by Ducktor Cid
Sun Mar 19, 2017 2:35 pm
Forum: Games and Creations
Topic: Created a simple pong game
Replies: 0
Views: 195

Created a simple pong game

My second actual game thing for love2D (first one was a simple zombie shooter but I never posted it)

Font is a bit weird looking and there may also be some bugs regarding collision.

Mainly looking for criticism on how I write my code and if there's anyway I can improve on it.
by Ducktor Cid
Fri Nov 04, 2016 4:31 pm
Forum: Support and Development
Topic: lights and shadow rotation?
Replies: 0
Views: 827

lights and shadow rotation?

I'm trying to remake a simple zombie game I made in flash about a year ago, I'm trying to use the lights and shadow library (more specifically, the port to 0.10 version https://github.com/tanema/light_world.lua ) But it seems I can't rotate the rectangles created by the :newRectangle() function. I n...
by Ducktor Cid
Tue Oct 18, 2016 9:59 pm
Forum: Support and Development
Topic: Collision between non-physics object and a physics object
Replies: 2
Views: 290

Collision between non-physics object and a physics object

I have a pot that is creating using love.physics and a player that is a love.graphics rectangle, can I use a regular bounding box collision detection to see if they collide and can I use a library/module like Hardon Collider or bump.lua for it? code for checking player collision (taken from wiki and...
by Ducktor Cid
Mon Oct 17, 2016 7:11 pm
Forum: Support and Development
Topic: Class for creating love.physic objects
Replies: 2
Views: 281

Class for creating love.physic objects

I'm trying to make a game based on both Haunt the House and the Casualty series of flash games. I tried it in AS3 with Flashpunk but came to a halt when there were no working physics engine that worked with it. (Box2FP which bridged the gap between flashpunk and box2d didn't really work and I had tr...
by Ducktor Cid
Sat Oct 08, 2016 5:36 pm
Forum: Games and Creations
Topic: Simple brainfuck interpreter
Replies: 8
Views: 1015

Re: Simple brainfuck interpreter

Added all Positive's suggestions and updated the OP.
by Ducktor Cid
Thu Oct 06, 2016 9:38 pm
Forum: Games and Creations
Topic: Simple brainfuck interpreter
Replies: 8
Views: 1015

Re: Simple brainfuck interpreter

I didn't include the . command since I just wanted to translate brainfuck code. I can easily add it if needed