Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


StaticPoof

Member Since 28 Mar 2012
Offline Last Active Oct 23 2014 01:35 PM

Posts I've Made

In Topic: Lack of Production From Team Members

16 October 2014 - 01:59 PM

Being a CS student myself this has happened plenty of times to me.
 
- Let them know that they have responsibilities to the group, and they have to do their part.  Mention it once, maybe twice, and leave it at that.
- Let your professor know that they didn't do their part (keep minutes for meetings and/or a log of what everyone worked on)
- Do not fall behind. There is a set deadline for when your project needs to be finished.  If they're not working everyone else has to pick up the slack so your group doesn't fall behind.
 
Sorry to hear about the unproductive team members, I feel for ya

In Topic: Simple and straightforward game news channel?

25 August 2014 - 06:55 AM

If you don't mind reading polygon.com, if your looking for videos try rev3games on youtube.


In Topic: Map tiles calculate

11 August 2014 - 06:58 AM

Do you mean the lines should be drawn green instead of red?  if that's the case then you should try to debug your code.  Put a breakpoint here:

if (map.IsValid((ushort)(mapx), (ushort)(mapy)))
{
   b = new byte[] { 0/*Blue*/, 255/*Green*/, 0/*Red*/ , 0/*useless*/ }; //breakpoint here
}

First make sure your this line of code actually runs, if not then you have a problem in your map.IsValid(...) function.  If this line gets run, make sure you're not redrawing over your green lines.


In Topic: Map tiles calculate

08 August 2014 - 12:24 PM

From what I can tell you're incrementing all of your loops by one instead of by the size of your tiles (which makes them all draw on top of each other).  You want to increment by the size of the tile, ie  

for (int dx = 0; dx < size_of_puzzle; dx += size_of_tile_x)
{
   ///logic
}

In Topic: use of pointers

31 July 2014 - 01:43 PM

Try to think of pointers as street addresses.  Its a lot faster and more efficient to say I live at "101 binary street" than it would be to grab your actual house and say I live here.


PARTNERS