Find Jobs
Hire Freelancers

Create a 2D game in C++ using OpenGL (University Project)

£20-250 GBP

Closed
Posted over 9 years ago

£20-250 GBP

Paid on delivery
You are to build a simple 2D game in OpenGL by using the GLUT toolkit to assist you. The game is loosely based on the classic 80s game ‘Asteroids’. A partial version of the game screen is shown in figure 1 below. The game may be extended into 3D for coursework 2. The game scenario consists of a spacecraft in the centre of the screen. The ‘asteroids’ appear at the start of the game and the spacecraft can turn freely about its axis and fire missiles at the asteroids. The asteroids themselves do not translate but rotate slowly about their axis. If a missile fired from the ship strikes an asteroid, the asteroid disappears and the score is increased by 10 points. Once all the asteroids have been hit, then a new set of asteroids should be redrawn randomly1 on the screen but not drawn in the position where the ship is (you need to apply some simple collision detection there). The number and shape of the asteroids is up to you but there should be a minimum of 8 and they should vary in size and rotational speeds (smaller rotate faster). The game goes on indefinitely but feel free to put in a pause or stop. Every 10 seconds an alien spaceship (of your chosen design but should be small and hard to hit) should move into the scene and fire missiles at your spacecraft. If the spacecraft is hit 3 times then it disappears and the score is set to zero. The game restarts from the beginning with the spacecraft reappearing.. If the alien ship is hit once it disappears and the score is increased by 20 points. 1 Note: Pre-determined positions (at least 8 different positions for each asteroid is also acceptable but scores less marks). Random generation will score 5% more in this [login to view URL] 3D Graphics Programming – Coursework One version 2.0 - 2014 3 The star field behind the main scene should drift slowly2 from top to bottom or left to right with new stars appearing from the top/left as the old stars disappears from the bottom/right. Note that the star drift should be smooth and not jerky. Figure 1 Screen of incomplete version (asteroids can be filled (GL_POYGON) or line drawn (GL_LINES) ) Technical Details The screen consists of several objects: 2 Static (non moving) starts are acceptable but will score less marks – see mark [login to view URL] 3D Graphics Programming – Coursework One version 2.0 - 2014 4 a) Rotating spaceship (controlled by left/right arrow keys and fire using key of your choice) b) Asteroids (Hexagons are shown here but can be any shape you choose) c) Moving star field d) The ship e) The missiles from ship f) The score panel g) An alien spaceship that shoots at the ship in the centre Notes: All the shapes in the figure are built from simple primitives and you are free to copy this design without penalty or you can create your own shapes. The stars can be drawn by using points (GL_POINT) and smoothed, note that you can change the size of a point with an OpenGL command. Note you can use a mix of colours to give the impression of texture on the asteroids and ship. In coursework 2 we will use lighting to achieve this effect but for this coursework use different colour vertices. Deliverable for coursework one: 1. Spacecraft rotation code – model and rotation code (5% for model and 10% for rotation code and user controls) and working collision detection 15% 2. Moving star field (5% only if static) – 10% 3. Alien ship (motion/missiles/spawning) – 10% 4. Spinning asteroid model– 10% 5. Asteroid random or predetermined redraw code with working collision detection – 20% 6. Working Score panel – 15% 7. Collision detection – 10% 8. Explanation of code/3D graphics in the viva3 – 10% (Included in these are marks for coding standard and code quality)
Project ID: 6694919

About the project

14 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
14 freelancers are bidding on average £209 GBP for this job
User Avatar
Hello, expert in OpenGL and C++ programming here. I can implement for you a 2D Asteroids like game. Thanks and let me know if you are interested to work with me, Paul
£250 GBP in 7 days
5.0 (107 reviews)
6.6
6.6
User Avatar
A proposal has not yet been provided
£210 GBP in 7 days
4.8 (179 reviews)
6.6
6.6
User Avatar
Hi! I am professional C/C++/C#/Java programmer. I can do this project with highest quality. Best Regards, Szymszteinsl
£500 GBP in 7 days
4.9 (35 reviews)
6.1
6.1
User Avatar
Honestly, I would need to see the screenshots mentioned in the project description to get a feel for how complex the asteroids and ships need to be, but barring something that's supposed to look super realistic, I should have no issue getting this done for you. Probably even throw in a decent amount of whatever they want for coursework 2 extras if the description are clear enough on what they want.
£148 GBP in 10 days
5.0 (34 reviews)
5.2
5.2
User Avatar
i am an experienced opengl programmer developed different 2D , 3D applications in last 6+ years of programming span.u can vsit my profile to view my opengl related works.
£233 GBP in 7 days
4.2 (3 reviews)
3.7
3.7
User Avatar
I consider myself a C++ and OpenGL expert, therefore i can provide you with quality code for your assignment. Please feel free to contact me for any further information.
£122 GBP in 6 days
5.0 (7 reviews)
3.4
3.4
User Avatar
Once upon a time I got 5 100% by helping fellow students by completing their programming projects. I;ve been coding in OpenGL for almost 15 years, So this is simple. As it is a student project I will require a 50% milestone award before I begin programming. Sorry if that sound harsh, but such is life. The Catch : You did not specify Windows or Linux???? Either or will not be a problem.
£244 GBP in 3 days
5.0 (1 review)
3.2
3.2
User Avatar
I over 8 years of professional opengl and game development experience. I have worked on projects similar to what you are asking for and I can do this for you,
£150 GBP in 7 days
5.0 (2 reviews)
3.1
3.1
User Avatar
I used to create projects in GLUT and opengl with c++. If you are intrested in please send me a private message.
£150 GBP in 8 days
5.0 (2 reviews)
1.7
1.7
User Avatar
***Can deliver it until sunday, please contact me for more details*** Hi, I have about 10 years of experience in programming in .Net, C#, VB and Java, for all platforms(desktop, web and mobile). I already created before games like this one, and I can create game like this one in few days, and even do following tasks if you want to(e.g. sprite, animations, music, etc.) feel free to contact me I will get back to you ASAP.
£120 GBP in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I am a great computer graphics lover. When I took computer graphics course, I did an asteroid project very similar to this project. So I am perfect fit of this project.
£150 GBP in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
£222 GBP in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED KINGDOM
United Kingdom
0.0
0
Member since Nov 6, 2014

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.