deviant art





Login
Join deviantART for FREE Take the Tour Lost Password?
Deviant Login
Shop
 Join deviantART for FREE Take the Tour
About Me Deviant Member Eric20/Male/Netherlands Recent Activity
Deviant for 4 Years
Needs Premium Membership
Statistics 80 Deviations 362 Comments 6,310 Pageviews

Friends

:iconkevinbolk: :icontompreston: :iconsilentreaper: :iconxxsmarsxx: :iconwolf-shadow77: :iconcastilen: :icondjomally: :iconphoenix-06: :iconm1labbe: :iconscyphi: :iconalexiuss: :iconwarheadguy: :iconssj5goten: :iconenvy-the-sinners: :iconocadam: :iconchandraunicorn: :iconkudzuking: :iconstrangelet: :iconmeckanicalmind: :iconmarrekie:

Watchers

:iconm1labbe: :iconscyphi: :iconthepianoman: :iconmegalothero: :iconreysspieluhr: :iconwarheadguy: :iconssj5goten: :icongi-rogue-trooper: :icongamesfuhrer: :iconcastrolskyline2: :iconapache111: :iconchandraunicorn: :iconpollyandcracker: :iconkudzuking: :iconmalanok: :iconenvy-the-sinners: :iconostadus: :iconakaga: :iconaniper: :iconstorm-x:
So for the past few weeks I've been wasting my free time on a giant project called the Flash Template Project.
The goal of the project is to write an ENTIRE game engine for ActionScript 3.0 in Flash. I'm looking at Flixel and FlashPunk for good examples of how to start with specific components of the engine, which I expand and change heavily based on my own ideas and impressions.

Compared to the time I've spent on it, it's quite far already.
I've programmed the basic structure of the engine and am now working on more detailed components.
The sound engine is mostly in place, including creating and removing sound sources and listeners. I just need to add pitch for sounds.
The world-switching engine is in place, which I use to go from one level to another.
The input for keyboard and mouse works well enough, I've yet to calcuate the in-world position using the on-screen position of the mouse.
The time is calcuated and slomotion effects can be applied. Delays can also be created.

The Drawing engine is well under way. Camera's can be created and defined what part of the screen they take, and sprites will be drawn on the correct position in all the camera's. Sprites can also be colored, faded in / out, rotated, scaled and rotated after scaling. The scroll factor can also be adjusted. This will create the illusion of depth by making distant objects move less across the screen as they or the camera move.
The resulting image can be cached for optimized and efficient use of memory.

The strong point of this engine compared to Flixel is that a sprite is transformed once, saved, and not calcuated again until it is transformed again. In flixel, a rotated or scaled sprite is constantly calcuated, which eats up massive performance. Especially if you've got lots of rotated sprites.
In the FTP engine, the caching possibilities for the sprites are a bit bigger too and if used correctly can save tons of performance and memory.

Next up is animations and the collision engine. But before that, I've got an important school week to run through.


If you're interrested in the progress of the game engine, follow me on twitter.
I almost only tweet about the progress of the game engine.
  • Mood: Optimism
  • Listening to: Flogging Molly
  • Watching: Star Trek Voyager
  • Playing: Starcraft II
  • Drinking: Cola

Devious Info

  • Current Residence: Netherlands
  • Interests: Science Fiction, Fantasy, game design, games, writing, drawing, programming... being creative.
  • Favourite movie: Titan AE
  • Favourite band or musician: Pendulum
  • Favourite genre of music: Drum & Bass
  • Operating System: Vista
  • MP3 player of choice: Ipod
  • Favourite game: Freelancer
  • Favourite gaming platform: PC
  • Personal Quote: What if...
  • Tools of the Trade: Pencil, eraser, PC,

AdCast - Ads from the Community

[x]

Comments


:icon:
Add a Comment:
 
:iconxxsmarsxx:
~XxSMARSxX Apr 21, 2012  Professional Filmographer
weeeeeeeeee!
oh!
sorry it took me nearly a year to say thank you for the watch...
but... THANK YOU FOR THE WATCH!
XD

:iconmumu-plz::iconsaysplz::iconbummiesplz::icontardboogieplz:

--
live, love, and eat fruit
----------------------------
Reply
:iconbulska:
lol xD so long ago already?
No problem, your comics are awesome and deserve more watches!
Reply
:iconxxsmarsxx:
~XxSMARSxX Apr 22, 2012  Professional Filmographer
haha wow. well, thanks
hopefully one day more people will read them. C:

--
live, love, and eat fruit
----------------------------
Reply
:iconscyphi:
~Scyphi Feb 18, 2012  Hobbyist General Artist
Dun Dun Duh Da! It's your birthday again!

Happy birthday. :) We are throwing a party in honor of your tremendous success. Stop what you are doing and assume the party escort submission position. A party associate will arrive shortly to collect you for your party.

:iconportalcakeplz:

;)

--
"NO! Why isn't this corn tall enough? This is terrible corn!" --Lackadaisy

"Eternal chaos comes with chocolate rain, you guys! CHOCOLATE! RAIN!"--MLP:FiM
Reply
:iconbulska:
Awesome xD thanks!
Reply
:iconignite712:
~ignite712 Oct 5, 2011  Student Traditional Artist
thanks! :hooray:

--
Llama please :cries: :fingerscrossed:
Reply
:iconbulska:
Saw your comment on something, + your signature. :D
Reply
:iconscyphi:
Mood: Eager ~Scyphi Feb 18, 2011  Hobbyist General Artist
A little bird told me it was your birthday, so I gave you a lama.

--
"NO! Why isn't this corn tall enough? This is terrible corn!" --Lackadaisy

"Eternal chaos comes with chocolate rain, you guys! CHOCOLATE! RAIN!"--MLP:FiM
Reply
:iconbulska:
Heh, thanks :D
19, I can now legally drink in canada!
Reply
:iconscyphi:
~Scyphi Jan 18, 2011  Hobbyist General Artist
Thank you for the fave! :D

--
"NO! Why isn't this corn tall enough? This is terrible corn!" --Lackadaisy

"Eternal chaos comes with chocolate rain, you guys! CHOCOLATE! RAIN!"--MLP:FiM
Reply
:icon:
Add a Comment: