Latest Uploads
Extraterre ... .0.1 (zip)

dantheman363

Monty Teas ... Screenie 1

steve_ancell

Santa Clau ... ed his bag

waroffice

manic_platdude.png

spinal

Tetris Clone

steve_ancell

Super blues bros.

spinal

Forum Home

death of cobra basic - time for a new language

UserMessage
Posted : Monday, 14 May 2012, 06:48 | Permalink | Mark Here
waroffice


Afternoon gents,

I have been away from the scene for a while now and think it is about time I got ym coding back on track.

In this time however cobra basic is no longer being developed, as it is not quite polished I think I will try a new language.

but where to start?

I want to do mainly 2d games, I own blitz3d but was thinking something like C++ either from scratch or using some sort of game engine.

I feel I should really go for C++ and finally get it learnt, or maybe go for C#?

What does the community use? should I stick with Blitz?

thanks

also this is my new toy.

Highslide JS
Posted : Monday, 14 May 2012, 08:11 | Permalink | Mark Here
Afr0


WW Entries : 3
My first instinct is to recommend C#, which is what I use. It has lots of engines and whatnot available, and most of the boilerplate code you could think of has already been written for it.
Then again, C++ isn't really that hard to learn. I'm not sure where you are at as a programmer, but C++ might be worth the extra effort depending on what you want to do.
If I were you I'd try out both and use what I feel comfortable with.

-----
Afr0 Games

Project Dollhouse on Github - Please fork!
Posted : Monday, 14 May 2012, 08:37 | Permalink | Mark Here
waroffice


I think I will take the plunge and go for C++ and find myself a good tutorial.

I really want to program my 2D Zelda style RPG without restriction.

boilerplate code? not heard that term
Posted : Monday, 14 May 2012, 11:19 | Permalink | Mark Here
Afr0


WW Entries : 3
Boilerplate code

-----
Afr0 Games

Project Dollhouse on Github - Please fork!
Posted : Monday, 14 May 2012, 13:44 | Permalink | Mark Here
waroffice


Oh I see.

Stumbled across XNA, will give that a whirl for now
Posted : Tuesday, 15 May 2012, 21:03 | Permalink | Mark Here
JL235


WW Entries : 7
These days cloud based is the direction things are going. It's quite simple, people can just visit and it'll just work.

So I'd recommend taking a look at JavaScript or CofferScript, using HTML canvas or WebGL (or one of the many frameworks, like three.js or Raphael).

For now you could build it entirely within one page, and switch to start adding server stuff in the future.

-----
PlayMyCode.com - build and play in your browser, Blog, Twitter.
Posted : Tuesday, 15 May 2012, 23:37 | Permalink | Mark Here
Afr0


WW Entries : 3
These days cloud based is the direction things are going. It's quite simple, people can just visit and it'll just work.


Only partially true.
Blizzard just released Diablo III, and though it requires you to be connected to the BNet servers, it is technically a single-player game written as a standard client (not a webpage).
Max Payne 3 will be released May 18th, and it is a completely standard program with multiplayer capabilities. Saints Row the Third was just released, it is also a standard application.

I'd actually say "MMO is the way things are going". Star Wars The Old Republic was released this Christmas, and Mists of Pandaria for WoW is expected to release this Christmas.
Guild Wars 2 is expected to release this summer. Eve Online will have a new expansion named Inferno released on May 22. Funcom's new MMO The Secret World will be released on June 19th.
Mind you, these are all released as standard desktop clients, most of them written in C++.

-----
Afr0 Games

Project Dollhouse on Github - Please fork!
Posted : Wednesday, 16 May 2012, 06:47 | Permalink | Mark Here
waroffice


once thing i noticed with diablo III this morning was, if my internet is laggy the game is, even tho i was in a single player game.

I don't mind tho, means less/no cheaters and I get 80mb FTTC shortly
Posted : Wednesday, 16 May 2012, 07:10 | Permalink | Mark Here
JL235


WW Entries : 7
@Afr0, that is a strawman argument. Starcraft 2 being written with C++, does not mean JS isn't used.. For indie games, tonnes of devs are moving to use HTML5 and JS, and tonnes of big studios are using it for side projects. Bethesda even launched the Wolfenstein 3D in a browser just last week.

