Search found 322 matches

by appleide
Mon Feb 13, 2017 6:22 pm
Forum: Libraries and Tools
Topic: How to render realistic planets in love2d
Replies: 9
Views: 19422

Re: How to render realistic planets in love2d

Ref wrote: Mon Feb 13, 2017 3:46 pm 23 fps on 10 year old pc.
Earth still rotating the wrong direction.
Not very realistic, is it?! I've updated the github repository so it rotates correctly. Thanks!
by appleide
Mon Feb 13, 2017 2:19 pm
Forum: Libraries and Tools
Topic: How to render realistic planets in love2d
Replies: 9
Views: 19422

Re: How to render realistic planets in love2d

Thanks! It's a very simple shader so I imagine very little. It creates a matrix in runtime instead of using one through a uniform, so that can be optimized. Your suggestion led me to cache the atmosphere in the canvas to greatly improve performance - it was capped at 30 fps for 12 planets with highd...
by appleide
Sun Feb 12, 2017 8:53 pm
Forum: Libraries and Tools
Topic: How to render realistic planets in love2d
Replies: 9
Views: 19422

How to render realistic planets in love2d

screenshot.png It rotates, and has a shadow, atmosphere, cloud layer. The above screenshot runs at 1024 * 768, with highdpi = true on 2016 Macbook. I stumbled across a Russian article on how to render realistic 2D planets (https://habrahabr.ru/post/248381/). I couldn't find an english version of th...
by appleide
Wed Dec 09, 2015 3:41 pm
Forum: Libraries and Tools
Topic: EZControls - Control handling made easy.
Replies: 2
Views: 5112

Re: EZControls - Control handling made easy.

Looks good code. Will keep this in mind.
by appleide
Wed Dec 09, 2015 3:07 pm
Forum: Libraries and Tools
Topic: Time Travelling Debugger.
Replies: 0
Views: 4181

Time Travelling Debugger.

I saw Elm's time travelling debugger http://debug.elm-lang.org/edit/Mario.elm , and wondered if it's possible to build it for Lua & Love2D. So I built a prototype. https://github.com/meric/l2l/blob/master/samples/sample09 You can edit the game's code (in mario.lua) while the game is running, and...
by appleide
Tue Apr 15, 2014 12:25 pm
Forum: General
Topic: How to draw this contrail?
Replies: 16
Views: 15657

Re: How to draw this contrail?

In the game, the angle of the contrail follows that of the spaceship. You could almost use a static image to model it, except it is constantly in flux, in a constant state of motion. Just like Uradamus' demo. Here is my take on that particle effect. I am using two particle systems, one in the backgr...
by appleide
Mon Apr 14, 2014 3:05 pm
Forum: General
Topic: How to draw this contrail?
Replies: 16
Views: 15657

How to draw this contrail?

I saw this cool spaceship-engine-contrail effect in a game called "starsector". Screen Shot 2014-04-15 at 12.53.13 am.png I was trying to recreate it in love2d but am quite far from it: Screen Shot 2014-04-15 at 12.59.40 am.png How would I do something like the first screenshot? :brows: Th...
by appleide
Wed Sep 28, 2011 2:18 am
Forum: Libraries and Tools
Topic: GÖÖEY (WIP)
Replies: 12
Views: 11276

Re: GÖÖEY (WIP)

I've got a complete textfield here.

http://love2d.org/forums/viewtopic.php?f=5&t=2574

See your URL bar textfield? Works the same, with mouse highlight, etc.

Use it, and save some effort. Oh and there's checkboxes and buttons and frames in there too. :)
by appleide
Mon Sep 26, 2011 12:26 am
Forum: Libraries and Tools
Topic: I need a collaborator (or two) for a professional project
Replies: 7
Views: 10491

Re: I need a collaborator (or two) for a professional projec

This sounds like a good challenge and I'd be interested in working on it - if you think I'm up to it. I know the in and outs of lua and I (only) made http://love2d.org/forums/viewtopic.php?f=5&t=2574 and http://textbookcentral.com.au/ . (python/django) You can also look at more of my code here: ...
by appleide
Tue Sep 13, 2011 2:53 pm
Forum: Games and Creations
Topic: Box Breaker
Replies: 44
Views: 23268

Re: Box Breaker

I got to the end and won! :D The trick is surviving until you get the "hundred balls everywhere" bonus. They'll attack the blocks from above, bouncing repeatedly; So many blocks will break you'll get more "hundred balls everywhere" bonuses. Combine it with the "explosive bal...