Plataform game!

01-16-2002, 04:16 AM
Can someone send me an example of plataform game with only VB codes?

Sorry about my English...:p

01-16-2002, 04:32 AM

I'm currently working on a side scroller, so when it is in a fit state, I'll upload the code so you can have a look. You can email me at

Neil :D

01-16-2002, 04:39 AM
Thank you!:)

01-18-2002, 02:55 PM
i'd like to see that too!

01-18-2002, 06:26 PM
I want to see it also (three?).
I made a platform game using VB code (with one or two API functions, but the original is pure VB code).
I want to compare;) :D . Or should I go first?

01-19-2002, 08:46 AM
yeah, you too, in fact, anyone who has made a game put it on the board. if you don't want to share the source code, send it compiled, cause gamers are alwayz looking for new games!

01-19-2002, 09:00 AM
Waxycat, forum rules state no compiled only attachments.

01-19-2002, 04:56 PM
OK. I've attached the semi-original version of my game.
The monsters and characters are not mine, but free downloads.
The music isn't mine either.
I think I fixed everything. Are there any problems with this?:cool:

01-19-2002, 05:07 PM
Hey! I don't see my attachment!
Well, let's try again.

01-21-2002, 03:33 PM
oh, my bad.

wild wolf
01-22-2002, 01:29 AM
nice one :)

01-22-2002, 05:45 AM
Very nice Iceplug, very nice indeed......
Tricky to complete, but I got there! :D

01-22-2002, 08:41 AM
Is that an example?
Plataform game?
I can't read english very well :p

01-23-2002, 07:40 AM
Thanks! :)
This is my platform game example.
I have 42 levels.
I did a space level too with a different gravity and it works just the same.
I suppose I could attach another one when I get back home, but that won't be but for another 2-and-a-half weeks. :(

01-24-2002, 08:18 AM
Nifty! Nice job there. It would be nice if I could get Mog to jump sideways by running and then jumping. Right now, in order to jump sideways, I need to stop, jump, then press left/right.

01-25-2002, 12:45 AM
Why don't ya sella your stuff then. Or make it to an sharware??
Hehe. Mabye it's not so good to sell, but let ppl beta test it. =P

Smell ya' later!

01-25-2002, 05:41 AM
ok i made 1, it is for ne1 who has ever had a birthday. Also its got some transparent stuff too. tell me if it doesnt work.

01-25-2002, 06:06 AM
Hey y dont we get heaps of ppl to upload platformers and make a poll to see which one ppl think r the best

01-25-2002, 06:08 AM
Good idea. I'm currently working on one so I'd like to know the feedback from you other coders out there. When I have a level up and running I'll upload! :D


01-25-2002, 06:30 AM
ok, so ppl please upload a game and well make a poll

01-25-2002, 07:45 AM
I don't think I can update my game anymore.
Actually, I probably could, but I'm not at home anymore, so I don't think I can update my game. :(

01-25-2002, 08:38 AM
well i intend to make one. i have all the physics and most of the characters and stuff planned out. if it turns out anything like i hope it will be amazing, but you'll probably have to wait a few years for me to finnish.

01-25-2002, 07:06 PM
My first game didnt work properly, i dont think, so here is a better version of it:

01-26-2002, 10:15 AM
dood that is INSANELY awsome! the physics are good and everything, you even animated the candle and it has transparency!!!

01-26-2002, 10:18 AM
i don't even recognize some of this stuff, what's the msimg32 and user32 library? how does user32 differ from gdi32? where can i get information and descriptions of all these functions? some kind of book? cause i haven't found a good one yet for that kind of stuff!

01-26-2002, 11:22 AM
well i was hopeing someone had said something since this morning so this wouldn't be my third post in a row, but oh well. i was looking through your code and it's uncommented and a little hard to read. exactly what x1, xn, xp, y1, y2, y3, i, j, ju, ju1, jr, and sp represent? because frankly i have no idea. anyway, great game! just need some enemys.

01-26-2002, 11:29 AM
Waxycat - the user32.dll etc... are windows DLLs, full of API. A good book is "The Programmers Guide to the Win32 API" by Dan Appleman. Its got everything and then some more in it. :)

