No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
so heres the problem, i have been working on this asteroids game for a week or so now but i cannot for the life of me figure out how to work the direction properly. at the moment the only thing the ship does is move up the screen. The functions … |
|
Hey im creating a cache simulation in C++ i have the read/write policies and most of the eviction policies but im struggling to get my head round adaptive replacement cache. i kind of understand how the two lists work but not very well. If anyone could help explain it to … |
|
The header file [code=c] #ifndef DRAUGHTS2_H #define DRAUGHTS2_H #include <SFML\Graphics.hpp> #include "TwoPlayerGame.h" #include <iostream> enum state{intro, playing, gameover}; //the states found within the game enum squareValue{green, red, blank}; //the draught square values on the board class Input { public: Input(); void setInput(unsigned int,unsigned int); unsigned int getX(); unsigned int getY(); … |
|
Dear all, i am trying to get my sprite to be dragged around the screen by clicking the mouse, i can get it to attach to the mouse but cannot get it to unattach itself, i coded the if not mouse click then set mouse attach to false but it … |
|
Hello does anybody know how to scale a sprite or image to fit the whole render window? at the moment i have my checkers board but its in one corner of the window and i want it to fit the window entirely would be a great help :) |
|
When you make sprites does the image file type have to be .png or can it be .jpeg etc.?? cheers for helping me out |
|
i know how old school my laptop is but it does the job so i decided to get a new screen rather than a new laptop i have removed the bezel and unscrewed the screen and disconnected it. The problem is the new screen does not have the inverter on … |