Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - benny!

Pages: 1 2 [3] 4 5 6 7
41
Just read Clyde's thread ... and I wonder what the represented
groups in this forum are doing at the moment, are there still active,
are there any big releases to expect, what is your current opinion
about the scene etc ?

Maybe some of you could drop a line ...

e.g.

- Gravity
- Codigos
- Haubjobb
- Youth Uprising
- Secretely!
...

42
General chat / Common words with 10 / 11 chars
« on: August 11, 2009 »
Hi,

I am working on a little words puzzle game in flash.
The idea is to guess common english words. Each level
the word to guess gets longer.

Right now I have problems finding words of ten and
eleven chars.

Words with 10 chars I can think of:

"adjustment",
"attraction",
"comparison",
"connection",
"discussion",
"experience",
"government",
"instrument",
"punishment",
"suggestion"

Words with 11 chars:

"competition",
"destruction",
"development",
"observation",
"responsible"

If you can think of any more words with 10 or 11 chars,
please post them. But please keep in mind that those
words should be VERY COMMON - so everybody do know them.

Thanks in advance!

43
Challenges & Competitions / [MAGNIFICATION] WIP
« on: July 19, 2009 »
Hi all,

I just checked my calendar and realized that I will not have
any time in the upcomign week to create something cool for
this competition. I am terribly sorry for that. What I have is
a really unfinished prototyp of just testing some very basic
motion. Had something in my head - but I simply cannot manage
to finish it in time.

That's why I call it WIP (work in progress). Sorry for that guys.

<a href="http://www.weltenkonstrukteur.de/dl-old/MEntry01.swf" target="_blank" class="new_win">http://www.weltenkonstrukteur.de/dl-old/MEntry01.swf</a>

You can click on it to activate a fish-eye view (that's the part of
magnification). The shader was slightly modified by me - the
orginal author is frank reitberger. I wanted to extend and
code my own - but again ... no time  :skint:

@Shocky:
How about activating the [ flash ] tag so that the flash movie
is shown within the post ?

44
Coding tutorials / AS3.0 TutBits
« on: July 11, 2009 »
Intro

AS3.0 TutBits is a series of small Actionscript mini tutorials. Their purpose is to point out certain differences of the actionscript 3.0 language compared to other programming languages. Each tutorial just concentrates on a tiny technical issue. The AS3.0 TutBits are not tutorials that teaches you how to programm in actionscript.

I started to release them on my personal blog - but since the blog is going through some changes - this place will be the official place for them.

---

Table of contents

1.) Getter and Setter
2.) Unknown number of parameters
3.) Nested functions
4.) Untyped variables
5.) Arrays
6.) Exception Handling

45
Hi,

since deadline is today, here is my little experimental entry showing
seconds (purple box) and minutes (greenbox). Requires Flash9.0.

LAUNCH EXPERIMENTAL CLOCK

Unfortunately, I didnt manage to implement everything I wanted -
that's why it is not really finished and polished. Well ...  ::)

/Screenshot attached.

46
General chat / MY-SQL Error
« on: March 24, 2009 »
Just got an mySql error (just 10 mins before this post).
It happened on the start page - ends up with something
like "fuxxor". Unfortunately I didn't copied the exact msg.

Now everything works fine again!

47
General chat / SID replay on the flash platform
« on: February 18, 2009 »
Hi,

just came across the followin link. It shows an early BETA
version of a SID replayer on the FLASH 10 platform. Right
now source is not available - but author says in his blog
that it might be available soon.

Quality is quite cool already. Check it out :

http://www.unitzeroone.com/labs/tinysidflash/

48
Projects / Little physics game in flash
« on: February 01, 2009 »
Hi,

played around with some physics engine today and came up
with this little game (still in early beta).

Maybe you want to have a try and give some feedback - that
would be highly appreciated.

PLAY ME
(link removed)

Thanks,
benny!

49
General chat / Facebooking
« on: January 29, 2009 »
Hi pals,

just thought it would be nice to be connected with sceners
via other social networks:

benny! on Facebook

50
General chat / Netbooks
« on: January 03, 2009 »
Hi ...

just wrote this in another forum thread:

just ran it on eee pc, and it plays as smoothly as it gets ! :carrot:

really nice intro man :D , once again well done

Ps. lol i still can't believe it plays badly on a P4 pc and plays smoothly on eee pc :P

And I just wanted to ask for your opinions / experience with
Netbooks. Do you own one - if so - which model - and do you
like it ?

Do you also own an UMTS flatrate ? If so - which contract do
you have / how much do you pay monthly - how good is the
connection and so on ?

I started this thread because I really plan to get one Netbook.
Right now - I am really interested in buying this one:

ASUS Eee PC 1000

51
Java,JS & Flash / [FLASH] CountTyperTF class
« on: December 26, 2008 »
Hi all,

