SRL Archive - Other Scripts

SCAR for Game Development?


Neehosoft

2009-09-26 03:58:12

I've been thinking about which programing language to use for a new game im developing.
It is a (mabye mmo)RPG, and i decided to go with C++ but then i saw a RPG made in SCAR.
My question is, is SCAR Capable of:
*2D Rendering
*3D Rendering? - I got XSI and can model 3d this is optional
*Sound
*Open Ended RPG
*Multiplayer? (Optional)

Cazax

2009-09-26 04:07:09

*2D Rendering
Yes, CopyCanvas is enough.
*3D Rendering? - I got XSI and can model 3d this is optional
It's difficult but it has been made by almost.
*Sound
PlaySound()
*Open Ended RPG
Yes you can.
*Multiplayer? (Optional)
Yes.

It all depends on what you are capable of. Start with a simple game like Snake, then Space Invaders, etc.

MylesMadness

2009-09-26 04:08:17

Solem wishes was working on one of these. What ever happened.

caused

2009-09-26 04:09:23

Well you can do anything canvas drawing allows.

Bionicle

2009-09-26 04:16:46

yes, yes, yes, yes and yes; although, some easier then others.

bullzeye95

2009-09-26 08:20:42

There's no way I can think of that SCAR could be even close to powerful/fast enough for 3d.

EDIT: To clarify, what I meant by 3d is, more than just lines drawn on the screen.

Gu3st...

2009-09-26 12:11:49

From: bullzeye95
There's no way I can think of that SCAR could be even close to powerful/fast enough for 3d.
I agree, it is way to slow for that.

SCAR is best for 2d platform games and such, but if you use too many objects in the game then SCAR may run slowly.

Dan Cardin

2009-09-26 17:18:54

From: bullzeye95
There's no way I can think of that SCAR could be even close to powerful/fast enough for 3d.

depends what type fo 3d. I would consider vector graphics 3d, which i wouldnt put past SCAR. for real stuff with shading and lighting, i would very much doubt anything more than just a 3d model viewer, much less a game.

Daniel

2009-09-27 14:27:16

You can use 3D ;)

http://www.moparisthebest.com/smf/index.php/topic,1534.0.html

Dan Cardin

2009-09-27 18:36:53

almost's was better. but it still isnt much of anything in the way of a playable or useable 3d thing.

EvilChicken!

2009-09-28 12:22:17

If I were you, I'd wait for SCAR 4.0 before I made a full-fletched game in it.
Freddy promised a lot of resources for game development to be included in that version – though I'm not sure exactly how long it will be until he's planning to release it. Or, if he will release it at all.

Freddy1990

2009-09-28 22:50:19

From: EvilChicken!
If I were you, I'd wait for SCAR 4.0 before I made a full-fletched game in it.
Freddy promised a lot of resources for game development to be included in that version – though I'm not sure exactly how long it will be until he's planning to release it. Or, if he will release it at all.


You can has, but it'll take a bit, Luna needs to get done first, I'm actively developing Luna right now though…

Wizzup?

2009-09-29 02:08:56

If you want 3d you could just create some opengl wrappers.

If you want to make a serious game I'd say SCAR lacks at most points.
Real control over sockets isn't really supported, possibly with mixsters' plugin, no 2d acceleration (afaik there's only TCanvas…), no big control over sound (working with sounds more than playing them is not supported)

The actual scripting engine isn't really that fast either… :)

It really depends on the game type I guess.

Smartzkid

2009-09-29 03:57:33

Yes to everything, but like Wizz said, you're going to want OpenGL (or DirectX) wrappers for most (if not all) of your graphics.

And Wizz, I'm pretty sure the TMusic class offers a bit more control.

Wizzup?

2009-09-29 14:19:41

From: Smartzkid
Yes to everything, but like Wizz said, you're going to want OpenGL (or DirectX) wrappers for most (if not all) of your graphics.

And Wizz, I'm pretty sure the TMusic class offers a bit more control.


Oh, must be a pretty new feature. ;)

Dan Cardin

2009-09-29 14:40:36

Not, its been there for a while, though in all of my trying to use it, it always gives errors. So i don't think that's really a naice way for anything yet. I think SCAR could do most types of single player 2d games. I cant really think of any that it couldn't, not to say that something else couldn't do it better, but that's usually the case with most things.

Smartzkid

2009-09-30 06:16:04

Well, since we're already talking about wrapping graphics functions, it wouldn't be much extra work to wrap the audio as well.

Now, if you were doing all that work solely for one game, you'd have to be insane. But imagine if someone made an OpenGL/AL wrapper for scar! Or even a high speed sprite plugin! Complex SCAR games would suddenly be a lot closer than before!

EvilChicken!

2009-09-30 13:46:15

From: Smartzkid
Well, since we're already talking about wrapping graphics functions, it wouldn't be much extra work to wrap the audio as well.

Now, if you were doing all that work solely for one game, you'd have to be insane. But imagine if someone made an OpenGL/AL wrapper for scar! Or even a high speed sprite plugin! Complex SCAR games would suddenly be a lot closer than before!


Making a sprite plugin shouldn't be that hard, or am I wrong?

boberman

2009-09-30 17:28:22

Yikes, Let a scripting language do what a scripting language does best! Scar is not for game development. It may be novel, but a complete waist of time.

Pascal, delphi, c++, c#, all those languages could handle game stuff, but please leave scar out of the list!

fronty

2009-09-30 23:49:50

You should leave C# out of your list, boberman, because it's managed. When writing a game, it's better to get every performance boost you get. Pascal should've been abandonded years ago, ObjectPascal could be counted here. However, C++ is "lingua franca" of game development. If someone wants to do some game development, especially with some kind of team, he should choose C++, IMHO.

boberman

2009-10-01 02:33:44

From: fronty
You should leave C# out of your list, boberman, because it's managed. When writing a game, it's better to get every performance boost you get. Pascal should've been abandonded years ago, ObjectPascal could be counted here. However, C++ is "lingua franca" of game development. If someone wants to do some game development, especially with some kind of team, he should choose C++, IMHO.


Most reports that I've read about C# place its speeds at or near C++ speeds. In fact, some game development is not unheard of in C#.

And if you really need speed, it isn't a difficult task to make a c dll to do whatever function you need speed for (Amdahl's law and all).

In fact, it being a managed language can result in faster games, and definitely faster game development as memory leaks become a non-issue.

As for Pascal, yes I agree, it should be dead, in the US it is pretty much dead (Even though ironically my current employment uses delphi). But that doesn't exclude it from game development. It still has some speed to it, and the low level capabilities of C.

That being said, I whole heartedly agree with you that C++ is the way to go. The benefit of being a high level language with low level capabilities, and easily one of the most portable languages around, with libraries galore. C++ is just a great language for game development.

Dan Cardin

2009-10-01 04:31:44

There's not really much reason not to make something in SCAR. Unless you're trying to get some kind of recognition or large user base or you are making a big game that SCAR wouldnt handle, then its fine. Its good for learning and is challenging and is relatively unexplored.

Neehosoft

2009-10-01 05:33:56

From: Wizzup?
Oh, must be a pretty new feature. ;)


Wizzup i am honored to have you post in my thread :)
And i decided to go with c++.
Thanks everyone who helped i repped