Search found 161 matches

by CaptainMaelstrom
Sat Apr 30, 2016 3:03 pm
Forum: Support and Development
Topic: [solved] Missing table entry
Replies: 5
Views: 3207

Re: Missing table entry

A piece of the puzzle that's even stranger (to me). I've tried adding the item to world.rects table from within the mob:destroy function and I get an "already added item to the world" error. But if I comment out my add, in the very next 2 function calls, it says item isn't in world.rects! ...
by CaptainMaelstrom
Sat Apr 30, 2016 4:49 am
Forum: Support and Development
Topic: [solved] Missing table entry
Replies: 5
Views: 3207

[solved] Missing table entry

I'm having trouble with my latest project. When I try to remove an object from my bump.lua world object, I get an error saying it hasn't been added yet -- although it has. To replicate the error, open the game and left-click to shoot at the other object on screen. It will flash and disappear. This t...
by CaptainMaelstrom
Wed Apr 27, 2016 1:23 am
Forum: Games and Creations
Topic: [Game] Fighters - Platform fighting game
Replies: 5
Views: 6014

Re: [Game] Fighters - Platform fighting game

Good work so far! I've always thought about making a smash clone. Keep us updated. :)
by CaptainMaelstrom
Fri Jan 15, 2016 1:09 am
Forum: Support and Development
Topic: Learning Strategy / Tutorials for Löve 0.10.0
Replies: 7
Views: 3978

Re: Learning Strategy / Tutorials for Löve 0.10.0

I don't think there's any wrong way about it. And it all depends on what game you want to make first. I don't think I've ever really found any of the source for other games too informative. Just think about what problem you're trying to solve and see if either the libraries on the wiki, or the frame...
by CaptainMaelstrom
Sun Jan 10, 2016 4:25 pm
Forum: General
Topic: Trouble with my animator
Replies: 3
Views: 2318

Re: Trouble with my animator

See my attached .love. Whenever you use a function like variable:functionname(arg1, arg2) end It's basically the same as saying: variable.functionname(variable, arg1, arg2) end Where, to reference variable inside the body of the function, you can use the "self" keyword: player = {} functio...
by CaptainMaelstrom
Wed Jan 06, 2016 12:31 am
Forum: Games and Creations
Topic: Hotplate app for your phone
Replies: 17
Views: 10693

Re: Hotplate app for your phone

I tried your app and I really like it. I find that it works best when I put my phone directly in my cup of water and turn the hotplate on.
by CaptainMaelstrom
Fri Nov 06, 2015 4:39 pm
Forum: General
Topic: Game Design in Love with Lua
Replies: 11
Views: 7869

Re: Game Design in Love with Lua

Pretty hard to say without knowing more about what kind of game you want to make. Many games create multiple levels just by storing information in variables: level1 = { name = "Big Bad Dungeon" size = {w = 1200, h = 800}, tiles = { {0, 0, 1, 1, 1, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0,...
by CaptainMaelstrom
Sun Oct 18, 2015 5:41 am
Forum: Games and Creations
Topic: Spellrazor (Free strategy-sh'mup-hacking) 0.9.10 is out
Replies: 74
Views: 48594

Re: Spellrazor [Demo] - Rogue-lite meets Defender/Berzerk

Wow. Congrats on making a super dope game! I've gotten to level five (20,360 score) so far and I'm having a lot of fun. There's nothing like peeking into a room and letting off a bouncer, darting back out, and waiting until the bouncer takes out the unsuspecting mob. I love the aesthetics. As others...
by CaptainMaelstrom
Sat Oct 17, 2015 2:32 am
Forum: Games and Creations
Topic: Feeding Seppe (first game + some questions)
Replies: 11
Views: 3512

Re: Feeding Seppe (first game + some questions)

if v.y < seppe.y then v.y = v.y + 150 * dt else table.remove(frikandels,i) end end The 150 number in the line above determines the speed that the food falls. In order to make the foods fall at random speeds, simply make that number random instead. Note however, the code below will make the food loo...
by CaptainMaelstrom
Mon Aug 10, 2015 2:41 pm
Forum: Support and Development
Topic: Just a little doubt, don't mind it
Replies: 4
Views: 1718

Re: Just a little doubt, don't mind it

How are you checking to see if the attack button is hit repeatedly? You should be listening for multiple callbacks: Note also, the callback has changed in 0.9.2: function love.keypressed(key, isrepeat) --not the isrepeat parameter end The "isrepeat" parameter will be true if the player has...