Newsflash
Main Menu
Home
News
Gallery
Search
Downloads
Links
Forum
Contact Us
FunDynamic
Login Form
Username

Password

Remember me
Forgotten your password?
No account yet? Create one
Who's Online
We have 2 guests online

First steps to moddability are working...
Written by Stefan Hendriks   
Monday, 04 June 2007
I've accomplished the following in the engine:
- define your own surfaces
- define your own color keys (ie for transparency)
- load them, link them , draw them.

In short:
- i have loaded up my mouse, with a purple key i do not want to draw as background
- i define a colorkey , with the proper RGB values and name it CC_DEFAULT
- i have set the colorkey in my mouse surface as CC_DEFAULT so it points to my just defined colorkey

The engine does the rest. Read more if you want to know the XML structure.
Read more...
Wohoo
Written by Stefan Hendriks   
Thursday, 31 May 2007
Looks like i have a bit of spare time and therefor written a few results. The SVN Repository is now at Revision 51 as i write this. Still waiting for anyone who is willing to participate.


The code is updated and supports now a simple XML reader. You can specify your bitmaps within a resources.xml , so basically you can say "load picture located at X with an id of Y". In code, i can match the ID due the nice little layer (MMEDataBase) i have written which has all the surfaces loaded with their ids. Sweet thing is, the id is a name in the XML, and you can access it with that name in code as well. But, to make it a bit faster, the code is being prepared to remember what name id is the id in the array, therefor one lookup is only needed, after that its blazing fast accessing directly from the array.


In short, i have a few bitmaps , place holders, and they are loaded via my resources.xml. Then i draw a little map, and i have a mouse cursor drawn over it. Thats all, but, i can notice that due the nice little API that is written as the engine fundament, its getting easier to write some stuff, and also gives solid and fast results.


Also, when something goes wrong, i get notified properly with asserts.


Want to see it? Grab the code at code.google.com , project "shaihulud".

Ok i admit it...
Written by Stefan Hendriks   
Tuesday, 29 May 2007
I have to admit it. There is no point in denying. Instead, I embrace destiny and share it with you.
Read more...
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Results 33 - 36 of 68
Polls
Rate Dune 2 - The Maker DEMO 4
  
Syndicate
Copyright 2000 - 2005 Miro International Pty Ltd. All rights reserved.
Mambo is Free Software released under the GNU/GPL License.