954,541 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

2D Game code. All Source files.

:eek: Hi this is a simple game i made. its a 2D mario style game
project file is Dev C++. I'm new to posting so i hope i did this
right and i hope you like it.
Any question e-mail me at <>
or contact me some how through daniweb my name LocoBird.
P.S. if it won't compile i can probly talk you through it.

Attachments code.zip (127.68KB)
LocoBird
Newbie Poster
10 posts since Jun 2006
Reputation Points: 14
Solved Threads: 0
 

sorry everyone forgot to add it with the game.
so here it is. enjoy

Attachments alleg42.zip (237.28KB)
LocoBird
Newbie Poster
10 posts since Jun 2006
Reputation Points: 14
Solved Threads: 0
 

<>

Hi this is a simple game i made. its a 2D mario style game
project file is Dev C++. I'm new to posting so i hope i did this
right and i hope you like it.
Any question e-mail me at <>
or contact me some how through daniweb my name LocoBird.
P.S. if it won't compile i can probly talk you through it.
P.S.S. game error fixed and .DLL added. please don't delete this thread
sorry for the trouble.

Your Friendly Coder
LocoBird

Attachments code.zip (374.93KB)
LocoBird
Newbie Poster
10 posts since Jun 2006
Reputation Points: 14
Solved Threads: 0
 

Good game for a beginner, carry on.
Have u ever considered writing the game using a external game library. Seeing your enthusiasm for making games and your game, i would very much recommed you to move out to core C++ and start making games.

If you ever need any help reagrding any game libraries just post in this thread and i will point you to them and even give you a lowdown on the game development scenario.

And by the way, the game crashes after the player loses all his life. ;)

~s.o.s~
Failure as a human
Administrator
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734
 

Hi, I cannot get the came to compile.

I use dev c++.

Regards

apat
Newbie Poster
1 post since Dec 2006
Reputation Points: 10
Solved Threads: 0
 

Looks real good! Now for 3d :) .

@mod Perhaps this thread would fit nicely into the 'game development' catagory?

Nick Evan
Not a Llama
Moderator
10,112 posts since Oct 2006
Reputation Points: 4,142
Solved Threads: 403
 

First of all, how do I even open it with Dev C++? Sorry i'm new and I want to start learning about programming.

oneblood500
Newbie Poster
1 post since Dec 2007
Reputation Points: 10
Solved Threads: 0
 

Nice to see that someone else uses DevC++, its such a good little compiler, its a shame they have stopped updating it. BTW do you know any good Dev code snippit sites, im quite proficiant in OpenGL, now i need to know more about using C++ syntax. Used VS C++ before but of course there are always so many conversion problems.
Regards, and good game lol!

paracavern
Newbie Poster
5 posts since Mar 2008
Reputation Points: 10
Solved Threads: 0
 

Nice but how to start c++ i want more information and how use this code and make game i want more information

Thanks

patelmiteshb
Newbie Poster
10 posts since Mar 2008
Reputation Points: 7
Solved Threads: 0
 

<>

Hi this is a simple game i made. its a 2D mario style game project file is Dev C++. I'm new to posting so i hope i did this right and i hope you like it. Any question e-mail me at <> or contact me some how through daniweb my name LocoBird. P.S. if it won't compile i can probly talk you through it. P.S.S. game error fixed and .DLL added. please don't delete this thread sorry for the trouble. Your Friendly Coder LocoBird

nice one mate! keep it up......

decardpree
Newbie Poster
1 post since Nov 2008
Reputation Points: 10
Solved Threads: 0
 

Hi, I cannot get the came to compile.

I use dev c++.

Regards


You probably don't have the Allegro libraries. For dev c++, all you need to do is install the allegro devpak.

obj7777
Newbie Poster
8 posts since Sep 2008
Reputation Points: 30
Solved Threads: 0
 

10 points the game :)

garopa
Newbie Poster
1 post since Apr 2009
Reputation Points: 10
Solved Threads: 0
 

HI I ve some question I ve 1 error can u explain me how to run the file allegro.h?

norbutta
Newbie Poster
2 posts since May 2009
Reputation Points: 8
Solved Threads: 0
 

Hi
could you explain me how to get allegro ?

norbutta
Newbie Poster
2 posts since May 2009
Reputation Points: 8
Solved Threads: 0
 
:eek: Hi this is a simple game i made. its a 2D mario style game project file is Dev C++. I'm new to posting so i hope i did this right and i hope you like it. Any question e-mail me at <> or contact me some how through daniweb my name LocoBird. P.S. if it won't compile i can probly talk you through it.

Hey, I am interested in making a game myself and have some experience in C++ but i dont know where to start. i was wondering if you can give me a few idea of what to code if i were to create something similar to your 2D style mario game?

BlueZero
Newbie Poster
1 post since Nov 2009
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You