Submit
29d8b5731409c71038e0174399d8a2cd
1
legione_ 102 Feb 07, 2014 at 18:48

The cry engine can be used for free (if your project is non commercial) and seems to be the best solution to your needs. Here the link: http://mycryengine.com/

In response to reply on Call of Duty is dead?
B5262118b588a5a420230bfbef4a2cdf
1
Stainless 151 Feb 07, 2014 at 17:18

None of my fingers point in the same direction as they used to, I’ve broken them so often.

Had to re-learn to type so many times.

I play games now more as an intellectual exercise, I look at them and think “ahh they are using deferred rendering and they are using influence maps and …..”

Some games I play as stress relief, as a true Englishman I enjoy killing the French at any opportunity. I’m too old to play rugby any more, too unfit to do judo, have to make do with virtual violence.

15b49ecb37f32eca4d5db9ef199d4cd5
0
ReadySetRetro 101 Feb 07, 2014 at 16:18

Available now in the AppStore

https://itunes.apple.com/us/app/rogue-resources/id795217313?ls=1&mt=8

In response to Call of Duty is dead?
Fd80f81596aa1cf809ceb1c2077e190b
0
rouncer 103 Feb 07, 2014 at 15:08

something sorta on topic, considering you guys are complaining about rude little weeners on the internet playing games… heres my ancient opinion on the subject of all bloody games….

games are like candy, i just cant play them anymore without cricking my neck, and paralyzing my hands, just like candy makes my teeth ache… all i want now is my neural net games, and they are so pointless to play, its just funny controlling something that looks as real as tv. :) but they are still in theory stage, cause its bloody hard, and anything out there is too maths heavy to ever learn shit off.

cause i dont do maths.

its got nothing to do with maturity of my personality, its just my body is getting SO OLD.

Fd80f81596aa1cf809ceb1c2077e190b
0
rouncer 103 Feb 07, 2014 at 15:05

thats amazing, goes to show how fancy maths gets. its like from some cartoon with some smarty pants kid computing the trajectory of his sling shot with maths :)

In response to C++ question
A8433b04cb41dd57113740b779f61acb
0
Reedbeta 167 Feb 07, 2014 at 07:42

It’s saying that it can’t find the variable called m_Surface, which should be available inside any of the Game::Blabla functions. Does the tutorial compile and run ok before you started modifying it for the assignment? If so, can you post all your changes?

In response to C++ question
Fd80f81596aa1cf809ceb1c2077e190b
0
rouncer 103 Feb 07, 2014 at 07:32

are you sure you are fully linked and included?

In response to Skwerm
674b33a27556c50fd4d62b2faf9479e3
0
woodelv 101 Feb 06, 2014 at 18:03

Nice game man! I agree with wakka though that there should be some dimensional difficulty. I’m jealous of your skill ;-)

In response to C++ question
674b33a27556c50fd4d62b2faf9479e3
0
woodelv 101 Feb 06, 2014 at 17:31

It does help if i change m_Surface to m_Screen, but I find this quite weird since the tutorial states that it should be m_surface

194653f6bf54cad70a7cf97e6b7f35a4
0
benrawlesmusic 101 Feb 06, 2014 at 17:06

Here’s my new demo! Available for licencing.

http://www.youtube.com/watch?v=u1T6YbHLeuo

2068b9d739ccb5184d90f2ab0d217051
0
jbhargav1992 102 Feb 05, 2014 at 16:14

OK… Thanks, Stainless. I found some tutorials. I’ll be looking through those. :-)

B5262118b588a5a420230bfbef4a2cdf
1
Stainless 151 Feb 05, 2014 at 14:43

Box2d tutorials show how to do your own renderers.

It’s really easy.

Just look at those.

2068b9d739ccb5184d90f2ab0d217051
0
jbhargav1992 102 Feb 05, 2014 at 11:55

I’ve seen that page, but I am not sure how to use Box2D with OpenGL in C++. All the tutorials on the internet show Box2D used in collaboration with Cocos2D, which is, if I’m right, a full game engine. I don’t want to use Cocos2D. I want to implement Box2D and write my own collisions in C++. How would I do that?

B5262118b588a5a420230bfbef4a2cdf
1
Stainless 151 Feb 05, 2014 at 10:12

Just have a look here and decide if you are going to use any of the engines

http://www.codeandweb.com/physicseditor/tutorials

2068b9d739ccb5184d90f2ab0d217051
0
jbhargav1992 102 Feb 05, 2014 at 04:44

Thanks, Stainless… I found this tool that can auto trace polygons and save a lot of time: PhysicsEditor. The only thing I don’t understand is what format to save it to in order to use it in OpenGL. It has several formats, .plist, .xml, .flash, etc. Some of them are Box2D formats. And I know Box2D can be used with OpenGL. Just not sure which format to use. Please tell me. Thank you.

B5262118b588a5a420230bfbef4a2cdf
1
Stainless 151 Feb 04, 2014 at 09:57

You either write an app that allows you to create the polygons by hand, or you look online for a tool you can download.

The Torque 2D engine uses this technique, maybe you can grab a free version of that and use the editor to create the polygons.

2068b9d739ccb5184d90f2ab0d217051
0
jbhargav1992 102 Feb 04, 2014 at 04:57

OK… I think this is the more ideal method as it uses the concept of bounding box and gives the accuracy close to pixel perfect collisions. Thank you for your suggestion. I have one doubt, though… How would I go about creating collision polygons for my sprites? Please clarify this for me.

Thanks.

In response to Call of Duty is dead?
1766067da5ff92962fb82e5b1f63a2a4
0
tyree 102 Feb 03, 2014 at 18:48

the problem is gun games in general. for the most part their mindless, the gun does all the work. makes it too easy to kill. you need a weapon that forces players to kill in some way other than shooting. build a game where you can destroy the opponents gun instead of killing them. forcing them to get another gun by whatever means

Adfa6cf87d3749a0e1acd928285b3f23
0
WDR 106 Feb 03, 2014 at 04:44

Come on, guys! Please help! :-(

D08b0a4acfcc7da7d9dd15715c42445c
2
Dim_Yimma_H 104 Feb 02, 2014 at 18:18

Maybe you would not prefer pixel perfect detection, in the end, there are easier methods. Try the bounding box collision detection first and see if it’s enough.

bool Box::Overlaps(Box another)
{
  if (bottom > another.top && top < another.bottom) //i.e. if the boxes overlap vertically
  {
    if (right > another.left && left < another.right)
      return true;	//and the boxes overlap horizontally too
  }
  return false;
}

If you have near rectangular sprites like humans, cars, tiles, it’s usually easy to specify the box left,top,bottom, right sides so they feel pixel perfect upon overlap detection.

B5262118b588a5a420230bfbef4a2cdf
1
Stainless 151 Feb 01, 2014 at 11:13

Or use polygon collision.

It takes a lot of work to create the collision polygons, you have to write an app to edit your sprite sequences and create a collision polygon for each frame, but you can make it as complex as you want.

I have in the past created collision polygons for individual body parts so I could do location based reactions.

In response to Call of Duty is dead?
B5262118b588a5a420230bfbef4a2cdf
0
Stainless 151 Feb 01, 2014 at 10:02

@Reedbeta Yes, that sounds about right. I have heard of people having their xbox live accounts suspended for three months because of the voice comms. I never hear any of that because I always mute everyone.

@fireside I’ve thought about it a bit more. I would probably have different game modes. At the moment COD has modes like team death match and blitz. I would have modes that allowed the arseholes to run around like ants and modes for people who want a more strategic game.

@TheNut The problem with genetics is evolution. At the moment if you plotted IQ against number of children, you would find a peak around the 75 IQ level. There are whole towns in the UK whose main income comes from the government in the form of child support. Need more money, have another kid.

Luckily I will be dead before it becomes a major problem.

B9c51b24b655b8afcf9f399049e57f52
2
geekymonkey 103 Feb 01, 2014 at 08:14

Pixel perfect is expensive, so limit when you do it. Do bounding box collision detection first. If that passes, then start pixel perfect detection of the 2 sprites.

loop over all the pixels of one sprite. is the texture there not transparent? If so, calculate the screen position (or world position) of the center of that pixel. Taking into account position, rotation, scale. using that screen position, find the corresponding pixel in the 2nd sprite. If its within the bounds of that sprite, then get the texture pixel. If its not transparent, you have a hit!

Do it simply as above. Create a test scene with oddly shaped sprites spinning or that you can move around. Have them change colors when collision is detected.

once you get that working, then think of ways to optimize things. Exit your loops on the first hit found. Limit the math in the loops to simple adding and multplying by precalculating delta vales for the pixel to next pixel location calculation. You want what’s inside the nested loop to be as quick as possible.

In response to Call of Duty is dead?
6837d514b487de395be51432d9cdd078
0
TheNut 179 Feb 01, 2014 at 06:05

If everybody were intelligent, we wouldn’t still be living in a class based society where 1% of the richest people own 65x as much as the poorest half of the world. It’s genetics man. Can’t fight the gene. Just be thankful you have the good traits and it’s not you running out getting shot every time and scratching your head :)

If you ok with MMO games, I’d recommend PlanetSide 2. Find a couple mates, form a platoon, and have a crazy good time. I didn’t think the net code was bad, it seemed pretty fair. Tanks, vtols, infantry, max units, and so many great battles (if you have the right crew of course!). I use to chill with a few mates and we commanded legions. It was really something to organize 30 tanks, a dozen aerial fighters, guarding waypoints, assaulting fortresses. Good times, intelligent people.

In response to Call of Duty is dead?
A638aa42130293f319eda7fa4ba121f4
0
fireside 141 Feb 01, 2014 at 00:53

I would think you would want zones of players that are beginners up to experts so people play others close to their level, but I suppose then friends couldn’t play on each other’s team. Another thing I would do, would be leave bodies for quite a while, so it’s obvious if someone is lurking and shooting people coming out of an exit. I’d also leave alternatives and make it very hard to hide completely without being seen. Myself, I played Doom for a few hours and kind of got tired of it and that was pretty much it for me and shooters.

Welcome to DevMaster, a community-driven game development website of posts and resources!

Recent Tags

indie × 5
game-development × 5
ios × 3
android × 3
iphone × 1
c# × 1
mobile × 1
physics-engines × 1
native × 1
macos × 1
sound × 1
music × 1
multiplayer × 1
networking × 1
testing × 1
game-programming × 1
design-patterns × 1
3d-engine × 1
shaders × 1
cross-platform × 1
gaming × 1
game-design × 1
game-industry × 1
graphics × 1
royalty × 1