It means don't have to run a download or installer. Much more friendly. Don't underestimate how big the ability to play instantly is. At least, that's my two cents.

Your also going to have issues with lag regardless of if it's C++ or JS. if you aren't planning an online game, just a single player game, you also don't have to talk to the server the whole time. You can just send the whole game down when it loads, and thats it, then they start playing.

-----
PlayMyCode.com - build and play in your browser, Blog, Twitter.
Posted : Wednesday, 16 May 2012, 07:25 | Permalink | Mark Here
HoboBen


WW Entries : 9
JL is obviously biased, considering his business model relies on this!

-----
github
Posted : Wednesday, 16 May 2012, 07:40 | Permalink | Mark Here
JL235


WW Entries : 7
Meh; if I was being biased, I'd suggest PMC instead, which I haven't. But I do love JS and HTML5. I think it rocks, it's easily the best cross-platform platform right now, and that's why I use it.

Even Crytek, well known for only doing big triple-A game development, are investing in using JS/webGL in projects.

-----
PlayMyCode.com - build and play in your browser, Blog, Twitter.
Posted : Wednesday, 16 May 2012, 08:29 | Permalink | Mark Here
Afr0


WW Entries : 3
@Afr0, that is a strawman argument. Starcraft 2 being written with C++, does not mean JS isn't used.. For indie games, tonnes of devs are moving to use HTML5 and JS, and tonnes of big studios are using it for side projects. Bethesda even launched the Wolfenstein 3D in a browser just last week.


I didn't even mention Starcraft 2! Though essentially we are thinking about two different segments. If you intend to target casual gamers, you can stick with web-based technologies. If you intend to target hardcore gamers, learn C++ or even use something like Unity.


-----
Afr0 Games

Project Dollhouse on Github - Please fork!
Posted : Wednesday, 16 May 2012, 08:31 | Permalink | Mark Here
Afr0


WW Entries : 3
I think it rocks, it's easily the best cross-platform platform right now, and that's why I use it.


What? Are you saying that C++ or even C# isn't cross-platform?

-----
Afr0 Games

Project Dollhouse on Github - Please fork!
Posted : Wednesday, 16 May 2012, 10:29 | Permalink | Mark Here
shroom_monk


WW Entries : 8
If you want to make games with C++ you'll need libraries - do the libraries not depend on platform, or am I mistaken?

-----
A mushroom a day keeps the doctor away...

Keep It Simple, Shroom!
Posted : Wednesday, 16 May 2012, 10:58 | Permalink | Mark Here
Afr0


WW Entries : 3
If you want to make games with C++ you'll need libraries


No you won't! Using a library is a choice you make, nothing's stopping you from writing your own device drivers. Besides, there's lots of libraries out there that'll provide crossplatform support for anything. Boost and OpenGL comes to mind.

-----
Afr0 Games

Project Dollhouse on Github - Please fork!
Posted : Wednesday, 16 May 2012, 15:00 | Permalink | Mark Here
JL235


WW Entries : 7
Ok, Diablo 3 then. I misread, but the argument is still the same. I was just putting JS out there as an option, as these days it's mature enough to use, and has some benefits over other stuff (and drawbacks too).

Ultimately, none of these languages are perfect, and you certainly shouldn't build a game based on the language. Game priorities first, language second.

-----
PlayMyCode.com - build and play in your browser, Blog, Twitter.
Posted : Wednesday, 16 May 2012, 17:54 | Permalink | Mark Here
steve_ancell


Afr0 No you won't! Using a library is a choice you make, nothing's stopping you from writing your own device drivers.

Also known as trying to re-invent the wheel and causing premature baldness. But OK if you like that sort of thing.
Posted : Thursday, 17 May 2012, 03:21 | Permalink | Mark Here
waroffice


Afr0 No you won't! Using a library is a choice you make, nothing's stopping you from writing your own device drivers.


Also known as trying to re-invent the wheel and causing premature baldness. But OK if you like that sort of thing.


I can safely say I have never attempted to write a device driver, but my hair is falling out!

JL, when i first started writing games I would chose a language I was comfortable with and then realise it couldn't do what I would like it to. This is why I have chosen C++ but will have a quick look at C#/XNA when I get time.