I transfered the textroutine used in a shameless plug into a little
and hopefully handy Actionscript class. You can download the class
and example sources from this url:

DOWNLOAD

Here you have a working example of it:

RUN DEMO

Maybe this becomes useful for someone of you.

Enjoy!

52
Java,JS & Flash / [FLASH] Rotozoom
« on: December 21, 2008 »
Hi,

here is the source code to a little roto-zoomer done in ActionScript3.0

Code: [Select]
package 
{
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.display.SimpleButton;
import flash.display.Sprite;
import flash.events.Event;
import flash.geom.Matrix;
import flash.events.MouseEvent;
import flash.net.*;

/**
  * Simple rotozoomer in actionscript3.0
  *
  * @author benny!weltenkonstrukteur.de
  */
public class RotoZoom2 extends Sprite
{
// Declaring class constants
private const ZOOM_MAX:Number = 3;
private const ZOOM_MIN:Number = -2.0;
private const ZOOM_DELTA:Number = 0.015;
private const ROTATE_DELTA:Number = 0.05;

/// Initialisate private class members
private var angle:Number = 0, zoom:Number = ZOOM_MIN, isZoomIncreasing:Boolean = true;
private var logo:Bitmap = null, logoBitmapData:BitmapData;
private var sw:uint, sh:uint;

// Declare embedded assets
[Embed(source = "made-bunny.png")]
private var LogoBitmap:Class;

/**
* Constructor
*/
public function RotoZoom2()
{
init();
addEventListener("enterFrame", loop);
}

/**
* Initialize needed sprites and bitmaps
*/
private function init():void
{
// Create logo bitmap and retrieving the bitmapData
logo = new LogoBitmap();
logoBitmapData = logo.bitmapData;

// Setting canvas dimensions
sw = stage.stageWidth;
sh = stage.stageHeight;
}


/**
* Calcualte roto matrix and draws the scene
* @param ev, onEnter event
*/
private function loop(ev:Event):void
{
// If we want to zoom in
if ( isZoomIncreasing )
{
// Add increase value to zoom
zoom = zoom + ZOOM_DELTA;
}
else
{
// Otherwise decrement value from zoom
zoom = zoom - ZOOM_DELTA;
}

// Calculate new rotation angle
angle = angle + ROTATE_DELTA;

// If angle is greater than 360
if ( angle > 360 )
{
// Reset it to zero
angle = 0;
}

// If zoom is higher than maximum value
if ( zoom > ZOOM_MAX )
{
// Change to zoom out
isZoomIncreasing = false;
zoom = ZOOM_MAX;
}
// If zoom is less than minimum value
else if ( zoom < ZOOM_MIN )
{
// Change to zoom in
isZoomIncreasing = true;
zoom = ZOOM_MIN;
}

// Calculate matrix for rotation an zooming
var rotoMatrix:Matrix = new Matrix(Math.cos(angle) * zoom, Math.sin(angle), -Math.sin(angle), Math.cos(angle) * zoom, 0, 0);

// Fill scene with bitmap using the rotoMatrix
graphics.clear();
graphics.beginBitmapFill(logoBitmapData, rotoMatrix,true, true);
graphics.drawRect(0, 0, sw, sh);
graphics.endFill();

// Set it free for gargabe collection
rotoMatrix = null;
}
}

}

For a working version - visit my blog at.

http://www.weltenkonstrukteur.de/2008/12/rotozoomer-in-actionscript30/

53
General chat / Fexible & transparent Chips
« on: December 18, 2008 »
Wow .. check out these new geeky inventions:

<a href="http://www.youtube.com/watch?v=Vp5naHKkWnE" target="_blank">http://www.youtube.com/watch?v=Vp5naHKkWnE</a>

Transparent display:

<a href="http://www.youtube.com/watch?v=RsNFZAEssPQ" target="_blank">http://www.youtube.com/watch?v=RsNFZAEssPQ</a>

More future concepts with nanotechnolgies (by Nokia):

<a href="http://www.youtube.com/watch?v=IX-gTobCJHs" target="_blank">http://www.youtube.com/watch?v=IX-gTobCJHs</a>

54
Projects / [PERFORMANCE TEST] little e-business card
« on: October 06, 2008 »
Hi,

I created a little e-business card in flash. It uses software
rendering and is of course calculated in realtime (no static
animation). But since current flash version doesnt support
hardware acceleration - I would be happy if you could post
some performance tests (cpu power).

http://www.weltenkonstrukteur.de

The older you comp is the better ;-). Ah ja, and Flash9 is
required.

Thanks in advance.

55
Projects / DBF Greetings Typer
« on: September 01, 2008 »
Hi,

