Search found 34 matches

by vortizee
Tue Jan 15, 2019 3:13 am
Forum: Support and Development
Topic: 0.9.2 to 11.2 drawing quads with alpha
Replies: 5
Views: 1232

Re: 0.9.2 to 11.2 drawing quads with alpha

Problem solved — a silly typo! In the conversion from 0.9.2 to 11.2, the quick and dirty color redefinitions were just given a “/255” but somewhere along the line what should have been 255/255, 255/255, 255/255, 89/255 (1, 1, 1, 0.35) swallowed a ‘2’ in ‘g’ of ‘rgba (55/255), messing up the cloud ti...
by vortizee
Mon Jan 14, 2019 6:31 pm
Forum: Support and Development
Topic: 0.9.2 to 11.2 drawing quads with alpha
Replies: 5
Views: 1232

Re: 0.9.2 to 11.2 drawing quads with alpha

Okay, that’ll be my 2nd project.
by vortizee
Mon Jan 14, 2019 5:48 pm
Forum: Support and Development
Topic: 0.9.2 to 11.2 drawing quads with alpha
Replies: 5
Views: 1232

Re: 0.9.2 to 11.2 drawing quads with alpha

Hardly anything changed from 0.9.2 to 11.2: the code posted earlier was 11.2; 0.9.2 is below, and the only issue is how the cloud renders. The example just draws a city tile over the full tile set, plus a digit-image over it — there being no transparency in any of those, they render fine. The cloud ...
by vortizee
Mon Jan 14, 2019 9:18 am
Forum: Support and Development
Topic: 0.9.2 to 11.2 drawing quads with alpha
Replies: 5
Views: 1232

0.9.2 to 11.2 drawing quads with alpha

In 0.9.2 in-stencil cloud quads drawn over terrain quads rendered intuitively, as one would expect in a graphics program via layers. Occasionally clouds overlapped so the effect was more opaque (heavy clouds), which effect was exploited to simulate a storm cloud by intermittently drawing another qua...
by vortizee
Sun Jan 13, 2019 2:19 am
Forum: Support and Development
Topic: 0.9.2 to 11.2 love.graphics cannot function without a window
Replies: 8
Views: 1603

Re: 0.9.2 to 11.2 love.graphics cannot function without a window

There you go, I guess I put that in 0.9.2 to stop the visible resize and forgot all about it. Okay, I’m in the update business, thanks!
by vortizee
Sat Jan 12, 2019 4:24 pm
Forum: Support and Development
Topic: 0.9.2 to 11.2 love.graphics cannot function without a window
Replies: 8
Views: 1603

Re: 0.9.2 to 11.2 love.graphics cannot function without a window

I’m very rusty at the löve functions, and I worked everything out by trial and error. A window always launched at the start in 0.9.2, and I considered a config file the first time after noticing it started at some default dimension ( 800 x 600? ) before I could resize it with love.window.setMode. If...
by vortizee
Sat Jan 12, 2019 12:23 pm
Forum: Support and Development
Topic: 0.9.2 to 11.2 love.graphics cannot function without a window
Replies: 8
Views: 1603

Re: 0.9.2 to 11.2 love.graphics cannot function without a window

Thank you, same error though. I’m trying to find out what other things might bite like this from the changelogs.
by vortizee
Sat Jan 12, 2019 8:35 am
Forum: Support and Development
Topic: 0.9.2 to 11.2 love.graphics cannot function without a window
Replies: 8
Views: 1603

0.9.2 to 11.2 love.graphics cannot function without a window

What am I missing? main.lua:26 is require ‘lua/loader’ which is at the top of main.lua, and line 220 of loader.lua simply loads an image: local LGNI = love.graphics.newImage . . . controls = LGNI( 'resources/images/controls.png' ) Runs peachy in Löve 0.9.2 on OS X Mavericks but fails on OS X High Si...
by vortizee
Mon Aug 22, 2016 5:02 pm
Forum: General
Topic: Simple sort of table array
Replies: 16
Views: 3099

Re: Simple sort of table array

Thanks, s-ol Not tile based, unfortunately. I have to and do use string keys for the more complicated stuff, but when reading external data by lines I’m only comparing a few data points or building a hash file from it and so split the line by the file delimiter in the simplest way.
by vortizee
Mon Aug 22, 2016 4:49 am
Forum: General
Topic: Simple sort of table array
Replies: 16
Views: 3099

Re: Simple sort of table array

Not quite there in a deep sense. I understand what’s happening in these simple sorts, but I’ll be hunting for more complicated examples in the web to gain further understanding. :) My interpretation is that the sort expects pcs.A to be a table to be sorted by the third element of the table (because ...