Flash – Blog ictbram https://ictbram.com interactive pixels pusher Sun, 03 Dec 2017 10:39:23 +0000 en-US hourly 1 https://wordpress.org/?v=5.3.4 https://ictbram.com/wp-content/uploads/2016/01/cropped-brj-32x32.png Flash – Blog ictbram https://ictbram.com 32 32 Timer android app https://ictbram.com/2017/07/timer-android-app/ Mon, 10 Jul 2017 08:50:44 +0000 https://ictbram.com/?p=234 It’s been a while since I posted something on my blog.
I’ve been busy learning a new great, free tool, Godot Engine, a game engine with lots of features for animation, scripting, .. , plays along with Blender really nice, can publish to all platforms, including html5. I love it already, but did not yet finish something using it. This will change in the comming year I hope. To create more good documentation and tutorials I supported the kickstarter of Nathan Lovato by the way, for version 3, that is comming up, which packs lots of goodness (3D stuff, the switch statement supported in the scripting , …)
The tool and language is already really good and it’s getting better, it’s still not as evolved as the flash platform which I’m very familiar with, but Godot may become superior to me hence it is free and open source software.

A year and a half ago I discovered meditation. One evening it was not going really good, I was a bit in a bad mental condition and thinking how I could fix this. I typed the word “meditation” in youtube which brought me to this video:

an American with Russian roots, who explains very well how to meditate, possible pitfalls and what benefits you get by meditating. Since that day I’ve been meditating 20 minutes every day, I am convinced about what he says and experience the benefits. My plan is to keep doing this every day, no matter what.

One of the things you need to meditate, like he explains, is a timer. I have android phones. The system always has a timer included next to the clock, but there’s mostly something that is not ideal. The time the phone vibrates to short, vibration OR alarm sound. I checked some free apps, but same story. First I was thinking about using Godot Engine for building a timer myself, but apparently you have to compile Godot yourself to get a phone to vibrate, for now. Mobile phone vibration is something I’ve already got done in a flash game, Micro Star Fighter so I decided to just use flash with the Starling framework and Feathers components, which are still moving forward. The development went pretty quick, it’s a very simple app, but during testing I noticed the alarm was going off 20, 30 seconds to even a minute over time. This was caused by the app being pushed to the background apparently. I googled it and found a solution: https://juankproblog.wordpress.com/2012/06/17/using-the-local-notification-ane-on-ios/
An, open source, native extension for flash, works on iOS and Android, that can send and receive special notifications. This does the trick, when the sent, timed notification is received again, the app is being pushed to the foreground or something and my code, that checks the timing on an Enterframe, is executed.
Important, this works good when the phone is not being used, when you meditate for example, but when the phone is used heavily, the timer is running in the background, the app can get killed and does not restart.

The special notifications can be sent and received with a device reboot in between. That works, but the app does not start automatically with that notification, only when you push the notification.
I was hoping it would start the app and have made it ready, so it can resume the countdown on schedule. This works, but you need to start the application again yourself after the reboot. That’s alright enough, for now 🙂 , I guess.
Several tests on a few devices proved to me that it works properly, so my simple Timer application is finished.
It’s in the google play store for free.


Because the app asks for a lot of permissions and I love using open source software, like Blender and Godot, I’ve made it open source on github
A lot of the asked permissions, I use, to enable (almost all optional through settings) vibration, notifications, keeping the screen from sleeping, but I actually did not need or ask network permissions, I was planning not to do this, but it is something ADT adds when compiling Adobe Air with a captive runtime.

Greetings, I’m back off to learning Godot.

]]>
Zentangle https://ictbram.com/2016/03/zentangle/ Fri, 04 Mar 2016 15:58:42 +0000 https://ictbram.com/?p=147 My mom has discovered zentangle a while ago. That is drawing repetitive patterns on little cards and making compositions. It’s fairly new, but a lot people enjoy doing this apparently. Lots of wonderful work is being made and it has a meditatively effect while doing this. It ‘s something my mom loves to do these days. With some help from my father to set up a wordpress system, she started her own blog, tangledreams.be, where she writes about zentangle.
One time she asked me, my brother and father to create a little zentangle drawing for her, with help from a book with lots of tangles (patterns) to choose from and step by step instructions to draw that specific tangle. I enjoyed the drawing tangles experience and understand the effect, that it is meditatively.

