Search found 161 matches

by CaptainMaelstrom
Fri May 24, 2013 9:01 pm
Forum: General
Topic: Flash game development
Replies: 4
Views: 2804

Re: Flash game development

Yeah, T-Bone. I've been looking at the source for LOVE and trying to figure out how difficult it would be to get from LOVE2D to .swf using FlasCC. Even if I could figure it out, I'm going to need the resulting game to be rather small, at best, below 5 MB, at least below 20 MB. The smaller the better...
by CaptainMaelstrom
Thu May 23, 2013 10:49 pm
Forum: General
Topic: Flash game development
Replies: 4
Views: 2804

Flash game development

Over the past few months I've really fallen for LÖVE2D and Lua. I'm in a tight spot, financially though, and I'd like to make a few games for some quick bucks. Unfortunately, most sites like armorgames.com and kongregate these days only want flash games, I believe. Does anybody have experience with ...
by CaptainMaelstrom
Wed Mar 27, 2013 8:56 pm
Forum: Support and Development
Topic: [solved] bounding boxes from image data
Replies: 3
Views: 1485

Re: bounding boxes from image data

Ref, thank you. Your demo is incredibly helpful for me. I think with a few tweaks, I'll be able to implement it effectively for my particular game.
by CaptainMaelstrom
Wed Mar 27, 2013 5:00 am
Forum: Support and Development
Topic: [solved] bounding boxes from image data
Replies: 3
Views: 1485

[solved] bounding boxes from image data

I'm trying to make a program that will, given an image, generate a table of bounding boxes that will help me with collision detection. Image: unboxed.png boxes that the program might approximate, laid over image: boxed.png I feel like I'm close, but my program seems to be catching in an infinite loo...
by CaptainMaelstrom
Tue Mar 26, 2013 7:39 pm
Forum: Support and Development
Topic: [solved] Quit Love from inside game
Replies: 2
Views: 1357

[solved] Quit Love from inside game

I'm sure this has been asked before but I can't find any topics in the forums, and the love.quit() wiki is rather unhelpful.

How do I make my game quit without pressing the x button on the window?
by CaptainMaelstrom
Sun Mar 24, 2013 10:12 pm
Forum: Support and Development
Topic: [solved]setColor help
Replies: 1
Views: 845

Re: setColor help

Well. I didn't figure out what was wrong but I re-wrote the whole Light class. If anybody is interested in some semi-decent pixelly lights...
here's the love file.
torchpic.png
torchpic.png (22.88 KiB) Viewed 825 times
by CaptainMaelstrom
Sun Mar 24, 2013 8:27 pm
Forum: Support and Development
Topic: [solved]setColor help
Replies: 1
Views: 845

[solved]setColor help

Problem: I'm trying to get my torch to flicker a little bit and vary in color. Instead of each rectangle drawing in a slightly different color, Love is drawing them all the same color : ( Code in question: function Light:draw() local sg = self.grid for i = 1, self.res do for j = 1, self.res do clr(s...
by CaptainMaelstrom
Tue Mar 05, 2013 8:20 pm
Forum: Games and Creations
Topic: Gong pong
Replies: 3
Views: 1648

Re: Gong pong

Haha, yeah. Like I said, I had trouble getting it to not be too stupid, not be too smart. You can easily adjust the difficulty in the code though. The ai decides to follow the ball or not every 100 pixels in the ball travels in the x direction. Roughly. You can adjust the percentages to make the AI ...
by CaptainMaelstrom
Tue Mar 05, 2013 1:19 am
Forum: Games and Creations
Topic: Gong pong
Replies: 3
Views: 1648

Gong pong

My pong remake. Lovingly titled "Gong", as that's the sound the game makes when you score. gong.png I made this after watching this lecture Jonathan Blow gave at CSUA : http://the-witness.net/news/2011/06/how-to-program-independent-games/ It made me feel frustrated about how obfuscated my ...