Commit graph

56 commits

Author SHA1 Message Date
nek0
33ca2220ea on how not to do it 2017-03-20 05:26:24 +01:00
nek0
7bf2962d07 some linting 2017-03-20 05:24:30 +01:00
nek0
f4a96f03c4 split particle update ind update and draw. Adding some concurrency 2017-03-20 05:24:02 +01:00
nek0
6eccf8ed5b introducing actors 2017-03-18 17:38:26 +01:00
nek0
a5273ff79b type signature 2017-03-18 14:12:42 +01:00
nek0
ec4c0fccc8 indent uniformity 2017-03-18 13:50:34 +01:00
Astro
ac9a9e3bdc port example02 to props 2017-03-17 00:21:42 +01:00
Astro
a737e2863c implement Affection.Property dsl 2017-03-17 00:20:42 +01:00
nek0
ba454d341d little fixes 2017-03-16 23:26:23 +01:00
nek0
7c51fbf3ac rebuild example02 2017-03-16 23:24:34 +01:00
nek0
a32c8957bd adding process function 2017-03-16 20:52:45 +01:00
Astro
a7c33a7413 clear 2017-03-16 20:21:04 +01:00
Astro
4882350095 split updateLoop into eventLoop/updateLoop, getTick, getDelta 2017-03-16 20:12:41 +01:00
nek0
767643a1af fixing leak in partUpd 2017-02-25 17:23:54 +01:00
nek0
97186c5709 it works only halfway 2017-02-17 17:15:06 +01:00
nek0
84b1a86f22 cleaning 2016-12-26 14:19:03 +01:00
nek0
10c889af56 rename drawRect' to drawRect and clean Affection.Draw 2016-12-26 14:14:54 +01:00
nek0
ebc0eea6c7 make previous examples work again 2016-12-26 14:06:51 +01:00
nek0
2095bb1924 fixed routing 2016-12-25 08:14:51 +01:00
nek0
b75f20c3d5 link all new particles 2016-12-24 08:27:09 +01:00
nek0
d5bf09919c make it work! 2016-12-24 01:13:00 +01:00
nek0
ee1200b597 random colors 2016-12-24 01:12:34 +01:00
nek0
158e4ddc80 trying to enable initial draw again 2016-12-24 01:11:59 +01:00
nek0
da79d55a0d make text more visible 2016-12-24 01:10:18 +01:00
nek0
388c141e23 particle system now works as a cascade of nodes 2016-12-23 14:18:39 +01:00
nek0
95c008cc4e new example 2016-12-21 04:33:28 +01:00
nek0
f468fdaaf5 *vomiting sounds* 2016-12-21 04:29:11 +01:00
nek0
179e2f9516 trying hard to make it better 2016-12-20 11:29:03 +01:00
nek0
a1b0b50b57 update particles after new ones come 2016-12-20 06:28:18 +01:00
nek0
55ae0bd32a changing particle draw condition
Now particles are drawn when moving the mouse whilst pressing the left
mouse button
2016-12-20 05:27:45 +01:00
nek0
fc67e752ed updated example. works fine 2016-12-20 04:16:31 +01:00
nek0
5a44486477 adjusted example 2016-12-18 19:01:53 +01:00
nek0
9d1b26d633 new: particle system and an example for that 2016-12-13 11:08:49 +01:00
nek0
8a8a5ed066 removing ubsolete imports 2016-12-12 02:12:45 +01:00
nek0
4eaa644cbf new accessors 2016-12-12 02:11:31 +01:00
nek0
05b126ef94 cleaning
Particles will be implemented in affection itself
2016-12-12 02:10:42 +01:00
nek0
b0d44124dc updating examples 2016-12-12 02:10:30 +01:00
nek0
663ffca664 some little cleaning 2016-12-11 22:08:33 +01:00
nek0
8820a6095f cleaning 2016-12-11 20:35:18 +01:00
nek0
cb158f1b2b now works and cleans and everything \o/ 2016-12-11 20:24:16 +01:00
nek0
2b1e6c62f1 squeezing even more perfomrance out of it 2016-12-11 17:38:03 +01:00
nek0
f034f40c2d show fps 2016-12-11 12:23:46 +01:00
nek0
40d88c4fd2 new example
It's a rectangle following the mouse
2016-12-11 12:11:58 +01:00
nek0
15fdea6949 Merge branch 'unsafe_colorize' 2016-12-11 01:44:01 +01:00
nek0
3757622475 works now and is fast 2016-12-11 01:42:06 +01:00
nek0
4cc55e32e7 unlift drawing 2016-12-11 00:04:23 +01:00
nek0
4e20d26c97 working on drawing primitives 2016-12-08 18:22:29 +01:00
nek0
04f6488a1a starting work on new example 2016-11-18 16:27:47 +01:00
nek0
7ae7c4e080 updated example 2016-11-13 13:46:23 +01:00
nek0
678c830e33 example now working with the right colours
This was an issue with the default surface created by sdl, which had
the wrong color format. For the future it is advised to use the RGBA
CFu8 format from babl, or things may break again.
2016-11-08 04:31:51 +01:00