How to make an object in game disappear!

  • (2 Pages)
  • +
  • 1
  • 2

16 Replies - 737 Views - Last Post: 31 January 2012 - 04:21 PM Rate Topic: -----

Topic Sponsor:

#16 gamazone  Icon User is offline

  • New D.I.C Head

Reputation: -2
  • View blog
  • Posts: 44
  • Joined: 05-April 11

Re: How to make an object in game disappear!

Posted 30 January 2012 - 09:57 AM

Hi Butchdean

It will be very helpful to me if you could tell me how to decide what method to use. Means two methods are there , Why you supported first one?

1] one you saying redrawing the whole scene with object in new position, but its CPU intensive , less memory.

2] other is , instead of redrawing whole scene , i can just move the object and replacing its old position with a background color, would take more memory , but less CPU.
Was This Post Helpful? 0
  • +
  • -

#17 ButchDean  Icon User is offline

  • Pro Games Programmer
  • member icon


Reputation: 689
  • View blog
  • Posts: 2,504
  • Joined: 26-November 10

Re: How to make an object in game disappear!

Posted 31 January 2012 - 04:21 PM

View Postgamazone, on 30 January 2012 - 04:57 PM, said:

Hi Butchdean

It will be very helpful to me if you could tell me how to decide what method to use. Means two methods are there , Why you supported first one?

1] one you saying redrawing the whole scene with object in new position, but its CPU intensive , less memory.

This should be GPU intensive. Where did you get the 'less memory' aspect from?

View Postgamazone, on 30 January 2012 - 04:57 PM, said:

2] other is , instead of redrawing whole scene , i can just move the object and replacing its old position with a background color, would take more memory , but less CPU.

You are redrawing the whole scene anyway, something like 60fps. You need to focus on getting it working by redrawing the whole scene then look into optimizations.
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2