Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / CrAzY golf - Demo available!

Author
Message
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 31st Oct 2006 22:38 Edited at: 18th Nov 2006 13:25
CrAzY golf


First a screeny:

And then another one:

NEW screeny:

NEWEST screeny(editor):


Description:
The putter is working. Use left/right keys to turn, and downkey to draw back the putter. You can make your own levels in any 3d modeling software. The level file is the CGC (CrAzY golf course) file
It is easy to tell what each value does from the comments. Scripts are already working. See script.cgs for a list of commands. Sums must be enclosed in brackets ().

Done:
Physics (sparky's dll)
Random level loading
Entire scripting system
Main menu
Ball rotation (easy, since I have EZrotate)
Timer speed restriction
Club swing
Help menu
Scoring system
Three levels
High scores
Mouse control
Complete level editor
More levels!!!

Working on:
Even more levels!!!

Not done:
Anything else I think of doing

Download:

LATEST
V1.5 (New levels, level editor, etc.)
Full

V1.0
Full

V0.9 (New level!!!)
Full

V0.5 (requires updated media)
Full

V0.2
Exe only
Media only

V0.1
Full

Attachments

Login to view attachments
warship45
20
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 31st Oct 2006 23:07
Looking good the ball moves a bit to fast and if you hold down the button it just keeps hiting the same bit of wall. but the game is looking realy good for the first few screen shots i cant wait for you to develop it more.

are you going to add like a power and aim bars controled by the mouse?

dbpro plugins
www.0z0.co.uk
FoxBlitzz
21
Years of Service
User Offline
Joined: 19th Nov 2003
Location: United States
Posted: 31st Oct 2006 23:46
I think you need to either add in delta-time or limit the framerate, because I'm getting over 1000 FPS and the ball is blazingly fast.

AMD Athlon 64 X2 4200+
1GB DDR-SDRAM (May increase to 2GB one day)
512MB ATI Radeon X1800 Series - Finally! A card that does pixel shaders correctly!
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 31st Oct 2006 23:47 Edited at: 1st Nov 2006 10:14
The reason it moves fast, is because I haven't put in timer based movement yet (it goes about right on my PC) and if you hold a key, it will bounce against the same wall because the keys apply motion, so it will keep moving it in the direction of the wall.

For the real controls, I think the down key will slowly tilt the club back, and when you release it, it will swing and hit the ball. The left/right keys will rotate the camera and the club.

PS
You can apply Y-motion with the shift/ctrl keys as well.

edit:

Just finished timer() based movement, and rotation of ball!
Have any of you created your own levels, or even scripts?
I made those with DeleD

edit2:
Here is the new exe (media is on my next post)

Attachments

Login to view attachments
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 1st Nov 2006 10:15
Here is the media:

Attachments

Login to view attachments
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 1st Nov 2006 16:24
Is nobody interested?

V0.5 is now available and has a club to hit the ball with. It is a fully playable, scriptable demo. It requires new media, and some of the old media has been changed.
Here is the new download:

Attachments

Login to view attachments
JosephB
18
Years of Service
User Offline
Joined: 12th Sep 2006
Location:
Posted: 1st Nov 2006 18:18
Diggsey

Nice demo and fun to play. Colors are pleasant and the lighting is good. If it is possible to increase the speed of the ball's final placement after being hit it would help increase the pace of the game. Also, on a couple shots the ball was moving very slowly on the edge of the hole, but did not fall in.

Keep it up.
UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 1st Nov 2006 18:27
It might just be my computer. But it is way too slow. It takes forever for the ball to finaly stop moving. Other than that, it is really cool. Nice job!

Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 1st Nov 2006 18:33
What FPS do you get?
If it is at 40fps, this is because it is the fastest it will run on my PC, so I set that as a limit since I couldn't test it any faster. When I get round to doing the help, it will have an option to set the max FPS. (If you set it high on a slow PC it can be quite jerky)

UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 1st Nov 2006 18:39
Around 35-40. I think the problem is that the ball just won't stop fast enough. I think you should raise the friction of the ball or something.

Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 1st Nov 2006 19:14
I'll put an option to change the amount of friction as well

UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 1st Nov 2006 22:18
That would be cool. This game is really fun. I managed to get 2 holes in one in a row (a hole in one in both maps). I'm following this.

Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 1st Nov 2006 23:01 Edited at: 2nd Nov 2006 11:58
Thanks! (it seems except for you, warship45, and foxblitzz that nobody is interested! )

I have added the following options so far:

Max FPS
Friction
Stop speed <-- Speed at which it will stop and show putter
Force multiplier <-- If you set a large friction value, you will need to apply more force when hitting
edit:
Gravity

If you can think of any more

Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 2nd Nov 2006 15:05
!!!V0.9!!!


This version has all the features added.(except for highscrores)

Helpfile included.

NEW LEVEL INSIDE!

Hope you like it

Attachments

Login to view attachments
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 3rd Nov 2006 08:18
Not a bad start, the menu and the cleared stage thing needs to be timer based, as the 3d menu was rotating around like a madman on my pc, and I think the putter should be controlled using the mouse, so you can essentially set the swing power via the mouse, and that would make gameplay better, the course should use more polys as it was a little clunky going around the dome area but it's a good start.

Hallowed are the ori.
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 3rd Nov 2006 09:02 Edited at: 3rd Nov 2006 09:59
Yeah, that last course, I just knocked up in a hurry, but I will make the menu timer based. Have you tried making your own levels for it? You can also script any levels that you make, so you could have water, turning windmills, ball speedups etc.

CrAzY golf Try now!
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 3rd Nov 2006 15:02
The next update will have all of these new features:
Ability to make golf courses using the new CGL filetype. List the names of holes, and drag the file onto the exe. It will play through each hole, telling you your score for that hole, and your total score, and also the total par so far. At the end, it will save your scores in a file with your name if it is a better score than what you got last time on that course. It will also give you a rating which is universal, and not specific to that course, so you can see which courses you are better at!

Also, mouse control is being implemented due to popular demand (dark coder)

PS
Please don't make me have to triple post when I upload the next version!

Flindiana Jones
20
Years of Service
User Offline
Joined: 3rd Nov 2004
Location: Bosnian Power
Posted: 3rd Nov 2006 15:30
All right, I'll post just because I like putt putt games if they're done well. I am currently without my windows so I can't test but as soon as I get it up and running (Should be up by Sunday) I'll test. Otherwise, I'm loving the customizability, it sounds real neat!

UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 3rd Nov 2006 15:52
I really liked the new level. I agree with dark coder about the level being higher poly, and also, I suggest a par of 2, or at least 3. I did terrible the first try, and still got the par. That's not something you want . I forget the par for the other 2 levels, but their par should be no more than 2.

Great job, can't wait for next demo

Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 3rd Nov 2006 15:56 Edited at: 3rd Nov 2006 16:18
Thanks for posting!

UFO:
You easily change the par yourself
As I've been saying, it is easy for you make/edit levels. Open any of the .CG* files in notepad, and you will see what I mean.

Here it is, V1.0!!!!!!!

New controls:
mouse move/left,right,ctrl,shift keys rotates camera
mousewheel/+,- zooms camera
mouseclick/downkey pulls putter back
release of mouseclick/downkey releases putter

New info:
To create a course of premade levels, make a .CGL file, in your CrAzY golf folder. Open it in notepad, and list the names of levels that you would like to be in the course. When you want to play the levels, drag the file onto the CrAzY golf exe. At the end of each hole, it will return to the main menu. After the last hole, it will save your statistics for that course in a txt file if they a better than any previous results for that course. (eg a highscores system)

edit: zoom bug fixed

Download:
Here

Attachments

Login to view attachments
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 3rd Nov 2006 18:48
Another bug fix, but CHECK OUT THIS NEW LEVEL!!!

The first scripted example level

And guess what, it's a turning windmill

I hope you like it.

Attachments

Login to view attachments
UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 3rd Nov 2006 19:02
Cool! You must be working hard . All these updates so fast. Don't you have a job, or school, or something. Or are you sick like me :-(.

On that 3rd level (the one with the bowl and the hole in the center, I think the walls around the platform where the hole is located should be higher, because twice now, I have made it go into the funnel, and after it goes through the hole, bounce over the walls and into nothingness.

Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 3rd Nov 2006 19:12
That's part of the hardness, because you have to try an make the roll around in the bowl before it drops down the funnel. If it drops straight down, it bounces too high. If you try hitting it at not quite maximum, then the plain I positioned there helps to add sideways momentum, and makes the ball roll around the bowl before it drops into the funnel.

PS
My school hasn't finished half-term yet
I have to go back this monday

Peter H
20
Years of Service
User Offline
Joined: 20th Feb 2004
Location: Witness Protection Program
Posted: 4th Nov 2006 00:50 Edited at: 4th Nov 2006 01:02
wait, have you made a golf game in DB before?

[edit] played it, was very nice. my gripes would be
1) sometimes the ball took forever to slow down... not sure how you could fix that and
2) it can be kind of hard to tell what your power is at, maybe add a bar that shows it... but that is kind of part of the difficulty i guess