01-26-2002, 01:47 PM
I made it back home - here is an update on my game.
I added 4 new enemy type.
I added the blue enemy that oscillates.
I added the gold enemy that travels in a circle.
(The "More Physics" part :cool: )
I added a pair of war enemies. :p
The black being like an incendiary bomb, busting into flames when it hits the ground.
The purple being like a homing missile or some such missile that shoots when it hits the ground.
It's a homing missile for an instant - when it hits the ground.

01-26-2002, 02:13 PM
iceplug, what r u running 2000? you forgot to uncheck the recursive folders or whatever and when i unzip it's in like 34857340 subdirectorys. anyway, you seem to have sped it up a lot, it was running very sluggish before. i still can't move very fast hardly at all, you move much faster when you jump. was that intentional?

Kitaiko, man you really need to do something about variable names. i think i figured some of them out...

i: x coordinate on the map picture.
j: y coordinate on the map picture.
sp: horizontal movement speed.

that's about it, and i don't get the one called "first" either, nor can i figure out any reason at all why i couldn't move it up a few lines to before the for loop, since it isn't even used inside the for loop anyway. oh well.

01-26-2002, 03:50 PM
and, ok i think i figured it all out now... jr is the Jumping Resistance, or something, and you've got an auto-integer-round-off that makes it a little confusing but it makes sence now.

01-26-2002, 05:19 PM
i and j are both common names for integer variables used in loop counters. Whenever I need an integer variable, I start with i then if I need another I choose j and then maybe k. I call them general-purpose variables, but they are also commonly used as alternatives to x and y because these variables might already exist (such as in a Form_MouseDown event) or when dealing with vectors.


01-28-2002, 08:24 AM
iceplug, what r u running 2000? you forgot to uncheck the recursive folders or whatever and when i unzip it's in like 34857340 subdirectorys. anyway, you seem to have sped it up a lot, it was running very sluggish before. i still can't move very fast hardly at all, you move much faster when you jump. was that intentional?

I thought I did it the same way as I did the last attachment. I was only using Win98.
I really didn't do much to the game. I just updated it so that there would be more enemies and that Mog can jump forward without hitting the direction button while in the air.

01-28-2002, 08:25 AM
Iceplug-Cool additions to your game. They make it a TON more difficult. :-) The black guys blowing up into flames is a nice touch.

However, there's a problem with your game. When a purple guy hits the floor, the program breaks and says 'Type Mismatch'. The line it breaks on is as follows:
If xb.Tag = 0 Then xb.Visible = False
I went into the immediate window to check the value of xb.tag:

? xb.tag

I hope this helps.

01-29-2002, 06:44 AM
Argh! :mad: I need to check that. I may have some time to check that.
It worked fine on my computer.

01-30-2002, 06:49 AM
I think it might be the part where it says
If xb.Tag = 0 :o
and since Tag is a string, the *if xb.Tag = 0* should be *if xb.Tag = "0"*.
It worked fine on my version of VB6.

02-09-2002, 04:28 AM
hey, thats a really great game!, i tried adding enemies to mine but my variables stuffed me up lol. You basically got all of the variables right, and i use first so when the program runs through the first time, it sets out what all of the numbers should be, so its like:

if first = 0 then
x = 10
y = 10
first = 1
end if

02-09-2002, 07:09 AM
yeah i know, i did a bunch of modifications to it, cause you had a bunch of things in a loop that only needed to be done once, and that first stuff could be eliminated by making those variables global and putting that code in the form_load.

02-09-2002, 01:27 PM
Well, I made it back home and I put the quotes around the zero this time - not really an update.:p

02-12-2002, 03:43 AM
ha thats good

02-13-2002, 07:33 AM
Hmm... It may be possible for me to eventually post the whole game up here. Each level can be sent one-by-one in each attachment. Well, there are 42 levels and I'd probably get beat up by someone for attaching too much stuff.:o :D
I did want to update this a little more. :)

