#2 Wolfenstein 3D Clone Tutorial: Level Loading

preview_player
Показать описание
In this video, we create a way to load our level into the game engine.

Рекомендации по теме
Комментарии
Автор

Hey, you are doing all this for free, don't allow yourself to get pressured, I know that probably wasn't TheAssien's intent, but just upload when you feel like it ;)

Many thanks for all the great tutorials Benny!

Fangornmmc
Автор

its so funny watching you solve an obvious problem eg. when you set pixels up as a method

SamBrev
Автор

This is probably something that's completely obvious but just occurred to me the other day. A little trick to sort of obfuscate your level data in a .png is to just copy paste it and rename it with a .dat, and a file reader reads in the data exactly the same way. Also, benny if you haven't already seen libgdx you might wanna take a peek at some of its classes on github. Might be a few useful ideas you want to include in your awesome engine =)

curtcurtcurtis
Автор

You can always tell where he joins the videos together :D

SkukS
Автор

Thanks for clarification. Not related to this topic but do you know how to load COLLADA format levels? I made some of them for a 3D platform game for a friend. Can you point to some tutorials on that format? Also I can say that the collision logic is operating on two dimensions only. Can you show how to extend it to third dimension?

SriHarshaChilakapati
Автор

Hey benny, are you still going to continue making the 3D engine? eg make a player model and add guns

michaelmarsh
Автор

The best way for me is to make an Object[][][] and then using FileOutputStream, output it and if it isn't serializable, then just implement java.io.Serializable. that way the file is stored as a binary file.

shahbazmomi
Автор

Can you possibly downgrade the phong shader to an older version of opengl like you did with the basic shaders?

TheLetsplayminecraft
Автор

Why not use simple txt files instead of images?

SriHarshaChilakapati
Автор

For some reason, it doesn't accept i or j as variables... any help on this?

Neb
Автор

isn't it much more reasonable to have bitmap.pixels as a java.awt.color[][] rather than an int[]? after all, it has two dimensions, and it is a colour rather than a number

SamBrev
Автор

I like to have classes with names like TestingStuff.java...

BlackJar
Автор

-1 cause -1 =
-16777216 might be 0xFF0000

biffbttf
Автор

What is the point of obfuscating the data though? You want to encourage people to develop maps for the game, not make it harder!

SkukS
Автор

Would the concepts be the same if I watched the tutorials but made my own different game

DemonicGaming
Автор

When I run the program, I get this warning message:

javax.imageio.IIOException: Can't read input file!
at Source)
at
at
at
at

Why?

DemonicGaming
Автор

Benny why exactly do you make 10-15 minute video's? I feel like your limiting yourself alot in telling us valueable information. I wouldn't mind watching a 30 minute video, because if someone is interested in this stuff people shouldn't mind watching that..

Oldnite
Автор

Well I was thinking of making a horror game

DemonicGaming