Game clipping - terrain
If you have completed an application and wish to share the complete source/project files with everyone then please post it in here. Source-code files only, no tutorials.
7 posts
Page 1 of 1
Hello,
A few months ago I made a game called BJungle from code I was messing with while experimenting trying to figure out the different ways you could make a game in VB without using directx and a billion lines of code lol.
I will try to add a tutorial on it soon but for the time being I created a quick project on how I detected the level terrain for the game so the character moves with the ground and platforms..jumps..and stops when it hits the ground.
In this demo I made a simple level bitmap and used a dark green color to show the floor and platforms in the air and the "GetTerrainPixel" function has been set to detect the green color on the map and uses that to signal if the character is touching the ground or not. Its not a lot of code and perhaps a little messy but hey it works and thats all that matters :lol:
Ive commented the code a little bit so you know whats doing what and ill try to do a tutorial soon but you should be able to suss it out easy enough.
Arrow keys to move and space to jump.
This is for those of you who want to try make some fun little games cooll;
A few months ago I made a game called BJungle from code I was messing with while experimenting trying to figure out the different ways you could make a game in VB without using directx and a billion lines of code lol.
I will try to add a tutorial on it soon but for the time being I created a quick project on how I detected the level terrain for the game so the character moves with the ground and platforms..jumps..and stops when it hits the ground.
In this demo I made a simple level bitmap and used a dark green color to show the floor and platforms in the air and the "GetTerrainPixel" function has been set to detect the green color on the map and uses that to signal if the character is touching the ground or not. Its not a lot of code and perhaps a little messy but hey it works and thats all that matters :lol:
Ive commented the code a little bit so you know whats doing what and ill try to do a tutorial soon but you should be able to suss it out easy enough.

Arrow keys to move and space to jump.
This is for those of you who want to try make some fun little games cooll;
You do not have the required permissions to view the files attached to this post.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
nice 

CodenStuff wrote:Nope, it's just your sick and dirty mind. You sick twisted warped little pervo![]()
My face is literally like ":O" right now, this will help me a lot!
-RunarM
-RunarM
Just another day in my life.
http://www.codexvideos.com
http://www.codexvideos.com
nice one cns
maybe if he can shoot must be cool
its just or hes flying to the sky :lol:
maybe if he can shoot must be cool

its just or hes flying to the sky :lol:
visit us on:
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
.... why complaining about people who write only great thanks and other stuff?
actually i was trying to make a game like Super Mario, and this is the answer for my codes help 
Thank you ;)

Thank you ;)
Code'N'Stuff
OneTeam..OneDream
Join ABSplash Team & Earn $$
ABSplash Site - Workpad - (VB) Custom Buttons 2 ways
OneTeam..OneDream
Join ABSplash Team & Earn $$
ABSplash Site - Workpad - (VB) Custom Buttons 2 ways
7 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023