Mioplanet Lab
Research & Development
SEARCH
     Home | MioScript Experimentation | Bee

  Topics
Multimedia Experimentation
MioScript Experimentation
Software Experimentation
Robotics
Finger Driven Applications
Musical Gadgets
Miscellaneous

  MioScript Experimentation
Valse
Robot Mouse
Digital Jewel
Flying Onion
Waves
DigiCater
Bee
Squared
Magnificator
MioClock
Flying Notes
Mio Jackpot
Magic Carpet
Falling Pooh
Timer

Bee


 Bees flying on your desktop.

Bee
Mioplanet Lab - Research & Development

Stop moving the mouse and the bees will turn around it (the mouse must be on the main monitor). 



Try bee.exe


 You can download and try the application.
This application is a prototype and some features may not work as expected on your computer.

 
 
Filebee.exe
Size503 Kb
PlatformWindows 98, ME, NT4, 2000, XP, Vista
Start Download Now
Safe Download



Download Source Code


 The full source code is provided as a Mio Archive File.
With MioFactory, you can open this archive file, edit the source code and test the result.

 
 
Filebee.mioa
Size19 Kb
FormatMioFactory Archive File
Start Download Now
 



MioScript Source Code

 MioScript is a scripting language aimed to create any kind of applications.
A free version of MioFactory is available to compile MioScript applications. 



 main.k 

// 10 windows are animated (One window per bee).

event.load
      extern.close("{APP_NAME}") // Only one instance allowed
      app.init("{APP_ID}", "{APP_NAME}", "{APP_VERSION}", "{APP_BUILD}", "{CREATE_LOG}")

      system.priority(low) // So applications in the background can refresh faster
      
      &beei = draw.mem.createFromFile("beebeeb.bmp")
      &curb = 0
      for(&ptr, 0, 10)
            &bee[&ptr] = window.create(true, null, false, false, false, false)
            window.&bee[&ptr].shape.from.&beei()
            window.&bee[&ptr].pos.now(num.random(0, screen.width()), num.random(0, screen.height()))
            window.&bee[&ptr].stayOnTop(true)
            draw.&bee[&ptr].copyFrom.&beei()
            draw.&bee[&ptr].paint()
      for.next
      time.chrono.start()
      doEvent.Anim()
event.end

event.Anim()
      // Close when the esc, space or left mouse button is pressed
      if(keyboard.keyState(27) = true || keyboard.keyState(32) = true || keyboard.keyState(1) = true)
            app.close()
      if.end
      &p = time.chrono.stop()/10
      for(&ptr, 0, 10) 
            &cx = window.&bee[&ptr].left()
            &cy = window.&bee[&ptr].top()
            if(&cx > mouse.x())
                  &cx = &cx - 3
            if.else
                  &cx = &cx + 3
            if.end
            if(&cy > mouse.y())
                  &cy = &cy - 3
            if.else
                  &cy = &cy + 3
            if.end
            &deltax = (mouse.x() - &cx)/40+10
            &deltay = (mouse.y() - &cy)/40+10
            window.&bee[&ptr].pos.now(num.sin(&p+&ptr + &ptr*30, &deltax) + &cx,num.cos(&p/2 + &ptr*36, &deltay) + &cy)
      for.next
      doEvent.anim()
event.end


In the same topic


 
MioScript Experimentation
Mioplanet Lab - Research & Development
MioScript Experimentation
Various applications created to experiment and improve MioScript.

DigiCater
Mioplanet Lab - Research & Development
DigiCater
A sort of digital caterpillar moving on your desktop.

Digital Jewel
Mioplanet Lab - Research & Development
Digital Jewel
A Digital Jewel for your Desktop.

Falling Pooh
Mioplanet Lab - Research & Development
Falling Pooh
A pooh and it's balloon flying on your desktop.

Flying Notes
Mioplanet Lab - Research & Development
Flying Notes
A sliding window allows you to save data in six personal notes.

Flying Onion
Mioplanet Lab - Research & Development
Flying Onion
A ring rolling around a ball.

Magic Carpet
Mioplanet Lab - Research & Development
Magic Carpet
Enigmatic object with an animated shape.

Magnificator
Mioplanet Lab - Research & Development
Magnificator
A simple but perfectly efficient magnifier.

Mio Jackpot
Mioplanet Lab - Research & Development
Mio Jackpot
A jackpot game with sound effects and hi-score.

MioClock
Mioplanet Lab - Research & Development
MioClock
A clock for your desktop.

Robot Mouse
Mioplanet Lab - Research & Development
Robot Mouse
A robot running over your desktop trying to follow the mouse.

Squared
Mioplanet Lab - Research & Development
Squared
A full screen animation.

Timer
Mioplanet Lab - Research & Development
Timer
Rings when time is out.

Valse
Mioplanet Lab - Research & Development
Valse
Move an object with the keyboard and play music.

Waves
Mioplanet Lab - Research & Development
Waves
Simple animation using the MioEngine internal graphic engine.