0 Replies - 564 Views - Last Post: 20 October 2016 - 06:06 PM

#1 WONDERGG  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 20-October 16

Using one sprite to create several bigger sprites

Posted 20 October 2016 - 06:06 PM

Hi DIC,

I'm currently working on a little project, where I need to create tetris-like sprites based on one single square.
So I need to create something like this:
Posted Image

Using this:
http://i.imgur.com/1JpT4er.png

At the moment I create a Texture2D 2D array(matrix) and inserted the values manually, however the inbuild XNA method build won't draw arrays, only pure Texture2Ds.

It is very important I can create these objects and move them as one, and in a manner where I can return to each individual square at a later point(i.e. in an array).

Am I going all wrong around this, or do I just need to modify my method?

Kind regards

Is This A Good Question/Topic? 0
  • +

Page 1 of 1