Daily update, what have I achieved last night:
- adding more than one texture to high map
- grid on future water level
- 2d text over 3d scene – interface/debug
My 1 milestone is almost reached – only two things left: smooth transition between textures and animated water with reflection. Once I have that I will publish application and sample code.
that should be done by end of the week, however Software Development 3 coursework deadline if 3rd Dec and I haven’t done anything yet.
Continue reading “Day 2: multi texture, grid, interface”
Last night I was learning XNA 4.0 – framework – runtime environment with set of tools provided by Microsoft, language C# “platform crossing” – well it can run on Xbox 360 and tune.. and well Windows mobile, that suppose to make game development easier.. well it does.. I am actually surprised how well language and framework is designed.
Coding is simple, quick and we can see effect.. not like C++ – which in fact I do love – and one day I will be master in it! – one day, one day I say!
Tonight’s question: Is C# better language to learn?
I finally made it!
I have found couple bugs that was causing problems in my game.
first of all and I guess that was only error I have had was texturing for blocks – my program was using custom created mipmap function that was using probably not supported by hardware on desire, however.. it is working now!
Check this out! 3D Framework
Tomorrow I have to pass documentation for my mobile development game. Development name “Carlos”.
Basic idea for the game is to move from place A to place B – but that is not so easy to do! There is labyrinth a.. and a evil sphere.. fine! I had no idea for the game, ok!
Well not simple enough to be build in less than a week, anyway. This was great background for developing simple Android Framework that will allow me to develop something more sophisticated in the future.
Last changes for lightning, music and labyrinth model and tomorrow documentation..
Ok, adding music is really easy!
what we need is variable
private MediaPlayer mp;
then in onCreate method
mp = MediaPlayer.create(this, R.raw.run);
you can as well add
Whole world in this project is made by boxes as mentioned in previous post: Carlos – World Class – First Prototype.
- Different texture for every box can be used
- Box can be set in every place – simply calculated on world array
- Feature to show where box is set
- Every Box can have set up is if is passable or not
In future I want to make this class more sophisticated for instance
- transparent boxes (windows),
- disappearing boxes (traps),
- position of box changed in real time (lifts, doors)
Continue reading “CBox Class”
World in this game is made by blocks that can by passable or cannot, there is different class used to handle boxes it is called CBox. Idea is really simple but really effective and popular in industry. (google for Minecraft or cubeengine – fun fact Crytek – has used little *ekhem*, well bit more than that.. but based on the same idea solution for Crisis, where whole world is created by millions of boxes that allows creation of tunnels, caves, etc.
Load, process and draw 3-dimension map, it is container class that contains all elements that are on map player, AI opponent, floor, walls, lights.
- Update on click/touch
- Process lights – note: only exit point light – requires future development
- Draw – draw blocks
- Checker for boxes is is passable
- Clearing visited positions
- keep past and current frame time
Continue reading “Carlos – World Class – First Prototype”