Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

mypel16000

Member Since 31 Oct 2012
Offline Last Active Today, 05:31 PM
-----

Topics I've Started

Screen Particles Help

Today, 06:35 AM

Hello, I wanted to know how to make an effect of dust going past the screen. I'm talking in terms of Call of Duty where there is always stuff moving in the air. Is this some sort of particle implementation?

 

Could someone tell me how its done or at least point me in the direction of a good tutorial?

 

P.S: I use SFML, but simple concepts non-related to this engine will be useful.

 

Thank you


Advanced C++

03 April 2013 - 05:20 PM

Hi there,

 

September last year I started to learn C++ for game programming. I have got on pretty well, I finished a youtube series of tutorials and through my own research and help from some forums I have developed some very good projects which I'm proud of. The problem has come now that I'm trying to develop an A star Algorithm program. I can understand the theory, but I just cannot code it or understand recipes.

 

I am looking for some advanced C++ tutorials,

 

I know all the functions, classes, data types and all that simple stuff, what I want to learn is some things like maps, nodes, advanced poiters, vectors... Things which those simple tutorials don't teach.

 

Any help, links, blogs...?


Shooting in SFML

02 April 2013 - 01:15 PM

I have used this method to implement Projectile movement into my shooting game:

 

Dlen = sqrt(Dx*Dx + Dy*Dy)

Dx/=Dlen;

Dy/=Dlen

Bx=Bx+Dx*Bs;

By=By+Dy*Bs;

 

*Dlen = normalised value, Dx = xOffset, Dy = yOffset, Bx= bulletX, By= bulletY, Bs = bullet Speed.

 

The problem is that this function changes the speed of the projectile depending on how close the mouse (aiming point) is to the player (shooting point). It also seems like it draws 6 separate bullets as it doesn't move it smoothly. Is there any other method I can use to shoot projectiles from the player (in a top-down 2D shooter) towards the mouse?


Adding a storyline

01 March 2013 - 10:20 AM

Hi there,

 

I am developing a 2D top-down post-apocalyptic shooter and would like there to be a storyline. I have no experience with this and have no clue how to do it...

 

I would like there to be a primary storyline and then some secondary missions, but how do I keep track of where the player is in the story. What functions do I have to add to my code...? Should I have a different class for the storyline and have a bunch of IFs to see if the player meets the required standards to start the mission? and an int for the mission he is currently in?


2D Top-Down Map

27 February 2013 - 11:36 AM

Hello everyone, me and my game designer are having some problems while thinking out how to design our game. Our game will be a top-down shooter in a post-apocalyptic scenario. We were looking at having one part of the map as a city ( Like new york, tall buildings aligned in a Manhattan style, many in a sort of grid )

 

We don't want it to be like those games with a bit of perspective from a corner where everything is seen like that. We wan't our "player" to be seen straight down (its a 2D game), we don't want there to be 4 positions, one forward, one backward, one to either side, we want a full 360 spin, so we do it as it's seen from above. Now, the problem is that we can't give the game a good perspective of the city with tall buildings because if they are seen from above they will just look like back-gardens, you will just see the top. Do you guys have any ideas on how to give the map an impression of height without adding perspective from one side?


PARTNERS