(02-08-2015, 12:34 PM)Blue Phoenix Wrote: My guess is, in order to realize something like that, you'd have to provide some kind of API that bridges possibly different contexts of the applications. Seems like quite some hassle and I really would not recommend that 
Yes, definitely. There could be the following:
-A loadImg(directory) function that loads an image and returns its Texture object where:
---Texture.render(x, y) function renders the texture in (x,y).
---Texture.setColorKey(red, green, blue) sets the colorkey for the texture.
---Texture.moveTo(x, y) moves the texture to (x, y)
---Texture.translate(x, y) translates the texture's geometry by x and y.
---Texture.rotate(angle, center_x, center_y) rotates the texture's geometry by the angle "angle" with (center_x, center_y) being the center.
---Texture.stretch(x_factor, y_factor, center_x, center_y) stretches the geometry by the x, y factors from the center given.
---Texture.shear(x_factor, y_factor, center_x, center_y) shears the geometry by the x, y factors from the center given.
---Texture.reflect(on_x, on_y, center_x, center_y) on_x and on_y being boolean values. Reflects about the center given.
---Texture.resetGeometry() resets the sprite's geometry to normal.
-A loadSound(directory) function that loads a sound file and returns its Sound object where:
---Sound.play() plays the sound
-A loadMusic(directory) function that loads a music file (mp3, ogg..etc) and return its Music object where:
---Music.play(times) plays the music "times" time from the beginning.
---Music.pause() pauses the current running music.
---Music.resume() resumes the paused music.
---Music.setVolume(volume) sets the volume to "volume" (out of a 120).
-A GetCursorPosition() function to get the position of the cursor.
-A isKeyHeld(KeyEnumValue, player_number) function that returns true if the key of the corresponding player is held.
-A isKeyPressed(KeyEnumValue, player_number) function that returns true if the key of the corresponding player was pressed in the current frame.
-A complement() function that does the rest of the stuff behind the scenes (FPS controlling, checking for events..etc..etc).
Maybe also supply it with more collision detection related functions.
Stuff should be python level of clear if you've made even a single game in your life.
Quote:Alternatively, launch the "embedded" programs on their own. Ie. once a certain trigger is activated in your program, it will essentially just "run app.exe". That doesn't look too great, though, so idk 
Would be awesome if it would remove the app's frame and move it to the A-Engine's window center, but then it would not feel as professional once it's figured out :P.