this is my computer code so far
i checked it for errors on eclipse and it is full of errors
for some reason could eclipse be right i think it is because compilers rarely make mistakes like this
let me explain some of it
string str = "destroy a box"; // i heard that this is how a string is called by looking on MSDN
class box = new class; // i do this to render the objects in the level like make them appear i add the SDL_loadBMP function a lot
the cout function near the end i use for a player choice
and i use the if statement for determining conditions
i checked on IDEone and compiled it the only error that comes up is sdl.h cannot be found or this
prog.cpp:11:23: warning: integer constant is too large for its type [enabled by default]
prog.cpp:11:23: warning: overflow in implicit constant conversion [-Woverflow]
prog.cpp:15:1: error: ‘gamerunning’ does not name a type
prog.cpp:25:30: error: size of array ‘playerItems’ is too large
prog.cpp: In function ‘int main()’:
prog.cpp:79:6: error: expected ‘(’ before ‘gamerunning’
prog.cpp:547:19: error: expected ‘}’ at end of input
which is right ? ideone or eclipse
ideone comes up with a few errors eclipse says the whole things wrong
for the function
class gun = new class i got that off your website when it was requested
if you are going to answer my question DO NOT be harsh im still new to c++
any harsh comments will be ignored
i only want what im doing wrong and either the corrected code or how i can fix it
not "oh you should do something simple like pong !!" thats annoying beacuse ive already done the simple games like "pong" im not trying to sound like a snob but thats the honest truth ive been making basic games for 3 years
now i want to turn up the heat make something worth making something fun not like GTA V or final fantasy 13-2 but a more advanced 2d hack and slash
yes i said 2d not 3d once i learn the hack slash method ill move onto basic 3d games
i have made
one platformer
simple games like pong
2d turn based RPG like the old zelda games
2d adventure game
im in no rush to learn 3d
my new hack and slash game will look like in the screenshots only
2d and no sexy shiny graphics and more simpler gameplay
http://www.ff-versusxiii.net/images/media/4dc4e547_FFVXIIIGP5.png
http://cdn.dualshockers.com/wp-content/uploads/2011/02/ffversusxiii_04.jpg
http://images4.wikia.nocookie.net/__cb20110921155430/finalfantasy/images/b/bc/FinalFantasyVersusXIII_combat_2.jpg
http://images4.wikia.nocookie.net/__cb20110921160942/finalfantasy/images/3/3b/FinalFantasyVersusXIII_combat_3.jpg
the characters
vapor skyblade
style: floating weapons and skysword
he wears similar clothes to noctis lucis caleum
?????
style: viking blade
he is a unknown character contacted by a god to destroy spectra
kyzerix caelum vanhussei
style: g himmel firesword
he is an assassin like connor kenway who fights for revenge
this game im working on follows three warriors
with three story modes with a fair few missions in place clashing and lacing with each other
what the game will have if someone helps me
possibly simple 2d physics
a Action battle system
a sandbox like feel but in a platformer sense
inventory
enchanting (a patch relased later)
skills
3 special story modes
possibly some bonus patches containing bonus content
the thing is i want it to be modern looking and fun and have hourly gameplay
i havent been making games like this because ive been told to do what ive already done for so long ive never made a game like this
thankyou please help me i will be very grateful and hey i might give out free copies of the game to anyone who helps