Search found 106 matches

by Musi
March 4th, 2013, 4:51 pm
Forum: Everything
Topic: lesson 12
Replies: 1
Views: 1375

Re: lesson 12

Could you upload the program so we can have a look? :)
by Musi
March 3rd, 2013, 5:48 pm
Forum: Everything
Topic: Removing a drawn pixel
Replies: 5
Views: 2741

Re: Removing a drawn pixel

Sounds like you mean collision detection. The simplest way is to make a box around the enemy and then test every frame to see if the pixel is inside the box. Also, to see if the pixel has gone past the top of the screen you just have to test if the Y coordinate is less than 0.
by Musi
February 25th, 2013, 8:35 pm
Forum: Everything
Topic: If I Was... *GAME*
Replies: 15
Views: 7271

Re: If I Was... *GAME*

the weather would be cloudy with a chance of pain.

If were a dictator...
by Musi
February 19th, 2013, 7:42 pm
Forum: Everything
Topic: Filling a polygon. SOLVED.
Replies: 8
Views: 3288

Re: Filling a polygon. HELP!

hmm... maybe testing to see if the angle from vertex to pixel is greater than the angle from vertex to vertex? Just a guess, probably not.
by Musi
February 12th, 2013, 5:31 pm
Forum: Everything
Topic: So what are your opinions about Game Maker?
Replies: 9
Views: 3569

Re: So what are your opinions about Game Maker?

I had that exact experience, but with rpg maker. I was frustrated by its limitations so i decided to start programming myself.
by Musi
February 8th, 2013, 6:56 am
Forum: Everything
Topic: Bug in surface.h
Replies: 4
Views: 2090

Re: Bug in surface.h

If you declare a class object it needs to be able to call its constructor as soon as its created, and the initializer list is just for that, to let you initialize any objects that need to be. Once it gets down to the brackets it's too late to initialize it, it's already been created.
by Musi
February 7th, 2013, 6:55 pm
Forum: Everything
Topic: Rescue Chili!
Replies: 3
Views: 2702

Re: Rescue Chili!

lol, i like it.

I just noticed every tile is individually coded, that's crazy.
by Musi
February 7th, 2013, 7:10 am
Forum: Everything
Topic: Bug in surface.h
Replies: 4
Views: 2090

Re: Bug in surface.h

The problem is actually because the surface pointers you're accessing seem to be invalid pointers. I found where "AliveSprite" and "DeadSprite" are loaded and it seams to work, i couldn't find where they change to invalid pointers, you'll have a better idea where to look. Just to add, i noticed for ...
by Musi
February 5th, 2013, 6:41 pm
Forum: Everything
Topic: Chili Face!
Replies: 24
Views: 8577

Re: Chili Face!

Some say he has 12 fingers, so he can code faster.
by Musi
January 31st, 2013, 7:03 am
Forum: Everything
Topic: Rotation Problem
Replies: 22
Views: 8142

Re: Rotation Problem

Are you using the DrawLine() finction to draw between four points? Cause that's a lot easier than a bitmap.