02-13-2002, 07:39 AM
Alternatively, you could upload your levels to some web space and attach the hyperlink to a thread. This would save a lot of time.

Neil :D

02-13-2002, 07:43 AM
Would this require getting a website? I don't have one.

02-13-2002, 07:46 AM
No. If you try . This gives you a certain amount of free web-space and then you can just upload the file. This will then give you a web address where the file is.

Neil :D

02-13-2002, 07:48 AM
Hmm. Interesting. I may try it when I have some free time.;)

02-28-2002, 10:32 AM
so, are you people gonna have sorta like a contest
to see which one is the best platform game (mario like right?)
cause if it is i'm up for it :D, just to let you know in advanced
, all my programs are not serious...

03-01-2002, 06:52 AM
How about if I (attempt to) post a poll right now?

03-01-2002, 02:36 PM
making a poll would be great!

03-01-2002, 02:37 PM
did you know you could edit these posts?

03-01-2002, 04:17 PM
I thought that was just used for URL relocating. For instance, your website's URL is, where you could make it, much simplier.
But maybe you can upload things, just putting in my two cents.

03-06-2002, 03:54 PM
I don't have long to post this...but I'm doing a side scrolling fight game, like the old Double Dragons, and I was wondering how Kitaiko loads his maps, or some general ideas on another method, and if Kitaikos is pretty much efficient.

BTW, nice Physics in jumping!!!

Well, gotta run, my 2 cents on the fly.

03-07-2002, 02:33 AM
my method of drawing maps is far from effeciant. It draws the entire map over the background, then saves it as a bitmap, then it zooms in on wateva part of the level the character is on. If i were u i would use a different method

03-07-2002, 02:41 AM
That little candle guy gets around!

03-07-2002, 05:19 AM
Well, thanks for telling me that. Honestly, though, you oughta name the objects on your form and things, but that's besides the point. Thanks for telling me how it worked, and your suggestion to choose another method, I guess I'll just try that then.
Thanks a lot, I'll be back with more questions / answers for the forum...

03-08-2002, 09:54 AM
i cant compile it what library are you using

If Contact(xu, Plyr) Then

it doesn,t understand contact

03-08-2002, 02:58 PM
Whoa. My game. :)

Contact is a boolean function that should be in the module that was included in the zip file checking to see if two objects touch. It must be there. I included it! If it's not there, might I suggest downloading another version. But it should be there.:confused:

04-02-2002, 06:47 PM
OK. I added a few updates this time... I added two different enemies which both travel in some sort of rectangle or rhombus.
Also, I added a warp portal. :)

...Gee, I hope my attachment is here...

...unfortunately, the wrong attachment.
Let's try this again.:)

04-05-2002, 06:07 PM
Your games are always good :)

04-05-2002, 10:35 PM
Hmmm, Maybe I don't know how to play this platform game, but I can't get past the first bit of lava? :mad:

Oh and that music is bloody annoying. :D

04-06-2002, 10:56 AM
Are you experiencing technical difficulties with my game?
Can you not jump? The Spacebar and arrow keys do not work?

If the music is annoying you, turn the volume off. There's a volume control under the custom menu of the Windows Media Player - if you can find the player. It's somewhere in the top right corner. Or you can delete the music. WMP doesn't care if its file doesn't exist, does it? Of course, the music is bloody ear candy on my computer. :p

Your games are always good

Thanks. I try (too hard, j/k). This was just a few upgrades. I already have an enemy that will swoop down and attack like a bat - so the enemies are more interactive. :D

04-06-2002, 07:40 PM
I know that the spacebar is for jump and the left and right arrows to move, just that I can't jump from the left side to the right side of the first block where the lava is, so wondering if there was a trick to it...

04-06-2002, 08:19 PM
I made another side scroller using DX8. This one has enemies in it.
The keys are up, down and left and you have to jump on the enemies to kill them.
ok im going to link this to PSC to save space, cause I have already put it on there.

