The Daily Click ::. Forums ::. Digital Works ::. BrickDown - OMG I made a game
 

Post Reply  Post Oekaki 
 

Posted By Message

Phredreeke

Don't listen to this idiot

Registered
  03/08/2002
Points
  4504

You've Been Circy'd!VIP MemberPS3 Owner
24th January, 2008 at 06:09:26 -

Yes, I am giving up Clicking for Java

http://www.silvernova.co.uk/brickdown/Main.html

Cheers to Tim for hosting. (if the URL didn't give it away already)

 
- Ok, you must admit that was the most creative cussing this site have ever seen -

Make some more box arts damnit!
http://create-games.com/forum_post.asp?id=285363

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
24th January, 2008 at 06:11:21 -

Any time

 
http://www.SilverNova.co.uk


DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
24th January, 2008 at 06:32:27 -

What, like, completely?

The side collission doesn't work.

 
Old member (~2004-2007).

Cazra

Crazy?

Registered
  24/07/2002
Points
  4472

Game of the Week WinnerVIP Member
24th January, 2008 at 08:32:27 -

Java is slow. Use C++.

For side collisions, redo code as follows:



x_ball += xVelocity;

for(Brick brick : bricks[])
{
if(ball.overlaps(brick))
{
xVelocity *= -1;
brick.destroy();
}

}

y_ball += yVelocity;

for(Brick brick : bricks[])
{
if(ball.overlaps(brick))
{
yVelocity *= -1;
brick.destroy();
}
}

 
n/a

Phredreeke

Don't listen to this idiot

Registered
  03/08/2002
Points
  4504

You've Been Circy'd!VIP MemberPS3 Owner
24th January, 2008 at 09:24:58 -


Originally Posted by Snerlin - taco advocate
Java is slow. Use C++.



Java has the advantage of being runnable in a web browser. (you could compile the game as a plug-in BUT using a virtual machine like Java does is much safer for the end user)

Speed is not really an issue. C++ is faster than Java, but either one is much faster than MMF.

 
- Ok, you must admit that was the most creative cussing this site have ever seen -

Make some more box arts damnit!
http://create-games.com/forum_post.asp?id=285363

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
24th January, 2008 at 10:26:20 -

"Java is slow" is a myth.
http://www.idiom.com/~zilla/Computer/javaCbenchmark.html

 
Old member (~2004-2007).

Cazra

Crazy?

Registered
  24/07/2002
Points
  4472

Game of the Week WinnerVIP Member
24th January, 2008 at 11:20:44 -

"Java is now nearly equal to (or faster than) C++ on low-level and numeric benchmarks."

Yes, it is fast in simple computations, but when you get to graphical programming it's really slow. I've had first hand experience with this in one of my labs. We had to make a GUI with a background image and a simple bus moving across the screen(made of a bunch of ellipses and rectangles). It could go no faster than 1 fps! I tried lowering the timer delay to 20/100 seconds but there was no change.

 
n/a

X_Sheep

I had a custom rating before it was cool

Registered
  01/03/2004
Points
  1313

VIP MemberPicture Me This -Round 23- Winner!Dos Rules!
24th January, 2008 at 11:34:24 -

Multimedia Fusion 2 is getting Java support

 
a/n

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
24th January, 2008 at 12:33:37 -

c++ ftw

 
n/a

Phredreeke

Don't listen to this idiot

Registered
  03/08/2002
Points
  4504

You've Been Circy'd!VIP MemberPS3 Owner
29th January, 2008 at 17:35:53 -

Ok... The old link broke? Perfect opportunity to put up a new version:

http://web.comhem.se/~ohwgames/build2/Main.html


Originally Posted by Snerlin - taco advocate
Yes, it is fast in simple computations, but when you get to graphical programming it's really slow. I've had first hand experience with this in one of my labs. We had to make a GUI with a background image and a simple bus moving across the screen(made of a bunch of ellipses and rectangles). It could go no faster than 1 fps! I tried lowering the timer delay to 20/100 seconds but there was no change.



Key question: When?

 
- Ok, you must admit that was the most creative cussing this site have ever seen -

Make some more box arts damnit!
http://create-games.com/forum_post.asp?id=285363

Cazra

Crazy?

Registered
  24/07/2002
Points
  4472

Game of the Week WinnerVIP Member
30th January, 2008 at 10:17:16 -

a month ago.

Unless they gave it steroids when update 4 was released, I don't think much change has happened to the speed.

 
n/a

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
30th January, 2008 at 12:42:54 -

Aww. It congratulted me for completing it.

"Great job!"

 
Image

Tell 'em Babs is 'ere...

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
31st January, 2008 at 05:28:10 -

If you're getting lower than 1 FPS, it's likely a bottleneck in your coding that makes it go so slow.

 
Old member (~2004-2007).

Billybobjoe198



Registered
  12/01/2007
Points
  221
31st January, 2008 at 07:58:58 -

404 error, and my post has to be four words long.

 
n/a

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
31st January, 2008 at 08:38:16 -

There is no 404.

 
Old member (~2004-2007).
   

Post Reply



 



Advertisement

Worth A Click