CBox Class

CBox

Idea
Whole world in this project is made by boxes as mentioned in previous post: Carlos – World Class – First Prototype.

Feature

  • 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

Future Development
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”

Android 2.2 3D – cube with a shadow

Android 2.2 - Rotating Box with a shadow effect

1: Intro

In this article/tutorial I ll present how to create *cough* simple *cough* – well simple after you make it, cube with shadow effect. The idea is to make our android based device to display cube that will rotate around it own and – well that happened without my intention – around light source.  Problems I meet ware mostly based on me being not familiar with GL API.. but.. one step at time.. in next post I ll present how to add bitmap on the surface of cube..
Continue reading “Android 2.2 3D – cube with a shadow”

Android v 2.2 – Set up and 12 balls.

After over 48 hours with 4hours of sleep, 18 hours of work, 2hours of catching up with university, 0.5hour of set up eclipse on pc – with android SKD and configuration, 2hours of searching and 1hour of actual codding I come up with 12 balls that bounce on my phone – at the moment only from top of display to the bottom but I think that – considering my mental condition – I have got around 12 coffees and 2 relentless.. yeah my hands are shaking – anyway. I have 12 balls.

Continue reading “Android v 2.2 – Set up and 12 balls.”