04-07-2002, 03:58 PM
Pookie - Um... did you jump to the higher platform above where you start? Seems like my game is not adapted well to your computer or you are not an experienced platform gamer like me.
I just made a monster that travels in a strange scalene triangle... but I may not be able to post it.

04-07-2002, 07:09 PM
I see what I'm doing wrong, I have to keep holding down the left or right button after jumping so that the mog moves quicker in the air.

Before I was just tapping the direction once thinking that was the logical way for it to jump. :-\

04-08-2002, 06:46 AM
Did you complete it yet? :)

04-08-2002, 07:06 AM
Complete it????
I didn't even get a quarter way through it....

It's probably not that hard, I'm just lazy. :)

04-08-2002, 07:07 AM
Did you play the other files that were somewhere else in this thread?

04-08-2002, 07:09 AM
ER, not sure. :)

There are so many threads with updates of games that I have no idea, I only downloaded the last one in the thread.

04-08-2002, 01:55 PM
Kitaiko, you're game looks really good, but it runs so fast on my machine, that I die or can't stay on the platforms, I'm going to have to slow down the timers. It looks good though, keep up the good work ;)

04-11-2002, 07:22 AM
OK. Just a simple update - seeing how I'm not at home (as shown in location). I added a MDIform to provide a television set-like appearance to my game.
Any problems? :):cool:

04-11-2002, 08:21 AM

Now it runs too slow!!! :(
You should also fix it so that when you die, you don't have to keep restarting the program again... and again... and again. :D

04-11-2002, 09:42 AM
Really? Too slow? Oh, well.
I'll go ahead and add the infinite life system without the MDIForm - I thought it looked cute with the screen except that I couldn't see the time and various pitfalls lingering just off the screen. So the MDIForm idea has crashed and burned... a simple update.
I know exactly what to do. Reload the form in the EndLife procedure - what I do in the game.:)

04-11-2002, 09:55 AM
It probably has to do with his video card or processor. If you want it to run the same speed on all machines, you should really have a delay between each calculated update, and then only redraw the screen if it's done with the previous frame.

04-11-2002, 10:09 AM
I seem to remember Pookie having a slow computer display or something similar... but the MDIForm idea will be buried. :(

04-11-2002, 10:33 AM
Actually I have an Athon XP 1700+@1.5 Gig and a Geforce Ti 4600 Video card. :D

But your program doesn't use the video card at all so having a top of the line one isn't going to help here. :)

Mind you, I didn't compile it and had a few things running in the background. Unless it was my mistake and it was running the same speed as last time. :-\

04-11-2002, 02:48 PM
OK. I put the infinite life system in and executed the MDIForm - actually I think it's still in that zip file. Oh, well.
I hope it works... I couldn't test it because there are paparazzi in the computer lab. :eek:
I didn't compile it and had a few things running in the background
A few? Like the internet, MS Word, Adobe, a realtime game, Minesweeper, Notepad, another internet window (popup), and then this forum? :p

04-11-2002, 08:23 PM
You forgot to mention Winamp, ICQ and Paint Shop Pro as well.

I think 256Mb of DDR Ram ain't enough anymore so must be time to buy another stick. :D

Yeah the game works fine. Just have to keep hitting that **** enter key each time I die though. :(

04-12-2002, 06:38 AM
Wow. How many times do you die?
At least it worked... I'm glad I did it right.

04-12-2002, 07:19 AM
It was around 20 times, I made it half way though the level and that's about as far as I got. :D

04-12-2002, 01:31 PM
Wow. Halfway being at the top of the level before you fall to the left? Well, if you finally complete, let me know how many tries...:D

04-12-2002, 06:37 PM
It was around where the fist big grey up arrow was.

I haven't played it since then but if I did, I would estimate it would take around 4000 tries. :D

04-13-2002, 07:55 AM
4000? Seems you are not a true platform game expert like moi.
:D. Hee hee... j/k

04-13-2002, 10:19 AM
I'm getting old. :(

04-13-2002, 11:08 AM
Yep. The big 4. :D You're on the downside of the hill. :(

04-13-2002, 09:21 PM

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum