4 registered members (ozgur, Ayumi, VHX, monarch),
1,161
guests, and 4
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: First game
[Re: MrNoOne]
#237767
11/22/08 06:07
11/22/08 06:07
|
Joined: Nov 2005
Posts: 66 Spokane, WA, USA
Vonman
Junior Member
|
Junior Member
Joined: Nov 2005
Posts: 66
Spokane, WA, USA
|
If you want to make a game, you HAVE to know how to code it, there's no way around it - even if you use contributed scripts you still need to know how to plug it in.
That being said, I think you should start out with tutorials. Practice "changing" things in the scripts, trial-and-error, but you must learn the syntax (for Cscript it's like javascript, Lite-C is like C).
After you get the hang of it, it's not bad, but I can almost guarentee that you will never reach a point where you are not having some kind of challenge in coding your games.
If you want to make a car game, you're gonna want good physics, I am STILL trying to make a near-perfect script-based physics engine with dynamics centered towerd a VEHICLE. Learning the syntax, easy, learning programming, give it sec I guess, but making good physics? It will take much time to master.
|
|
|
Re: First game
[Re: MrNoOne]
#237803
11/22/08 13:56
11/22/08 13:56
|
Joined: Jul 2008
Posts: 21
MrNoOne
OP
Newbie
|
OP
Newbie
Joined: Jul 2008
Posts: 21
|
Oh I see, thanks for the reply! I'll be sure to start today on learning it, but I do know how to load a level and a object with my own scripts.
Last edited by MrNoOne; 11/22/08 13:58.
|
|
|
Re: First game
[Re: MrNoOne]
#237820
11/22/08 16:42
11/22/08 16:42
|
Joined: Apr 2008
Posts: 139 Japan, Osaka
Tails01
Member
|
Member
Joined: Apr 2008
Posts: 139
Japan, Osaka
|
I think this Tutorials are the best way to start with 3dgs and here is your requested code Load a Level: function main()
{
level_load ("level.wmb");
wait(2);
video_switch(8,32,1);//screen settings
} Load an object: ENTITY* object =
{
type = "object.mdl";
//now you can add some Flags or sth. like that
} good luck! Gruß Tails
An implemented second-rate idea is better than a good idea, which gathering dust in your brain.
|
|
|
Re: First game
[Re: Vonman]
#237931
11/23/08 17:59
11/23/08 17:59
|
Joined: Nov 2008
Posts: 19 Sweden
Alof
Newbie
|
Newbie
Joined: Nov 2008
Posts: 19
Sweden
|
If you want to make a game, you HAVE to know how to code it, there's no way around it Totaly correct - It's great fun as soon as you get the hang of it! I started of with the tutorials mentioned above, and it worked itself out just fine. Keep in mind to that the language is built up pretty logicaly - When you grab the basics, and get that "Ahaaaa..." feeling, the other will just go great. A very good tip for learning and grabbing the basics is to start of with a redicilous easy game. My first game was four ordinary cubes sliding along a square course - collecting small dots in different colours :P - When I look at the code I used back then I go "Yeah... right" because I've learned a lot since then - and I find a looooooot of bugs that made me laugh - The point is. Don't let your first project go above your skills. Start of with something really small untill you get the hang of it. Look through the tutorial codes, and play with the values and the codes untill you go "Ahaa.." That's it, really! Good luck mate!
"If you say 'plz' because it's shorter than 'please', then I'll say 'no' because it's shorter than 'yes'.
|
|
|
Re: First game
[Re: MrNoOne]
#237945
11/23/08 19:18
11/23/08 19:18
|
Joined: Oct 2008
Posts: 218 Nashua NH
heinekenbottle
Member
|
Member
Joined: Oct 2008
Posts: 218
Nashua NH
|
I did not request any code. I intentionaly said that I DO know how plus to me it seems pretty easy to code in movement and such, I am going to start small and make a more, basic game. Thanks anyway though. My first game was a fort-defense style game. All it was, was a fort, and a horde of bad guys that spawned on one side of the map and went across the map to attack the fort. The player stands on a hill with an assortment of weapons and kills as many as he can before the fort is destroyed. The game caught a bug that I was never able to fix, so I never finished it, but I learned a lot, especially about using c_trace, c_move, c_scan, setting pointers and using them properly. I learned how to use panels and how to set up targas with alpha channels. I learned how to make an object turn to face another object. I learned a lot. So my advice is to think of a simple game, and do it all through your own code, no templates.
|
|
|
|