Search found 35 matches
- Mon Jul 31, 2017 2:39 pm
- Forum: Support and Development
- Topic: Scaling cellmap
- Replies: 3
- Views: 2913
Re: Scaling cellmap
Note that whenever you find yourself shifting/copying a lot of data around, stop and seriously consider what you are doing. Generally speaking, you shouldn't have to scale/copy data in this manner because it's utterly pointless. What's the point of shifting around memory, just make your original ma...
- Sun Jul 30, 2017 1:38 pm
- Forum: Support and Development
- Topic: Scaling cellmap
- Replies: 3
- Views: 2913
Scaling cellmap
I'm currently working on class that generates a cave world using a cellmap The cellmap could example look like this if it was 3x3 --[[ 111 101 --# The visual representation of the cellmap 111 --]] --# The cellmap uses x and y indexes ( cellmap[x][y] = some_id ) local cellmap = { [1][1] = "1&quo...
- Fri Apr 07, 2017 11:38 am
- Forum: General
- Topic: Atom Love2D Console Plugin?
- Replies: 4
- Views: 6948
Re: Atom Love2D Console Plugin?
Did you even read my post..? I'm using Love-IDE, and I don't want to open a new window, I want to show the console output INSIDE atom and not open a new window.
- Thu Apr 06, 2017 7:27 pm
- Forum: General
- Topic: Code Doodles!
- Replies: 197
- Views: 314223
Re: Code Doodles!
Did this
Controls
G - Toggle gridlines
Left, right - Control wind
+, - - Control size
R - Reset
Controls
G - Toggle gridlines
Left, right - Control wind
+, - - Control size
R - Reset
- Thu Apr 06, 2017 6:37 am
- Forum: Games and Creations
- Topic: Some Circle Game. Ideas to make it better?
- Replies: 14
- Views: 11862
Re: Some Circle Game. Ideas to make it better?
Do you mean how much they cost? That could be helpful, I think No, I mean that it will show the amount of upgrades, like you have 10x defense upgrades for example. The UI gets cluttery when displaying the upgrades next to a node if you have a lot of upgrades. I see a lot of possibilities and challe...
- Wed Apr 05, 2017 7:58 pm
- Forum: General
- Topic: Atom Love2D Console Plugin?
- Replies: 4
- Views: 6948
Re: Atom Love2D Console Plugin?
Yeah I hope this is possible, guess I'll just have to wait and see. And guess I'll stick with that name then, I'm going offtopic again, but I don't want to start a new thread to get some suggestions. What do you think of these functions? Should I change some names? Add some functions? Change any arg...
- Wed Apr 05, 2017 7:19 pm
- Forum: Games and Creations
- Topic: Some Circle Game. Ideas to make it better?
- Replies: 14
- Views: 11862
Re: Some Circle Game. Ideas to make it better?
Suggestions - Display the amount of upgrades under the upgrade buttons when a node is selected - If the mouse goes outside the window it will stop scrolling.( found this annoying ) - Set "role" for node, such as "Harvester" or "Tower" which would give greater rewards fo...
- Wed Apr 05, 2017 6:41 pm
- Forum: General
- Topic: Atom Love2D Console Plugin?
- Replies: 4
- Views: 6948
Atom Love2D Console Plugin?
The title already says half of my question, is it possible to have the Love Console running in the Atom IDE? Because I'd LÖVE that :awesome: Because I've searched for packages and I couldn't find any, currently I'm using the Love-IDE plugin which enables me to quickly run my game and open a CMD / iT...
- Tue Feb 21, 2017 11:52 pm
- Forum: General
- Topic: [SOLVED]Help: Getting back into LÖVE but can't make my minimal "test" game to run
- Replies: 3
- Views: 3235
Re: Help: Getting back into LÖVE but can't make my minimal "test" game to run
Have you tried to create a shortcut to the love.exe file and placed that in the LocalCommon folder, and then dragged the folder onto the shortcut?
- Tue Feb 21, 2017 10:31 pm
- Forum: Support and Development
- Topic: Get widest character of font?
- Replies: 12
- Views: 9433
Re: Get widest character of font?
How would I do this with a canvas? I'm not very familiar with that.
By the way, here's the code I'm currently using: http://pastebin.com/sEzk7SWx
As you can see I'm currently drawing each character individually, which I realize isn't very optimal.