Search found 101 matches
- Tue May 24, 2011 10:04 pm
- Forum: Support and Development
- Topic: Manually rotating points around center
- Replies: 16
- Views: 7434
Re: Manually rotating points around center
if you have the center on cx and cy, original position of a point on x and y and the angle to rotate rad: nx and ny are the new points. nx = x*math.cos( rad ) - y*math.sin( rad ) + cx ny = x*math.sin( rad ) + y*math.cos( rad ) + cy Im 96,77% sure that will work! Edit: God damn'in I was close. This f...
- Sat Mar 05, 2011 10:23 pm
- Forum: Libraries and Tools
- Topic: Love Builder - Automatic .love and Executable Creation
- Replies: 45
- Views: 20102
Re: Love Builder - Automatic .love and Executable Creation
1. I download the latest build 1.5 I run the .love to make sure it's the right .love file. 2. i did: copy /b love.exe + a.love game.exe 3. I run the game.exe (not love.exe) 4. I rage, the default screen appears! What's going oooon! EDIT: OHOY! FIxed! Had to make the exe on a 32-bit windows. 64-bit d...
- Sun Feb 27, 2011 1:53 pm
- Forum: Support and Development
- Topic: Return pixels in polygon
- Replies: 1
- Views: 1193
Return pixels in polygon
I've got a humongous problem! I need a function that returns the pixels that are located within an area of 4 points (not just a rectangular area), example: Just for examples sake, we make the screen 16x16: http://img204.imageshack.us/img204/7837/grid0.png We choose 4 points: http://img571.imageshack...
- Tue Feb 22, 2011 4:05 pm
- Forum: Games and Creations
- Topic: Zombie Baseball
- Replies: 11
- Views: 8475
Re: Zombie Baseball
Awesome!
- Sun Feb 13, 2011 6:47 pm
- Forum: Support and Development
- Topic: Lighting system
- Replies: 2
- Views: 1947
Re: Lighting system
Yes, perfect! That was just what I needed. Never understood the true awesomeness of framebuffers!
Case closed.
Case closed.
- Sat Feb 12, 2011 10:53 pm
- Forum: Support and Development
- Topic: Lighting system
- Replies: 2
- Views: 1947
Lighting system
Oy! I'm trying to make a little lighting system for my project here... but i cant figure out a nice way to do it. What i want is to first draw the map, then have the "darkness" draw on top of the map. Each light is basically a open hole in the darkness. I do this to allow multiple light so...
- Thu Feb 10, 2011 11:36 am
- Forum: Libraries and Tools
- Topic: Debug - A whole new way of debugging your game
- Replies: 106
- Views: 91891
Re: Debug - A whole new way of debugging your game
This is the finest sort of awesome! I'll be using it right away!
- Thu Feb 10, 2011 11:22 am
- Forum: Support and Development
- Topic: Crash Logs
- Replies: 6
- Views: 1872
Re: Crash Logs
I've been testing my project on my shitty school laptop, which can hardly run anything... I figured out that if you load to much on launch (pics, sounds, etc.) it makes the game crash. If i use threads on the other hand, it works much better. Loadings screen for the win! Edit: Another thing. If you ...
- Wed Feb 09, 2011 10:18 am
- Forum: General
- Topic: Included Modules?
- Replies: 4
- Views: 2060
Re: Included Modules?
What about luazip? Is it included? (I'm on my phone so i can't check). Would be really nice if it was!
http://www.keplerproject.org/luazip/
http://www.keplerproject.org/luazip/
- Sat Feb 05, 2011 11:04 pm
- Forum: Games and Creations
- Topic: ScrewIt
- Replies: 20
- Views: 8970
Re: ScrewIt
I'm impressed! A great example of what one can make with the love engine.