Questions tagged [breakout.c]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
77 views

Pset 3: Breakout initBricks implementation

I don't understand why my implementation of initBricks isn't working. I noticed that most people have been using nested loops for the ROWS and COLS and I don't particularly mind using doing that too, ...
0 votes
2 answers
177 views

How can I compile to Windows from the appliance?

I am currently using the appliance through VMWare, and while doing the breakout program I find myself with 2 problems. One the game runs quite laggy, both versions (staff and mine), and it is quite ...
0 votes
1 answer
46 views

Breakout compiles but doesn't run

Hi I've been working on/stuck on breakout for about a month now and still can't seem to figure out what's wrong with my code. My program compiles without any errors but if I run it, it doesn't work. ...
0 votes
1 answer
40 views

Scoreboard implimentation breakout

I've looked through every Breakout question and can't seem to fix my issue. Whenever I manage to get the Scoreboard visible/counting the ball will always collide then freeze on it. Right now I can't ...
0 votes
1 answer
99 views

Why won't my scoreboard appear in breakout.c?

I can't for the life of me figure out why my scoreboard won't appear in the middle of the screen. I checked out the question @Agata S. posted (link below) but it didn't help me resolve my code's bug. ...
0 votes
1 answer
117 views

Breakout.c: GLabel Looping

I have created a You Lose/You Win message after a player runs out of lives or hits all the bricks. However, the code I've used seems repetitive and that's always bad! I'm thinking I could put the ...
0 votes
1 answer
350 views

Breakout: How do I remove a GLabel?

I'm trying to prompt the user to click to try again after he loses a life. I have implemented this by a GLabel. I am struggling to find a way to remove that GLabel message once the user has clicked to ...
0 votes
0 answers
83 views

Detecting if ball is moving up or down

How can I detect if the ball in the breakout.c problem (pset3) is moving up or down? In other words how do I detect changes in Y parameter of velocity? Are there any functions for this purpose in the ...
0 votes
1 answer
397 views

breakout - ball takes out too many bricks

I have breakout mostly working, but I can't figure one issue out. Sometimes, my ball will break through multiple bricks. Instead of hitting one and bouncing back towards the bottom, it rips through a ...