hey dude it is possible to run it in turbo c 3.0 or i need a new compiler that will supported the Opengl program like visual c++ 2010 ?? and also can i get your sample code :)
click on the video window (it may pause), then press and hold the left arrow key on your keyboard. Keep the key pressed for around three seconds.And there u re now u can play snakes
Greetings! It is excellent game, very much it was pleasant to me! Has read that you have made it later 3 months after the program "Hello world". It very much cool! I Want to ask you how you studied language C ++ and OpenGL? Under books? P.S. Sorry, my English isn't so good, I badly speak on it. Hello from Russia! :)
There is a c++ tutorial app on the android market place .The icon has a red background with a black circle in the middle saying c++. it works best withe samsung android.
And then you found out using immediate mode is horribly slow and deprecated, and spent countless hours trying to understand those FRICKIN' VBOS, FBOS, VAOS, and whatever they've tossed in to OpenGL post 1.1 .
When drawing the lines, or quads, you don't have to call a separate glBegin and end around each one. After calling glBegin quads, if you passed it 16 verts for example, it'd draw 4 quads.
Try and avoid random numbers in code, if your area is 20 wide for example keep this number in a constant, this means you can alter this number later and change the game with 1 change. For example, you could:
@TerkoTpride Ah posted Jan, oops. Not sure how I stumbled across the vid :) Good to hear you've continued coding! Good luck with it. 10 years working in the games industry here, after a couple of years of making little games like you're doing and it's still good fun! :)
nice work! I'm working my own project but am no where near doing this sort of thing yet. Brilliant first effort! Keep it up! Nice music as well by the way. :)
Nice ;) I wrote my snake in about the same time, but I already had a python script which was doing almost the same, I posted my snake as a answer to your video...
@MissyT0763 Sure, that's not really a big deal to make something like this. You just need to have a big wish to do it and you'll definetely will do this. Good luck! :D
pretty good, I'd suggest making the movement more fluid than grid-based and use niftier collision detection functions to check for hitting the walls/cube. (all it would be is 2D collision between boxes, a very easy concept). I like where it is going though ^^.
it looks like the boxes appear in the same 4-5 places every time, why dont you use a random number instead of a spawn point the game will have much more variaty
Hey man. I have a professional game development team and would like to know if you want to help with the openGL game engine we are currently developing. Message me if you are interested.
A thing to change later on. You can speed up render by getting rid of Immediate mode rendering. (e.g. glBegin()/glEnd()). IT is absurdly slow. Try to use VBOs. They seem to be considered the future method of drawing.
Also, it's an easy check to see if the newly generated box is in the same position as the one you just picked up, or is touching your players tail. Looks lazy if you don't add that sort of detail.
Well , it is so massive because at the beginning I wanted it to have much more features than it has .. Also I had some difficulties with translations , transformations and texture mapping ... so that there are many commented parts. Also I dont know yet how to write the code in the correct way ,I mean making headers , etc)
( Can you give some advises ? :) )
So I left it as it is ..because the next time I work on it will be after my exams at university .
Can You send me this code:D
trinhtuanstorm 3 days ago
I RECOGNIZED IT !! lol, just watched the movie its an awesome song
EpicMickey5 6 days ago
NOOOOOOOOOO I HATE THIS SONG!!!!
brendanr00lz4 1 week ago
HA! He's Russian... zdrastvete tavarisch!
YourSovietComrade 1 week ago
This song reminds me good days!!
Scotty Doesn't know....
Mittensofthemorning 2 weeks ago
This has been flagged as spam show
Your game is really impressive
can u send me the source code
meetsomeone007@gmail.com
flytoraghu 3 weeks ago
btw what compiler did you use ???
jrtonk3 3 weeks ago
hey dude it is possible to run it in turbo c 3.0 or i need a new compiler that will supported the Opengl program like visual c++ 2010 ?? and also can i get your sample code :)
jrtonk3 3 weeks ago
source code? :)
kwnos100 4 weeks ago
This song reminds me of a movie called eurotrip :P
4Antonis 1 month ago
OpenGL ftw :D
timoffex 1 month ago
that's pretty good for 3 months... if C++ was your first language that is :P
other wise that's horrible lol. if C++ is your 2nd or 3rd language, 1 maybe 2 weeks is what i'd expect :P
nice job btw xD
HotNoob 1 month ago
God damn do you know what a header file is e_o why so much code in once area
ForeverWiked 1 month ago
Does Scotty know yet? Cool game :)
danielkirk1 1 month ago
click on the video window (it may pause), then press and hold the left arrow key on your keyboard. Keep the key pressed for around three seconds.And there u re now u can play snakes
enjoy and thumbs up
coolsaification 1 month ago
By any chance, do you recommend that I continue to use the older openGL 2.1 or the newer opengl 3.x and up?
ThinkofUser 1 month ago
Wow :)
ho long does it took to learn C++ ?
Nicoladen1 1 month ago
I am learning to make games in opengl. Can u please send me the source code of this program it will be a great help to me.
dasguptasoumi1 1 month ago
Класс, а ты где учил c++, и OpenGL? И откуда ты, я просто заметил что у тебя украинский язык стоит на компе.
nazlbit 1 month ago
Greetings! It is excellent game, very much it was pleasant to me! Has read that you have made it later 3 months after the program "Hello world". It very much cool! I Want to ask you how you studied language C ++ and OpenGL? Under books? P.S. Sorry, my English isn't so good, I badly speak on it. Hello from Russia! :)
777serfer777 1 month ago
lots of unnamed constants in there XD
TarousDT 2 months ago
Congrats wid at dangg-o future 3D snake mumbo jumbo thar.
GuyOnChair 2 months ago
This has been flagged as spam show
source code please!! XD
tycanable 2 months ago
This has been flagged as spam show
hi,nice to meet you !!
you are so awesome, i am wondering whether could i get the source code from you as i am learning opengl myself. And my email is lim_tzechi@hotmail.com
ttcycan 2 months ago
Would you mind sending me the source code as well? Thanks in advance!
ChristineHillier 2 months ago
This has been flagged as spam show
There is a c++ tutorial app on the android market place .The icon has a red background with a black circle in the middle saying c++. it works best withe samsung android.
mocninja11 2 months ago
source code please :)
Zeraxis08 2 months ago
very nice, but Don't use system("pause") - it's EVIL
iemandmetgeenhoofd 2 months ago
And then you found out using immediate mode is horribly slow and deprecated, and spent countless hours trying to understand those FRICKIN' VBOS, FBOS, VAOS, and whatever they've tossed in to OpenGL post 1.1 .
TheCodingUniverse 2 months ago
Eurotrip
ortega9998 2 months ago
You write code very beautifully... :3
Whenever I write it looks like a mess of classes and everything is tabbed out of place.
MrKmose 2 months ago
its a Snake :DD 3D Cube version . You created it ?
giedriusziaunys 2 months ago
Not sure if you knew Scotty, your girlfriend might just be cheating on you...
TotalJargon 2 months ago
wow...i'm just a beginner in cpp, i guess that takes quite some time to make
but if u excuse me, i dont think the nature of this game needs to be 3D
villainy07 2 months ago
why do you gotta use such a gay ass song.
Justerbuster89 2 months ago
That song is ridiculous.
waypastthat 2 months ago
hi, could you please send me the source code for this game? looks brilliant!
cardaf 2 months ago
coud u send me the source code? AMAZING GAME!
juanitox777 3 months ago
Hi,
thats a really nice 3d version of snake.
I'm working on a 3d game using opengl, too, but I'm already working on it a bit longer than 3 months.
I have a short video showing it on my chanel. Maybe you could watch it and say what you think? ;)
tdc22a 3 months ago
could you send me the source code to allonlinegame@hotmail.com pls. thx
BeCKisDotAKinG 3 months ago
nice
BeCKisDotAKinG 3 months ago
Guys i don't think Scotty knows....
ZippySmashers 3 months ago
nice :)!
CreatingWithaSmile 3 months ago
This game would be a great deal more complicated if you could move in varying altitudes (Z) instead of just X and Y.
autonomous2010 3 months ago
Good stuff :) Couple of bits:
When drawing the lines, or quads, you don't have to call a separate glBegin and end around each one. After calling glBegin quads, if you passed it 16 verts for example, it'd draw 4 quads.
Try and avoid random numbers in code, if your area is 20 wide for example keep this number in a constant, this means you can alter this number later and change the game with 1 change. For example, you could:
#define ARENA_WIDTH 20
and use:
for(int i=0; i<ARENA_WIDTH; i++) { }
Toastless 3 months ago
@Toastless Thx for your attention, now I know about that sort of things since it was like10 months ago =) but still thank you!)
TerkoTpride 3 months ago
@TerkoTpride Ah posted Jan, oops. Not sure how I stumbled across the vid :) Good to hear you've continued coding! Good luck with it. 10 years working in the games industry here, after a couple of years of making little games like you're doing and it's still good fun! :)
Toastless 3 months ago
@Toastless :)
TerkoTpride 3 months ago
please can you send me the source code?
MsDuelking 3 months ago
The Song is amazing... and the movie eurotrip german is great ;P
and nice vid
Ossikaka 3 months ago
i dont believe this... this game can not be sort in 8 hrs by single programmer... lol.. nice job....
deegneetee 3 months ago
nice work! I'm working my own project but am no where near doing this sort of thing yet. Brilliant first effort! Keep it up! Nice music as well by the way. :)
wolvieuk 4 months ago
Comment removed
wolvieuk 4 months ago
Nice ;) I wrote my snake in about the same time, but I already had a python script which was doing almost the same, I posted my snake as a answer to your video...
Pella86 4 months ago
Nice, how did you learned so fast? 3 months from console Hello World to this ?
zxKanghu 4 months ago
omg.
This is a good snake game ! :D
hm,if you learnt C++ and opengl (or directx) , i want to help me.. please :)
so , first i need the code because if I have the code , I can learn that.
And I have some problems .. |:
but thanks, Good Job !
See you.
SwanPresents 4 months ago
can u send codes.. i really need it for my project.
astigin101 4 months ago
This has been flagged as spam show
please send me source code...email: gsebacatt@gmail.com
im about to make a project with some 3d graphics like oyur, the topic is a shit but ur code would be very helpfull! thanks for th video!
sarademil 4 months ago
@sarademil i meant my topic ...not yours...
sarademil 4 months ago
wow thank you :D can i get the code please
my email: siwakorn_tap@hotmail.co.th
thepolnw 4 months ago
But the games alright, I don't any ++ yet.
artisticmike 4 months ago
The song sucks
artisticmike 4 months ago
very cool game. im just a beginner with c++. i hope i'll be able to create a program like this.
MissyT0763 5 months ago
@MissyT0763 Sure, that's not really a big deal to make something like this. You just need to have a big wish to do it and you'll definetely will do this. Good luck! :D
TerkoTpride 5 months ago 3
what program?
mixinghoney 5 months ago
Nice :D +1
Could you send me the source brah? :)
Angeljruiz 5 months ago
@ScienceArtSkate Sum41 - Scotty Doesn't Know
TerkoTpride 6 months ago 9
pretty good, I'd suggest making the movement more fluid than grid-based and use niftier collision detection functions to check for hitting the walls/cube. (all it would be is 2D collision between boxes, a very easy concept). I like where it is going though ^^.
KowaiTori 6 months ago
it looks like the boxes appear in the same 4-5 places every time, why dont you use a random number instead of a spawn point the game will have much more variaty
xzibit2313 6 months ago
Hey man. I have a professional game development team and would like to know if you want to help with the openGL game engine we are currently developing. Message me if you are interested.
Kind Regards,
Mendi Meyer
VisionXtream 7 months ago
why no depth-test?
hiphoper19881988 7 months ago
nice
kickidii 7 months ago
how>!
suddenglitches 7 months ago
This has been flagged as spam show
Hi!
Looks really good. Congrats!!! :-)
Could you share the code?
Please send to broderick.calpe@gmail.com
Hachaso1977 8 months ago
You should tell Scotty about your new game.
WebDevFTW 8 months ago 2
I also programmed a whole lot on my website in PHP the day before a big test xD We are a lot alike lol
robvadeberg 8 months ago 5
can u share your source code plz..
at:
ZaOsTeam@hotmail.com :)
D357RUCT0R 9 months ago
wow! this is really nice! +1
im just starting to learn opengl, and right now progress is slow :s could you possible send me the source code? :D
Angeljruiz 9 months ago
plz kan u sent mi source code immediately by tomorrow..its urgent!! send on deepikakikani@ymail.com
thnks
devil6561 10 months ago
plz kan u sent mi source code immediately by tomorrow..its urgent!! send on deepikakikani@ymail.com
devil6561 10 months ago
could you please send the source code to kaushike@gmail.com Thanks....
kaushikevani 10 months ago
Can you please send me the source code... email : kaushike@gmail.com
kaushikevani 10 months ago
A thing to change later on. You can speed up render by getting rid of Immediate mode rendering. (e.g. glBegin()/glEnd()). IT is absurdly slow. Try to use VBOs. They seem to be considered the future method of drawing.
Flamingkat 10 months ago
the games reallllly gud .... :) can u pls send me the source code
thank u
akarshsp004 10 months ago
cud u share ur source code plz..
d33pika@gmail.com
33pikad 10 months ago
cud u pla share ur source code to
d33pika@gmail.com
thanx
33pikad 10 months ago
can u share your source code plz..
at:
achint.akv@gmail.com
rockthegrt 11 months ago
please send me the source!
ivanradanov 11 months ago
ololo)
best code ever)
blusterhash 1 year ago
Also, it's an easy check to see if the newly generated box is in the same position as the one you just picked up, or is touching your players tail. Looks lazy if you don't add that sort of detail.
mikeyrt16 1 year ago
@mikeyrt16
I know about that stufft ;) I didn't have enough time to think of that problems that day .. so there are quite a few bugs .. which now are fixed :)
TerkoTpride 1 year ago
You're having some depth rendering problems there. Have you enabled GL_DEPTH_TEST in OpenGL? Apart from that, pretty cool.
mikeyrt16 1 year ago
This has been flagged as spam show
its jus awesom!!!!!!!!!!!
em workin on the same project!!! but..millions of bugs in mine.. :( :(
could u pls share ur source code n save me?? ;( ;(
my email id - liz.alex143@gmail.com
waitin for ur mail.. :(
*tears rollin * :D
take care!!!
thanx a lottt!!!! :D
opengl100 1 year ago
its jus awesom!!!!!!!!!!!
em workin on the same project!!! but..millions of bugs in mine.. :( :(
could u pls share ur source code n save me?? ;( ;(
my email id - liz.alex143@gmail.com
waitin for ur mail.. :(
*tears rollin * :D
take care!!!
thanx a lottt!!!! :D
opengl100 1 year ago
This has been flagged as spam show
its jus awesom!!!!!!!!!!!
em workin on the same project!!! but..millions of bugs in mine.. :( :(
could u pls share ur source code n save me?? ;( ;(
my email id - liz.alex143@gmail.com
waitin for ur mail.. :(
*tears rollin * :D
take care!!!
thanx a lottt!!!! :D
opengl100 1 year ago
wowww!!!!!!!
opengl100 1 year ago
wowww!!!!!!!
opengl100 1 year ago 61
aha... btw change SPAWn...
at 2:09 "food" spawned inside u )
KoNoRUa 1 year ago
1 thing I really didn't like
LESS CODE!!!
more gameplay xD
BTW its better than NOKIA's snake )
KoNoRUa 1 year ago
Comment please ... others oppnions , advises are very important to me :P
TerkoTpride 1 year ago
I saw too much declarations of models in code...
but I didn't saw any moment of the game where needed so big code... Refactoring are wainting for you :)
worktravelua 1 year ago
@worktravelua
Well , it is so massive because at the beginning I wanted it to have much more features than it has .. Also I had some difficulties with translations , transformations and texture mapping ... so that there are many commented parts. Also I dont know yet how to write the code in the correct way ,I mean making headers , etc)
( Can you give some advises ? :) )
So I left it as it is ..because the next time I work on it will be after my exams at university .
p.s. I'm ua too :)
TerkoTpride 1 year ago
scotty doesnt know :)
btw nice!!!
ThaMC22 1 year ago
@ThaMC22
ty :)
TerkoTpride 1 year ago
EPIC homemade snake game...
Good job keep it up!
PavloDema 1 year ago 56
@PavloDema
thanks ;)
TerkoTpride 1 year ago