Normally, drawing zentangles, is done on little pieces of paper, but since I am a digital guy, who likes animation and has a wacom drawing tablet at hand, I tried a little experiment with drawing tangles on that and make an animation with it in Flash.
I have chosen 3 really simple patterns, made an easy composition on a frame and did a slightly different redraw on the next frame.
There are just a few frames and I put some code on it, to move frames on mouse move after click or touch move. The swf output from flash was converted to javascript with Google Swiffy so it can be used on mobile devices. A bit of animation is seen while swiping the drawing.
The result is on ictbram.be/zentangle

zenTangle

It’s just a simple experiment I did at the end of a few days, one frame a day. While doing this, I felt the good effect for clearing your mind again.
Zentangle is something you can do, to meditate and do something artistic as well I’ll remember.

** Update 03/04/2016

From now on I’m going to post my zentangle animation experiments at https://ictbram.com/ZentangleAni. I’ve tried creating gif files, also javascript and WebGL, that gives much better results on most devices.

zentanglePatroon4_01

]]>
Wiezen android app https://ictbram.com/2015/05/106/ Sat, 09 May 2015 08:42:27 +0000 https://ictbram.com/?p=106 The android app “wiezen bij Bram”  I made was recently released on the google play store. It is now possible to play the card game wiezen with other people on http://ictbram.be/wiezen also on android. It is a game that has to be played with 4. You need to arrange a meeting with 3 other players.
A few years ago I’ve made a webversion of the game in flash.

The app is also made in flash with adobe air  and the Starling game engine. It is compatible with the webversion where it is possible to add computer players. They play by the rules, but just choose random cards. You can test or learn the game with the computer players, but you should play against real players.

The game uses the server software and library, union wich is installed on a raspberry pi at my home. The language of the game is Dutch.
There are some screenshots on http://ictbram.be/wiezen/android.html

I’ve also made a little promotion video with friends and family playing the game:

 

The video is created with the great free software package blender. This software is mainly for making 3D movies and images, but has a nice build in video editor as well.

The little star animation and credits were too made with blender.

]]>
Flash bugs on mobile devices https://ictbram.com/2014/10/flash-bugs-on-mobile-devices/ Sun, 19 Oct 2014 12:38:53 +0000 https://ictbram.com/?p=88 Hahaha, thanks to google swiffy I do can produce flashbugs on your mobile devices browserscreens 😀

http://ictbram.be/bugs

]]>
Flash to html5 https://ictbram.com/2014/10/flash-to-html5/ Thu, 16 Oct 2014 16:29:29 +0000 https://ictbram.com/?p=84 Today I published a little swf animation that can be seen in the browsers of iphones and ipads 😀
It’s nothing fancy, just a test:
http://qtrexramendeuren.blogspot.be/2014/10/ramen-bij-qtrex.html
With the google swiffy service, this is really easy. Just upload the swf here: https://www.google.com/doubleclick/studio/swiffy/ and they return an html5 canvas.
I love it. It’s possible to include some actionscript and have movieclips inside movieclips.
Flash is a great tool for creating interactive animation and this makes it publishable inside browsers without the plugin. Alright.
There are a some limitations, currently there is a maximum filesize of 1 MB and not all actionscript works.
But still, swiffy is pretty good, my swf was compiled with assets inside a swc and the tweenlite libray used from inside a swc worked in another test. Great stuff.

]]>
Micro Star Fighter game https://ictbram.com/2013/09/micro-star-fighter-game/ Sat, 07 Sep 2013 12:27:01 +0000 https://ictbram.com/?p=45 Today I released a new game called Micro Star Fighter on the google play store. It’s a free mobile game.

https://ictbram.com/starfighter/

Blender, Gimp and Adobe Flash were used to create the graphics.
Flixel as the game engine, As3sfxr for the sound effects and the free version of FDT for coding.

screenshotPhoneBlogpost

]]>
Youtube video https://ictbram.com/2013/08/youtubevideo/ Sat, 17 Aug 2013 09:40:04 +0000 https://ictbram.com/?p=34 A few months ago, I posted a video on Youtube about how my Wiezen game was accomplished.
Sadly, it did not play on mobile devices. Today I found out that this was simply because I used protected music in my video, so I removed the music and shortened the movie a bit.

This one does play on mobile devices:

]]>
Online wiezen https://ictbram.com/2013/03/online-wiezen/ Wed, 27 Mar 2013 13:07:23 +0000 https://ictbram.com/?p=19 Last summer I made an online multiplayer card game: wiezen.

There is more information about this on the following website: http://ictbram.be/wiezen
Everything is written in Dutch.

I made this little movie with blender about how the cards are distributed:

]]>