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 / The Red Ball

Author
Message
Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 4th Jun 2008 19:17 Edited at: 10th Sep 2008 00:51


About
The Red Ball is a physics game in which you draw shapes that are going to help you lead the red ball into the warp which takes you to the next level.
There is no story for this game, it's just a simple time waster.

Screen shots



Download
The latest version is v1.0.2
v1.0.2 1379kb (rar)

Other notes
I am looking for ideas of what to make. So if you are creative please shout!
Here is one I thought of:
* Mines - if the red ball hits a mine, the mine will explode, sending the ball away and destroying nearby constructions.

Attachments

Login to view attachments
nackidno
17
Years of Service
User Offline
Joined: 3rd Feb 2007
Location: Där solen aldrig skiner
Posted: 4th Jun 2008 19:19
It reminds me of a flash game i played a while back.

- Elias, Damezean, Nackidno, Wonderboy

AntocGames - http://antocgames.se.nu/
Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 4th Jun 2008 19:23
I was inspired by Armadillo Run and Crayon Physics.
Hopefully this game will be better than those two combined.
Actually the game is those two combined, aww.

I allways afraided from a clowns. aww..
Gil Galvanti
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Texas, United States
Posted: 4th Jun 2008 20:59
Sounds good, good to see you are back into game development .


Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 4th Jun 2008 23:03
Update (fixes):
* Restricted movement to only X and Y axis. -Now it behaves more like a 2D game.
* Drawn shapes are more solid, so they don't act like ropes. -Now it is possible to draw a square and it keeps that shape throughout gameplay.


Gil,
Thanks! But I wonder how you could hear that.. AWW:S
Yea, I decided that making games is fun, so I had a second go at it.
I still haven't done anything on that game I told you about though. All though a friend at work really liked the idea and want to see it soon .

I allways afraided from a clowns. aww..
Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 10th Sep 2008 00:55
Hello Everyone!

I recently updated this game. I also made two whole levels (WOW!)
The game is really awesome so you have got to try this out.

Um, I have also compiled a demo: [link].
Screen shots are in the first post.
Let me know what you think of this

I am open for ideas now! So please bring me some creative thoughts about features.

One that I had: (copied from first post)
* Mines - if the red ball hits a mine, the mine will explode, sending the ball away and destroying nearby constructions.


Anyway, Try it out!


(please... try it.... Nah Just joking..)

I wasn't really joking.



Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 10th Sep 2008 01:00
What physics engine does it use (if any)?

[b]Yuor signutare was aresed by a deslyxic mud...
BOX2D V2 HAS HELP FILES! AND A WIKI!
Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 10th Sep 2008 01:02
Um.. DarkPhysics. Or more specifically PhysX.

Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 10th Sep 2008 05:14
Interesting idea for a game, although I don't understand it very well. How do you know how the shapes are going to move?

Also sometimes (maybe because I do too many lines) get an error: "Array does not exists or array subscript out of bounds at line 303 + buy a mousetrap" awww...

Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 10th Sep 2008 19:29
Because the "2d to 3d line" function isn't fully working (you probably saw it yourself: some limbs are rotated the wrong way from the original vector line) You will not be able to guess correctly how the shape is going to look and how it will move.

This is an issue that I have taken up with my brain and we are working on it together (thank god for brains).

But the game is a puzzle game in the sense that you have to try and guess what shape would be needed in order to accomplish your goal.
So you also have to guess how the shape is going to move.

I could try to make it simpler (and easier) by only allow the game to react to simple shapes only (circles, ellipses, triangles, squares and rectangles). But in my point of view this removes the whole concept of the game.

PS, if you have a tablet it will be much easier to draw precise shapes.


As for the error you acquired. I have NO idea what caused it.
Line 303 says: "format c:"

But I will look into that.
I can draw as many lines as I want.
But maybe because I never empty the array after level change or level restart or game restart, it has some memory issues. aww...:S


PS: regarding line 303 comment: that was a joke.

Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 10th Sep 2008 22:02 Edited at: 10th Sep 2008 22:02
Lukas W
You could always just use a 2d physics system
(hint box2d)
|
|
\/

[b]Yuor signutare was aresed by a deslyxic mud...
BOX2D V2 HAS HELP FILES! AND A WIKI!
Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 10th Sep 2008 23:02 Edited at: 11th Sep 2008 00:27
Haven't heard of box2d, but my original plan was to use fizz2d which is a 2d conversion of the newton wrapper. It still uses 3d objects (plains) so I figured it really didn't matter what I used.

I'll take a look at box2d It would be nice to use a physics engine that doesn't require drivers. (for average pc users).


Wow, box2d is very good. It just takes a while to get used to the commands.
I will see if I can replace PhysX with box2d. Thanks for the suggestion!

Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 11th Sep 2008 01:06 Edited at: 11th Sep 2008 01:07
Lol I rewrote the menu now.

Kind of cool if you ask me.

Now I will start on the "game".



Attachments

Login to view attachments
Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 11th Sep 2008 05:30 Edited at: 11th Sep 2008 05:30
Diggsey,
Well that physics engine is rather slow..
Attached is a test I made or just click the button here:
This is the same method I am using with darkPhysics (but more limited (couldn't bother rewriting everything at once)).

So unless it is possible to use "advanced" shapes (not just boxes and spheres) I can't use it. :/

Attachments

Login to view attachments
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 11th Sep 2008 19:04 Edited at: 11th Sep 2008 19:05
You can make any shape you want (much more flexible than DarkPhysics!)
Just use 'b2CreatePolygonShapeTemplate'
If you want to make a concave shape, make it out of multiple convex shapes, but added to the same body. You can have lots of shapes on each body, and it has much less impact on performance than separate bodies!

Obviously if you create hundreds of individual boxes it's going to be quite slow! Also, I noticed that the scale was making the boxes behave oddly, try different scales and see which works best.

I'm sure there are areas where Box2d could be optimised, so I'll mention this to Erin Catto

[b]Yuor signutare was aresed by a deslyxic mud...
BOX2D V2 HAS HELP FILES! AND A WIKI!
Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 12th Sep 2008 02:38
Good point. I experimented a little and I figured out a way.
Still there is an awful amount of math that I need to figure out.. aww I so suck at math.
Anyway we'll see how things work out.

Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 12th Sep 2008 19:48
If you need help with the math, I'm watching this thread, so just post

[b]Yuor signutare was aresed by a deslyxic mud...
BOX2D V2 HAS HELP FILES! AND A WIKI!

Login to post a reply

Server time is: 2024-09-30 02:27:01
Your offset time is: 2024-09-30 02:27:01