oh yeah, w00t! i got this level in one shot!




"One man, one lawnmower, plenty of angry groundhogs."
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 4th Nov 2006 09:20
I haven't made one before. To your questions, you can change the stopping speed in the options.txt file. You can also change your name there

Does everybody know how to use CGL files?
They're very useful if you want to play (a) certain level(s).
They also let you have a highscore for each one.
They are just a list of holes which when dragged onto the exe, will tell it to play through each hole in turn, and give you a highscore at the end

PS
Have you tried getting an albatross in the curvy.cgc level?

Don Malone
21
Years of Service
User Offline
Joined: 27th Apr 2003
Location: Birmingham, Alabama
Posted: 4th Nov 2006 13:58 Edited at: 4th Nov 2006 14:06
Suggestion.

Option to play holes in order or a random hole. When i tried the first release it gave me the same hole three straight times (The Bowl Hole).

Played the version 1 fixed until my windows crashed it (I believe it is my system and not your code that caused it). Got better distribution of holes that time.

You may want to think about changing the way speed seems to be figured though. It looks like the speed off the club should be much higher for such long swings as is required to play some of these holes. You know; shorter swings with more initial speed. You would never swing like (unless you were six) and it would never stay on course (trust me, I know .)

Just a thought.

I like what you have done with your program. Really like the grass mat texture.

