It is hard to determine how to change to color of your cube without seeing any attempted code and without any specifics of the class of the cube. Please post the cube class code (preferably with attempted color-changing).
i haven't attempted anything yet because i cant find any tutorials, that's why i was asking
even if there's away to do it with different images like every millisecond the image changed to another and that other image as a different color?
All I can say at this point is that you need an Actor subclass to create cube objects with a method to change its image and an act method that calls this image changing method. The images can be created programmatically or saved in image files. , If you encounter problems after you have done that, post the code and explain the problem(s).