PDA

View Full Version : My Own Project


Treacle109
07-19-2008, 12:51 PM
Okay, Ive been learning BlitzMax for nearly 2 Months now and i think its time i actually got started on a game... Im going to be using the farseer engine for all the physical stuff but i need some sort of idea to make, Please dont come up with things that you know are very hard for a beginner lol... If you wanna know what things are possible with Farseer, Look at my Farseer Engine thread and look at the games in there. If i actually get some sort of "Alpha" Running ill need some testers and some artists to make the textures actually look nice and to find any bugs i couldnt find

P.S: BlitzMax is 2D only, unless i use 3D wrapper but i cant be bothered lol

Some ideas ive came up with are:
Some sort of mini car game
SideScroller (Mario sort of thing)
Parachuting Game?

Im gonna see if i can make "Powered Ragdoll" Games, Like Gymnst and Diver... Any Ideas with that sort of game style? Perhaps Parachuting, if possible to make things like that in Farseer...

Ive changed the whole idea of the game, im going to make a sort of 2D Jackass... Im going to make a simple level where your going to have to drive a shopping cart into a barrier sending the Ragdoll flying :P Any ideas of Modes are welcom (Textures too)

These are the Ragdoll's that i was going to use for the Parachuting idea, but itgot too complex with the parachute... Try them if you wish

1ST Version(Head Movement) : http://www.box.net/shared/ojocgo348c
2ND Version(Body Movement) : http://www.box.net/shared/hqug620isk
3RD Version(Textures, Gravity and changed springs): http://www.box.net/shared/qog9jxbk88

P.S: Press Q for textures (Version 3 Only), Sorry if people tried it and didnt know

Treacle109
07-27-2008, 03:34 PM
Ok, ive made the basic ragdoll although ive missed out the knee lol... ill put that in later... Anything wrong with it? Ill add in some basic textures in later too, Although it wont be in the game, use the arrow keys to move the charcter so you can see hw it moves

EDIT: oops, forgot EXE... uploading externaly... One moment

EDIT2: New version, took gravity away and changed controls to WASD for Arms, UP, Down, Left, Right for Legs... I know the springs and stuff are a bit out, tell me if any limits are to small or too high... Second link is new version...

1ST Version(Head Movement) : http://www.box.net/shared/ojocgo348c
2ND Version(Body Movement) : http://www.box.net/shared/hqug620isk