[Edit]
Maybe you should make a help screen to explain your level design a little more. I am not a super experienced modeler but would like to try to design one. I don't completely know how to setup the CGC file and there is no extended help to make a legal, playable level.

In Memory of My Dad.
I miss you very much.
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 4th Nov 2006 15:57 Edited at: 4th Nov 2006 16:02
All of what you have said is ALREADY possible. Just change the options in the options.txt file
For some strange reason, I doubt that you read my previous post!

CGL files are specifically for what you just said, they let you play whatever holes you want, in whatever order you want. All of the .CG* files can be opened in notepad and contain a brief explanation.

Also, there are no restrictions on level design, except that the hole that the ball fals into at the end, must go lower than any other parts of the level.

Here is an explanation of each of the parts to a .CGC file:



edit:
if you change a .CGC file, make sure that the layout is kept the same. Also if it say [optional] and it is not a number, then you must put <none> if it is not used

UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 4th Nov 2006 16:16
I made my own map, but I'm not sure it works. I edited basic.cgl to say only:

test.cgc

and I drag it over the exe, but it doesn't play it. What am I doing wrong?

(The level I made is called test.cgc)

Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 4th Nov 2006 16:24
Hmmm...

Is test.cgc in the levels folder, and is the basic.cgl still in exe folder?

Did the basic.cgl file work before you edited it?
Also, you do know that it doesn't play it straight away, you still have to click play on the main menu?

If the answer to all of those is yes, then I'm not sure
Could you email me your .cgc file, your .cgl file, and your model file?

What does it actually do instead of playing the test.cgc?


Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 8th Nov 2006 20:24 Edited at: 8th Nov 2006 20:25
Just some info on progress:
There are plenty more levels on their way (some already finished) but I am busy trying to track down a bug which I suspect is to do with the scripting code, where it crashes on the second scripted level in a CGL file

This is probably one of my best, and most finished games yet, so I am looking for some more comments (I give extra levels to those who help me with constructive criticism, and also flattery)

Thanks anyway to those who have already posted!

Once I have fixed this bug, prepare for many more updates and levels!

dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 9th Nov 2006 17:59
Maybe a slightly large request, but I think a level maker would be awsome, like if you had a bunch of tiles place the start and finish, that would be pretty awsome IMO, then you could make some truely stupid courses and everyone could upload there own.