just a little small typer effect I hacked together for a little greetings list.
Nothing more to say about it since there is really no rocket-science involved
in this production ;-)

For more characters - please read the typer-text.

http://labs.weltenkonstrukteur.de/dbfgreetingstyper

Greetz!

56
Challenges & Competitions / [REDUCED RES] LowRes Cam
« on: August 28, 2008 »
Hi all,

here is my little entry for this cool and inspiring competition called:

LOWRES CAM.

About

It streams the webcam picture of a resolution of 160x120 pixels
and transforms them into only four colors. The four colors are:

0x00000000 / 0x00006600 / 0x0000AA00 / 0x0000FF00

So, I hope this entry matches both limitation of this contest  ::)

The actual screen dimension is the camera resolution (160x120) multiplied
by 4 (=640*480). That means that each "pixel" has a width and height of
4. The app requires a webcam to run (hope the majority of you has one
- I may supply a video for ppl without a webcam
).

Before I touched the flash platform I did play with several other techniques
like Java Media Framework, Processing and avicap32.dll using some WinAPI.
However, I must say using FLASH makes it pure fun to access the webcam
and play with it.

Credits

Pure ActionScript3.0 code by benny!weltenkonstrukteur.de
Music by Andrew Potterton


Ok ... I attached some screenshots - have fun!!!

57
Java,JS & Flash / [FLASH] Simple 3D Starfield
« on: August 24, 2008 »
Hi,

after googling around and reading more and more about
the upcoming features of the FLASH V10.0 (Codename:
ASTRO) platform (pixelshader-like additions, audio/synth
features ...
) I decided to do some research on it and give
it a try.

Well, as a simple HelloWorld effect I did a basic 3D star-
field (Flash Player 9.0 required).

http://labs.weltenkonstrukteur.de/simplestarfield

It is written in pure ActionScript 3.0.

Source is of course available:

stars.as
Code: [Select]
package 
{
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.display.Sprite;
import flash.events.Event;

/**
* ...
* @author benny!weltenkonstrukteur.de
*/
public class Stars extends Sprite
{

private var bitmap:Bitmap;
private var canvas:BitmapData;
private var sw:int, sh:int, snum:int;
private var stars:Array;
private var colors:Array;

public function Stars() {
snum = 250;
sw = stage.stageWidth;
sh = stage.stageHeight;
colors = new Array(
"0x000000", // never used
"0xFFFFFF",
"0xBBBBBB",
"0x888888",
"0x444444"
);

init();

addEventListener( "enterFrame", run );
}

private function init():void {
canvas = new BitmapData( sw, sh, false );
bitmap = new Bitmap( canvas );
stars = new Array( snum );
for ( var i:int = 0; i < snum ; i++ ) {
stars[i] = new StarModel();
}
addChild( bitmap );
}

private function run( e:Event ):void {
canvas.lock();

canvas.fillRect( canvas.rect, 0x111122 );
for ( var i:int = 0; i < snum ; i++ ) {
stars[i].move();
canvas.setPixel( stars[i].sx, stars[i].sy, colors[ stars[i].scol ] );
}

canvas.unlock();
}


}

}

StarModel.as
Code: [Select]
package 
{

/**
* ...
* @author benny!weltenkonstrukteur.de
*/
public class StarModel
{

private var x:Number, y:Number, z:Number, zv:Number;
public var sx:int, sy:int, scol:int;

public function StarModel() {
init();
}

public function move():void {
z = z - zv;
sx = (int)(x / z * 100 + 320 );
sy = (int)(y / z * 100 + 200 );
scol = Math.round( z / 100 );
if ( sx < 0 || sx > 640
|| sy < 0 || sy > 400
|| z < 1 ) {
init();
}
}

private function init():void {
this.x = Math.random() * 1000 - 500
this.y = Math.random() * 1000 - 500 ;
this.z = Math.random() * 500 + 100;
this.zv = Math.random() * 5 + 1;
this.scol = Math.round(this.z / 100);
}
}

}

58
Java,JS & Flash / MOD player in FLASH (haXe)
« on: August 09, 2008 »
Hi,

just found this on the net - maybe someone find it useful:

Flash Module Player

Greetz,
benny!

59
General chat / Subversion hosting
« on: August 07, 2008 »
Hi,

I am searching for a cheap but reliable server for
hosting a subversion installation ? Does anyone
has some experience with a hoster and could
recommend one ???

Thanks in advance,
Greetz,
benny!

60
General coding questions / Regular expressions
« on: July 23, 2008 »
Hi,

anyone good at regular expression. I try to transform the
following example list :

http://www.google.de/eins/index.html
http://code.google.de/zwei/test.html
http://eins.zwei.google.de/

into something like this:

google.de
google.de
google.de

using java ?

Anyone a regex-guru ?

Pages: 1 2 [3] 4 5 6 7