Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
5 level platformer
#1
check this out ya'll, my attempt at a platformer in qb. theres all the info in the readme, post your comments!

http://www.geocities.com/yourfriendthefreak/spgame.zip

right click, save as, the usual BS.....[/img]
Reply
#2
Very cool! I would spend some time optimizing the jumping.(hint: Vectors) But overall, it's smooth and has a neat concept. Also, I checked your code and where you have:

dim tile.x, pixel.x, tile.y, pixel.y, etc

you can use Types instead. It organizes your code a lot more. I'm not sure what it does for memory though. If you're not sure how to do that here's a demonstartion:

Type MapType
TileX as integer
TileY as integer
PixelX as integer
PixelY as integer
etc...
end type

dim Map as MapType

So now to use it, all you need to do is do this:

Map.TileX = blah

You can also dim the typed array with more subscripts like so:

dim Map(20) as MapType

This fashion is good for ennemies and such, because you can index all you ennemies with individual subscripts each containing their own variables.
Reply
#3
hehe I liked your game, though as Radioman said the jumping was a little weird. (Only because there was no gravity.) But it was no biggie.. still tough enough to get the timing right to dodge monsters. = )
Reply
#4
thanx guys, good to see it was worth the time for something.
On the coding, jumping stuff: I started this a few months back when my skills as a programmer really sucked, that why some of the stuff is so bad. Thats actually the reason im not gonna finish it, it way too messy and ugly to try and fix. I learnt alot while doing this game so it wasnt a complete loss! :lol:
Reply
#5
Keep up the good work! I'm glad to see it was a learning experience :bounce:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)