I have got my self some books coming so will get a helping hand.
Posted : Thursday, 17 May 2012, 06:15 | Permalink | Mark Here
waroffice


my books arrived.

Highslide JS

the first focuses on c++ and directx and the second is the next steps to making a 2d game engine
Posted : Thursday, 17 May 2012, 07:40 | Permalink | Mark Here
Afr0


WW Entries : 3
JL, when i first started writing games I would chose a language I was comfortable with and then realise it couldn't do what I would like it to.


I know what you mean. C# more or less does what I want it to, but for Project Dollhouse I've been forced to stick with XNA 3.1, because XNA 4.0 doesn't support loading BMPs from memory. If at some point I feel upgrading to XNA 4.0 becomes an absolute must, I might try writing my own parser that is compatible, but not having to do such things is extremely nice.

-----
Afr0 Games

Project Dollhouse on Github - Please fork!
Posted : Thursday, 17 May 2012, 13:39 | Permalink | Mark Here
CodersRule


Ah, yes. I own that first book, waroffice. Is that the one we were using on SoCoder when we tried to start up that collaborative learning thing? I don't remember. I have the first edition of the book. An interesting book, to say the least.
Posted : Friday, 18 May 2012, 01:39 | Permalink | Mark Here
waroffice


I can't put it down, only problem is im meant to be working!

ps: any complaints about my sig size?
Posted : Friday, 18 May 2012, 13:55 | Permalink | Mark Here
Stealth


The web isn't ready to handle intensive 3D. For now, you're stuck with languages that can do rapid low level processing. The web might catch up eventually.

-----
Andrew // stealth
"Some people see things as they are and say why? I dream things that never were and say why not?" - Robert Kennedy
Posted : Friday, 18 May 2012, 17:58 | Permalink | Mark Here
steve_ancell


waroffice ps: any complaints about my sig size?


Na!, I think my screen and internet connection can handle it.
Posted : Sunday, 10 June 2012, 10:25 | Permalink | Mark Here
Hotshot


Why couldnt Graham K hire programmer or someone to help me to speed his Cobra development !
Latest Posts
Professor Oak, Honest!!
spinal Wed 23:24
Consumer Lockout
spinal Wed 23:21
Position in Mind
steve_ancell Wed 20:11
Sonic Adventure v0.x
Jayenkai Wed 07:08
Coder's Block
Jayenkai Wed 06:03
FIRST!!!
steve_ancell Wed 03:55
Noel's Graduation
waroffice Wed 02:55
Monkey vs iOS tweaks
spinal Tue 22:51
Fucking Pound Sign Unicode Bullshit Bollocks
Dabz Tue 13:00
Progress / Location Bars
dna Tue 08:55
More

Latest Items
News : Newsletter #176
Jayenkai Sat 04:49
News : Newsletter #175
Dabz Tue 09:38
Blog : Snow: More Material Junk
Cower Sat 23:17
Dev-Diary : Mutant Monty: Amstrad CPC to Windows conversion
rockford Fri 13:14
Techy : AppleTV
Jayenkai Thu 09:40
Blog : Graphviz
steve_ancell Sat 14:17
Pets : Top-Down Shadow Hack
Jayenkai Tue 05:52
Snippet : JNKrunch v1.0
Jayenkai Sat 07:20
News : Newsletter #173
waroffice Fri 04:47
Blog : Material Loading
Cower Fri 02:08
Pets : I Done Won A Thing
shroom_monk Sun 11:31
Pets : Repurposing A Lexer
Cower Mon 22:06
Bah : Feeling a Little Angry
spinal Mon 11:26
News : Newsletter #170
Dabz Sat 00:34
Showcase : sbfgen
Cower Sat 16:57
More

Who's Online
Cower
Thu, at 00:17
rockford
Wed, at 23:37
spinal
Wed, at 23:25
Evil Roy Ferguson
Wed, at 21:32
dna
Wed, at 21:11
steve_ancell
Wed, at 20:11
Afr0
Wed, at 18:04
CodersRule
Wed, at 18:00
HoboBen
Wed, at 16:21
Mog
Wed, at 16:17
Link to this page
Site : Jayenkai 2006-Infinity |
MudChat's origins, BBCode's former life, Image Scaler.