Search found 8 matches

by Scratchthatguys
Mon Jul 21, 2014 7:25 pm
Forum: Libraries and Tools
Topic: Oysi's 3D Rendering & Physics Engine
Replies: 127
Views: 91293

Re: Oysi's 3D Rendering & Physics Engine

I've just read the entire thread. This is amazing stuff, Oysi! I can't wait for your tutorials; you really are a god! function love.load() now = os.time videos = {} people = {} people["god"] = oysi93 end function love.update(dt) if os.time() >= now then videos[#videos + 1] = video.new() l...
by Scratchthatguys
Sat Jun 14, 2014 5:48 pm
Forum: Support and Development
Topic: Cutting a Drawable image
Replies: 8
Views: 5707

Re: Cutting a Drawable image

Textured quads seem like the way to go. Good luck with your game!
by Scratchthatguys
Fri Jun 13, 2014 8:28 pm
Forum: Support and Development
Topic: Grid Placement of Physics Objects?
Replies: 6
Views: 4961

Re: Grid Placement of Physics Objects?

I know how to delete them, but do I really have to iterate over all the objects to find which is at those specific coordinates?
by Scratchthatguys
Fri Jun 13, 2014 5:30 pm
Forum: Support and Development
Topic: Grid Placement of Physics Objects?
Replies: 6
Views: 4961

Re: Grid Placement of Physics Objects?

I have another problem. I need to delete ANY object in the grid, not just one type. I don't want to have to write a line of code for each of the types of blocks, so can I just remove them from the objects table? Would I have to go through the entire objects list looking for whatever is at those coor...
by Scratchthatguys
Fri Jun 13, 2014 4:43 pm
Forum: Support and Development
Topic: Cutting a Drawable image
Replies: 8
Views: 5707

Re: Cutting a Drawable image

All right, I understand now. You need a ladder segment image, not a ladder image, and if your ladder segment is an eighth of a tile, you would only move up by an eighth of a tile and draw it there. If you want it to be a sixteenth or a tenth, you can do that instead of an eighth. Maybe someone else ...
by Scratchthatguys
Fri Jun 13, 2014 4:26 pm
Forum: Support and Development
Topic: Cutting a Drawable image
Replies: 8
Views: 5707

Re: Cutting a Drawable image

Maybe you could draw an example in Paint or similar. I can't help you if I don't know how it's supposed to look. I assume it's supposed to cut the ladder off at the exact height it stops at in case it exceeds the exact image. In my opinion, if this is what you're trying to do, you might want to make...
by Scratchthatguys
Fri Jun 13, 2014 4:11 pm
Forum: Support and Development
Topic: Grid Placement of Physics Objects?
Replies: 6
Views: 4961

Re: Grid Placement of Physics Objects?

Thanks! Now I can use that for other games that need grid placement. I hope it works! EDIT: It does, but I wonder if I'm understanding it correctly. I think it finds what grid number it falls in (the math.floor of the position divided by the grid) and it sets it to the actual grid position (the math...
by Scratchthatguys
Thu Jun 12, 2014 11:05 pm
Forum: Support and Development
Topic: Grid Placement of Physics Objects?
Replies: 6
Views: 4961

Grid Placement of Physics Objects?

I'm making a game that involves bouncing particles around to solve puzzles using physics. Basically, you have five types of blocks; a particle emitter, a particle receiver, blocks that make a particle bounce (change direction) when hit, blocks that absorb particles when hit, and blocks that can't be...