Hallowed are the ori.
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 9th Nov 2006 18:42
You read my mind!

I had actually just started on one!


News:
I have FINALLY fixed that bug, and it was a problem with DBP not me! (you are supposed to be able to dim an array more than once)
I have just made the hardest level yet! It has a par of 5!!!

Not long now before another update...


iGd
18
Years of Service
User Offline
Joined: 5th Dec 2005
Location:
Posted: 14th Nov 2006 04:30
looks pretty good.
Couldent get past the first hole though...
i was running at 1485 FPS... the screen pretty much had a mix of white, grey and green and then i got it in and par spammed all over my screen for about a minute and i closed it.
The enviornment looks nice though.

-----------------------------------------------------------------

----------------------- Coming 2008 ------------------------
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 14th Nov 2006 11:19
You probably don't have the latest version, the latest version is timer restricted.

Nice framerate though!!!

Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 18th Nov 2006 12:56
!!!NEW UPDATE!!!

There is now an editor, and also many more levels to play!

It is in rar format(it's free to get winrar) because zip was twice the size!

To add a part to the editor, put the model in the editor\parts folder. Each part must have only one texture.

The green/red flags in the editor can be moved with the controls at the bottom, and specify where the ball start and end is.

The controls are much like DeleD, (which it is very roughly based on)

You can see the current part in the top left window, and can change part by using the arrows to each side of the window.

You can rotate/zoom/move in both views, but the controls are slightly different.

After you have placed a piece (by left clicking) you can move, rotate, and scale it using the relevant tabs.

Click insert under the part window to get that piece ready for using. Left click in the main view to place it.

Main camera controls:

Arrowkeys: zoom/pan

Mousewheel: zoom
R-click drag: rotate camera
Shift+R-click drag: zoom
Ctrl+R-click drag: pan

S key to save your model


Part window controls:
R-click drag: drag-rotate the part
Mousewheel: zoom
Shift+Mousewheel: fast-zoom
Ctrl+R-click drag: Pan

I will await your comments

Attachments

Login to view attachments
UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 18th Nov 2006 16:08
YAY! This is really neat. I downloaded it and it is really cool. I'll make a level or two when I have time in an hour or two.

Good job!

Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 18th Nov 2006 16:28
Thanks!

There is a bug when playing a level made in the level editor, but I am working on it

TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 18th Nov 2006 22:41
That is pretty cool. Only thing is I occasionally get an impossible level loaded where it is just a flat plain with one large hole. If the ball goes down that hole then it resets and there is nowhere else to go!

iGd
18
Years of Service
User Offline
Joined: 5th Dec 2005
Location:
Posted: 19th Nov 2006 00:28
Well... i still have 1200 FPS. and i downloaded the latest version too.

-----------------------------------------------------------------

----------------------- Coming 2008 ------------------------
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 19th Nov 2006 11:06
WHAT!!! That is ludicrous! How good is your machine! I get a sensible 30-50 fps.

Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 19th Nov 2006 14:03
Sorry about that impossible level, it was not made by me, but was one that somebody else made that went wrong. I think it is the test.cgc file. If you rename that to a txt file, you won't get it again.

iGd
There is something wrong with your machine, or you have changed the max fps in the options.txt file.
The latest version is timer based, so there is no way that you could get 1200 fps!!!!!!!!!!!!!!!!!!!!!


TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 19th Nov 2006 15:05
Only other problem I have is that the ball goes through walls and floors every now and then. Mostly walls when you hit the ball hard but still a bug.

UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 19th Nov 2006 15:51 Edited at: 19th Nov 2006 15:53
Quote: "Only thing is I occasionally get an impossible level loaded where it is just a flat plain with one large hole. If the ball goes down that hole then it resets and there is nowhere else to go!"



I was trying to make my own level, and e-mailed it to him so he can tell me what I did wrong. He forgot to delete it.

There should be a way to rotate, move objects at intervals of one unit, instead of 10. I was working on a level, and couldn't add a slanted floor object because of that. Can you please add it in the next release after you fix the bug with playing levels you make?

Thanks

Login to post a reply

Server time is: 2024-11-23 22:08:07
Your offset time is: 2024-11-23 22:08:07