Search found 161 matches
- Sat Aug 12, 2017 3:22 am
- Forum: Support and Development
- Topic: extern Image in Shader incorrect
- Replies: 4
- Views: 3538
extern Image in Shader incorrect
I think I'm misunderstanding how to get colors from an Image within a Shader. I'm trying to get the trivial case working -- a shader that returns a color from the image. I expect the results of using the shader on a rectangle to be the same as drawing the canvas directly -- blue and green swirly neb...
- Sat Jul 22, 2017 12:56 am
- Forum: Games and Creations
- Topic: reFU3L() - I guess you could call it the 'full' version of FU3L()
- Replies: 8
- Views: 9577
Re: FU3L() - A game made in 48 hours for the GMTK Jam
Final Score: 193 This is awesome! Totally agree with what others have said about how nice the weapons are. Also agree it's a little hard to see which direction the ship is pointing. I really like the colors chosen. That and the hand-drawn look of some of hearts and X's reminds me a bit of GoNNER. Th...
- Sat Jul 22, 2017 12:22 am
- Forum: General
- Topic: Memory Management
- Replies: 4
- Views: 3687
Re: Memory Management
I'll second what zorg has said.
to create an image:
to delete
The actual memory will be freed up sooner or later (up to Lua's garbage collection implementation)
to create an image:
Code: Select all
image = love.graphics.newImage(filepath)
Code: Select all
image = nil
- Fri Jul 21, 2017 2:23 pm
- Forum: General
- Topic: I god a bold question, can somebody enhance my code and/or give me hints to code better?
- Replies: 6
- Views: 4739
Re: I god a bold question, can somebody enhance my code and/or give me hints to code better?
You're on the right track by starting small with the scope of your game. The reason why I can't enhance your code is because I don't know what you want it to do better. Do you want it to be less buggy? Then pick 1 bug at a time and fix it. If you don't know how, you can google the bug or maybe post ...
- Fri Jun 30, 2017 2:24 pm
- Forum: General
- Topic: Looking for feedback on a Lua tutorial
- Replies: 7
- Views: 6573
Re: Looking for feedback on a Lua tutorial
Thanks for writing. Seems like a pretty good tutorial. On the whole, I prefer tutorials like this: http://tylerneylon.com/a/learn-lua/ But then again, I've had previous programming experience. I still would think a complete beginner might benefit more from following along from a video on youtube. Bu...
- Wed Jan 25, 2017 12:43 pm
- Forum: Games and Creations
- Topic: [WIP] Frogfaller
- Replies: 16
- Views: 9654
Re: [WIP] Frogfaller
First of all, I love Downwell and am super inspired by it, too. I'm happy to see somebody else saw its potential as well! I'll echo what others have said: Frogfaller looks awesome! Looks like you've got the hard part (actually making the game) well under way. All the stuff about optimization is true...
- Sat Sep 24, 2016 2:47 am
- Forum: Games and Creations
- Topic: Depths of Limbo - Roguelike Shooter
- Replies: 71
- Views: 40346
Re: Reptile Rogue - Action roguelike shooter
This reminds me a lot of Nuclear Throne. Which is a huge compliment from me, as I live Binding of Isaac and other rogue-likes. So great job! The art at least seems to do its job -- the character, enemies, and pick-up-ables seem to contrast well with the background. I like the higher-res style you've...
- Tue May 03, 2016 11:45 am
- Forum: Support and Development
- Topic: Having trouble with simple platform collisions
- Replies: 3
- Views: 2180
Re: Having trouble with simple platform collisions
Use a collision library to handle collision detection for you. I recommend bump (kikito) or vrld's hump library. You can find them in the wiki.
This way, you don't have to maintain or worry about most of the collision code, and can focus on how you want to resolve them.
This way, you don't have to maintain or worry about most of the collision code, and can focus on how you want to resolve them.
- Mon May 02, 2016 11:04 pm
- Forum: Support and Development
- Topic: Non-rectangular buttons
- Replies: 9
- Views: 8554
Re: Non-rectangular buttons
This all being said... whenever I see hotspots/buttons/ui interaction implemented this way in a game or program it tears me up. I feel like, as a user, I shouldn't have to aim directly onto the button I want to click, I should just have to be close. Think about it like this: Imagine if in order to h...
- Sat Apr 30, 2016 8:16 pm
- Forum: Support and Development
- Topic: [solved] Missing table entry
- Replies: 5
- Views: 3207
Re: Missing table entry
I figured it out. I wasn't removing the mob from game.mobs table in mob:destroy. "self = nil" does not prevent game from calling mob:destroy every frame. So the 2nd time it gets called, there's no item to remove from bump world.