I love this game. Simple graphics and gameplay, and really addictive.
Nice title game 11/10 IGN
Search found 9 matches
- Tue Jan 24, 2017 4:57 pm
- Forum: Games and Creations
- Topic: [WIP] shooting game
- Replies: 7
- Views: 6730
- Tue Jan 24, 2017 4:36 pm
- Forum: Ports
- Topic: LövePotion - LÖVE on 3DS Homebrew
- Replies: 46
- Views: 119561
Re: LövePotion - LÖVE on 3DS Homebrew
idk, maybe not. It's really awesome project but idk if the author burned up or something
- Fri Nov 18, 2016 4:25 pm
- Forum: Support and Development
- Topic: Multiple Classes in same file?[Solved]
- Replies: 6
- Views: 5237
Re: Multiple Classes in same file?
Thank you very much to all. Returning a table did the work I want. If you will know how I did it for future users who had same errors, here it is the Sample Code and a ScreenShoot. button.lua local class = require 'middleclass' local Button={} Button.Button = class 'Button' SIMPLE = 0 TEXTURE = 1 fu...
- Fri Nov 18, 2016 3:46 pm
- Forum: Support and Development
- Topic: Multiple Classes in same file?[Solved]
- Replies: 6
- Views: 5237
Re: Multiple Classes in same file?
Unfortunately, due to the way require works, only the first return value of a file is returned (and cached). You could return a table instead. Something like this? local myClasses={} myClasses.Button = class 'Button' myClasses.SecondButton = class ('SecondButton',Button') return myClasses local Cla...
- Fri Nov 18, 2016 2:44 pm
- Forum: Support and Development
- Topic: Multiple Classes in same file?[Solved]
- Replies: 6
- Views: 5237
Re: Multiple Classes in same file?
You need to do local Button, SimpleButton, TexturedButton = require 'button' in your main, after you return all 3 of them like you wrote in your last code block. I did it, and return when I do aButton = SimpleButton:new(200,200,100,100,love.graphics.setColor(100,100,100),"hello",nil) Erro...
- Fri Nov 18, 2016 2:34 pm
- Forum: Support and Development
- Topic: Multiple Classes in same file?[Solved]
- Replies: 6
- Views: 5237
Multiple Classes in same file?[Solved]
Hello, I want to have one file with a class and classes whom inherits from the main class. Is that possible? When I return the main class, I can make the main class only, and if I return the various classes, only the main persists. May I have to do multiple files to do the subclasses? Here I have an...
- Thu Nov 17, 2016 5:21 pm
- Forum: Support and Development
- Topic: "Questions that don't deserve their own thread" thread
- Replies: 905
- Views: 441086
Re: "Questions that don't deserve their own thread" thread
Hello, I am a programmer and I am trying to switch to Love2D to make my first game on smartphone, but I'm doing my firsts tests and I'm failing. I tried lclass and middleclass to create a Button, but with the option to make a simple button or a textured button. But when I create the main.lua,button...
- Thu Nov 17, 2016 4:03 pm
- Forum: Support and Development
- Topic: "Questions that don't deserve their own thread" thread
- Replies: 905
- Views: 441086
Re: "Questions that don't deserve their own thread" thread
Hello, I am a programmer and I am trying to switch to Love2D to make my first game on smartphone, but I'm doing my firsts tests and I'm failing. I tried lclass and middleclass to create a Button, but with the option to make a simple button or a textured button. But when I create the main.lua,button....
- Fri Sep 25, 2015 1:56 pm
- Forum: Ports
- Topic: LövePotion - LÖVE on 3DS Homebrew
- Replies: 46
- Views: 119561
Re: LövePotion - Love2D on 3DS Homebrew
I've released a beta version for people to try out, you can get the build here. Make sure to check the Implemented list to see what parts of the API are available. Hello. I created my account for give you all my thanks and say that don't give it up. You're doing a really great stuff. Can I announce...