Commit graph

45 commits

Author SHA1 Message Date
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
nek0
c7ab44e2f9 cleanup and documentation 2016-11-06 05:02:06 +01:00
nek0
1ccdf4ad75 showing text 2016-11-05 00:41:49 +01:00
nek0
211cbd85ad now using built-in timing facilities 2016-11-04 19:05:43 +01:00
nek0
e11312fb5d terminate after 5 seconds 2016-11-04 16:38:13 +01:00
nek0
f50bd1afe8 get first example somewhat working 2016-11-04 16:06:16 +01:00
nek0
2b69376fb7 merging with affection-examples 2016-05-29 18:02:03 +02:00