Get the latest Education e-news
 

Go Back   Game Career Guide Forums > Game Career Guide > Getting Started
Forum Home Register Members List Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 06-18-2008, 01:47 PM   #1
paci4416
Junior Member

Activity Longevity
0/20 17/20
Today Posts
0/11 ssssssss7
Default want to start 2D progamming

Hello, i'm new here.

for a long time i want to start program 2D games.

i program in C/C++ in DOS console and i want to program in the windows.
and now i dont know what the best to choose from some options i found on the internet, like
XNA, Popcap Framework , Allegro.

but i dont know what is the best to start learn and build my games, it would
be really helpful to hear your advices.

Thank you in advance
paci4416 is offline   Reply With Quote
Old 06-18-2008, 03:39 PM   #2
yaustar
Administrator
 
yaustar's Avatar

Activity Longevity
1/20 19/20
Today Posts
0/11 sssss2270
Location: UK
Default

XNA is for C# so that's out.

Allegro, SDL and SFML are all decent APIs for new-comers. SFML is nicely OO so I am leaning towards that. SDL and Allegro are C APIs so you have to do an extra bit of resource managment.
yaustar is offline   Reply With Quote
Old 06-19-2008, 07:04 AM   #3
Gshonk
Moderator

Activity Longevity
0/20 20/20
Today Posts
0/11 ssssss831
Location: Philadelphia, PA
Default

Quote:
Originally Posted by yaustar View Post
XNA is for C# so that's out.
If you know C/C++ C# is super easy to learn though.
__________________
Grant Shonkwiler()
"I would love to fix the world if someone would just give me the source code"
Website Industry blog LinkedIn
Gshonk is offline   Reply With Quote
Old 06-19-2008, 07:52 AM   #4
DTR
Member

Activity Longevity
0/20 17/20
Today Posts
0/11 sssssss94
Location: Helsinki, Finland
Default

Quote:
Originally Posted by Gshonk View Post
If you know C/C++ C# is super easy to learn though.
Might change to Java as well then.

C# is nothing but a Ms attempt at creating a Java-like platform just for Windows environment.

Don't let the "C" fool you in the name...
DTR is offline   Reply With Quote
Old 06-19-2008, 08:38 AM   #5
paci4416
Junior Member

Activity Longevity
0/20 17/20
Today Posts
0/11 ssssssss7
Default

i tried XNA , but i dont know, everything is already done and the programmer dont do alot just using different funcs.

i checked SFML , seems nice but i cant get it compile on my Visual C++ 9.0 Express.
compile error about "forgot to include "stdafx.h" ? " and when i do i get more errors. :/

any other advices to 2d programming?


btw, my goal is something like casual games in BigFish and Reflexive.

Last edited by paci4416 : 06-19-2008 at 08:46 AM.
paci4416 is offline   Reply With Quote
Old 06-19-2008, 10:35 AM   #6
Adrir
Administrator
 
Adrir's Avatar

Activity Longevity
1/20 20/20
Today Posts
0/11 sssss1467
Location: London, UK
Default

Quote:
Originally Posted by paci4416 View Post
My goal is something like casual games in BigFish and Reflexive.
Personally, I am much more a fan of FunOrb. I love online Java games I can just play anytime!
Adrir is offline   Reply With Quote
Old 06-19-2008, 10:56 AM   #7
yaustar
Administrator
 
yaustar's Avatar

Activity Longevity
1/20 19/20
Today Posts
0/11 sssss2270
Location: UK
Default

Quote:
Originally Posted by paci4416 View Post
i tried XNA , but i dont know, everything is already done and the programmer dont do alot just using different funcs.

i checked SFML , seems nice but i cant get it compile on my Visual C++ 9.0 Express.
compile error about "forgot to include "stdafx.h" ? " and when i do i get more errors. :/

any other advices to 2d programming?


btw, my goal is something like casual games in BigFish and Reflexive.
That sounds like an error setting up your project.

Did you follow this guide: http://www.sfml-dev.org/tutorials/start-vc.php
yaustar is offline   Reply With Quote
Old 06-19-2008, 12:28 PM   #8
paci4416
Junior Member

Activity Longevity
0/20 17/20
Today Posts
0/11 ssssssss7
Default

i followed, i made "Win32 console application" in vc++ 9.0 express,
add all lib's and includes and the stml-system.lib .

when i compile i get this error:

" fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? "
paci4416 is offline   Reply With Quote
Old 06-19-2008, 01:04 PM   #9
yaustar
Administrator
 
yaustar's Avatar

Activity Longevity
1/20 19/20
Today Posts
0/11 sssss2270
Location: UK
Default

You shouldn't need stdafx.h.

When you create a new project, untick 'Precompiled header'


For an existing project, in Project->Project Name Properties, change the following setting to 'Not using precompiled headers'.
yaustar is offline   Reply With Quote
Old 06-19-2008, 01:34 PM   #10
paci4416
Junior Member

Activity Longevity
0/20 17/20
Today Posts
0/11 ssssssss7
Default

i did as you tell and that's what i get:

http://www.upit.ws/uploads/6eac88a0c41c4.JPG
paci4416 is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Powered by vBulletin® Version 3.6.9
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
All times are GMT -8. The time now is 11:32 PM.






UBM Tech