kilop
07-28-2008, 08:57 AM
It's a very good start.
Just ad some textures (i know you're making them)

Treacle109
07-29-2008, 09:43 PM
Okay, ive added some basic textures and put gravity back on... I believe i changed a few springs so it should be a bit different to normal, the friction is quite high and as you can probably see the rotation of the character is a bit "stiff" in the sense that it takes quite a bit to rotate it

Version 3(Textures, Gravitya and changed springs): http://www.box.net/shared/qog9jxbk88

P.S: Q to change textures on and off

geel9
07-30-2008, 02:58 PM
Hey, that's pretty fun! I found a neat little way to walk. Nice job!

fracture7
07-30-2008, 03:02 PM
I managed to do a back flip.

Treacle109
07-30-2008, 10:29 PM
I need another idea, one that still uses the same sort of system... As making the parachute and then using these sort of controls to move it is a little complicated for my first game... Any ideas? Not same sort of system exactly, but im making Jackass...

ENWOD
08-31-2008, 01:50 AM
That's pretty decent, Just a suggestion... Some sort of tripple or long jump game? The action would seem to lend itself very well to it?

Treacle109
08-31-2008, 02:59 AM
How exactly could you use this system in a Long Jump game?

samysam
08-31-2008, 02:59 AM
looks great i hope to be using farseer for my game instead of gm physics and ill be using blitz ... (i needed to upgrade anyways :D)

Treacle109
08-31-2008, 07:39 AM
Well, Its finally time for me to switch over to the dreaded: C#

After hours of trying to find some decent tutorials on finding things like the colour of a pixel or Using External text files, im Fed up :( BlitzMax is good if u want to start out in simple games (Mario and such XD) But i need more power and ease of use (I dont mean the language, but is easier to get things done)

STEVIE G
08-31-2008, 09:26 AM
Why not ask your questions on the BB forums? Out of curiosity - what's your user name on there or is it just the demo you have?

Max is an extremely powerful and fast x-platform language so will be more than adequate for your needs. If you can't work out how to get the colour of a pixel in Bmax then you'll probably run into the same issue in c#. Also, to suggest it's only good for prototyping and simple games is misinformed drivel - have you seen some of the excellent pro games already written in it!?

http://www.greyaliengames.com/blitz.php

Treacle109
08-31-2008, 11:07 AM
Well... Ive personnaly gone through pretty much every command and searched a few different things on Google but found nothing (I DLed BlitzMax so no Forum name, woulda posted if i did...)

Im gonna buy it when i get some more Jobs but its the holidays so i cant be asked

Ive also tried looking for Stream tutorials but had no luck, Theres no way to tell it what Line i want it to come from or anything...

The only games i ever saw were the ones on the front page and yours... Most on the front page looked WORSE than mario imo, Stramash was made in BMax right?

STEVIE G
08-31-2008, 03:13 PM
Most on the front page looked WORSE than mario imo, Stramash was made in BMax right?


Nah - Stramash was developed in Blitz3d. The graphics in any game are down to the artist - not the language being used - so your point about how a game looks is not relevant.

=================================================

Here, reading a pixel colour from an image :


Graphics 640, 480, 32

Global myPixmap:TPixmap = LoadPixmapPNG("C:\testFireBrand.png")

For y = 0 To 367
For x = 0 To 363

ARGB = ReadPixel (myPixmap, x, y)
red = ( ARGB Shr 16 ) And 255
green = ( ARGB Shr 8 ) And 255
blue = ARGB And 255

Next
Next


ARGB returns a hex value and you need to use bit shifting to get the red, green and blue components.

Treacle109
09-01-2008, 07:05 PM
Where they for BlitzMax or Blitz3D? (I think Blitz3D as it would have to be Graphics2D/3D right? And i meant the sort of games not the art for the games oon there?

STEVIE G
09-01-2008, 07:16 PM
The code above is for BlitzMax. The games on that site are a mixture of B3d and Blitzmax.

Treacle109
09-01-2008, 07:50 PM
Well thanks, I was trying to do that as i wanted to search through every pixel to get the coordinates of every Red Pixel... That way i could make polygons out of images easily

STEVIE G
09-01-2008, 07:59 PM
Why would you want to make polygons out of images? What is it you were doing this for?

Treacle109
09-02-2008, 02:11 PM
I was going to do it so that rather than Making polygons by loading an image in Paint and manually getting coordinates of all the main Corners and then loading them into the engine, i could just make a small application that would search through a chosen image printing out all of the points that are red in a text file (In the format Verts.Add(Vector2.New(X, Y))... Id then just put them in the correct order saving quite a bit of time (I will eventually find a way for it to automatically put it in the right order using different colours)

STEVIE G
09-02-2008, 05:17 PM
Sorry - no idea what you're talking about.

Treacle109
09-04-2008, 05:08 PM
By polygons i mean Physics objects (Ive gotten that response from alot of people XD) Basically, i wanna make polygons from images

STEVIE G
09-04-2008, 05:26 PM
Hmmm - that sounds like a bad plan. If you're going to texture your poly's with that image/texture - you'll see all the red pixels etc... You'll also need to store which vertices form which triangles and the texture uv coords - although I guess you can get that directly from the coords. You'd be much better to store this information directly into an associated data file and read it from there.

I'll leave you to it though.

Treacle109
09-04-2008, 05:34 PM
It wont show the red pixels as i will have two different images (Im making a different one entirely just to output the coordinates, rather than in the game) One to get the coordinates from and then one that will be shown

STEVIE G
09-04-2008, 06:08 PM
I think you need to rethink your strategy - it's flawed. A whole second image just to store some coords is a waste and to be frank just plain silly. How are you going to know what order to create them in and how they are connected to form polygons?

GreyMario
09-04-2008, 06:33 PM
THIS is why arrays were created - use them :V

Treacle109
09-06-2008, 12:00 AM
Farseer (For blitzmax anyways) Uses its own sort of list (Made by: Global PolyVerts:TVertices = New TVertices) Id then add the coordinates into that with PolyVerts.Add(Vector2.Create(X, Y)...

I only have the second image for about 10 seconds, im just going to get the Coordinates and then delete it and move onto the next image... For the order, ill either just work that out myself, or use B/G (Blue or Green) to count from first Vertice, to the last one (I doubt ill ever have to use 255 vertices) Then i just have to make a New PolygonBody and Geom, Position them... And WHALA! I have a polygon made out of an Image (A bit long winded but its easier than drawing a grid on paper and then drawing my shape, then drawing it again on paint