No video

SFML/Box2D Tutorial #01 - Creating the World

  Рет қаралды 23,055

EternalCoding

EternalCoding

14 жыл бұрын

Here we are implementing Box2D with SFML, but nothing really cool gets covered in this tutorial, we are just creating the world and settings its properties. In the next tutorial I will be covering creating the static ground object and the dynamic shapes. A simple output to the console will demonstrate how the object is interacting with the world and graphics are to come afterwords.

Пікірлер: 30
@BrightBlackBanana
@BrightBlackBanana 12 жыл бұрын
Best tutorials on the internet! Please keep them coming
@IamusTheFox
@IamusTheFox 4 жыл бұрын
In modern c++ 1 / 60 is integer math, so it's assigning a float with an integeral value.
@vblazenka146
@vblazenka146 14 жыл бұрын
Awesome....Keep it up!
@alvarobyrne
@alvarobyrne 14 жыл бұрын
Keep it up master!
@deycha1
@deycha1 12 жыл бұрын
GIEF MOAR TUTORIALS PLOX WE REALLY REALLY LOVE YOU
@FakeButt
@FakeButt 12 жыл бұрын
I started watching your videos, they looked very promising. Why did you stop?
@adikid89
@adikid89 14 жыл бұрын
awesome tutorial! I'm so glad I found your videos. I hope you make more videos :( subscribed just in case! :D
@Harold046
@Harold046 13 жыл бұрын
Fine tutorial. But it would really be a good time to make the next episode indeed =) ! SFMLs new developpers need to know how to set a ground and how to make sprites obey the gravity (after all, it is the law).
@wabeti
@wabeti 11 жыл бұрын
more, let's go!
@SebaGeiger
@SebaGeiger 10 жыл бұрын
Hi! I was trying to follow this tutorial, but I get an error on line 52: world = new b2World(worldAABB, gravity, doSleep); It says "No instance of constructor "b2World::b2World" matches the argument list, argument types are: (b2AABB, b2Vec2, bool)" I don't know how to fix this :( I've tried many things, but with no luck. Any help would be appreciated :D
@SebaGeiger
@SebaGeiger 10 жыл бұрын
Nevermind I fixed it! It's the latest Box2D (2.3), now the constructor only takes one argument (gravity), so it ended up like this: world = new b2World(gravity);
@reductor_
@reductor_ 13 жыл бұрын
libcmt is the c-runtime multi thread (hence the MT) lib, if your receiving any conflicts the box2d then its possibly caused by using a different runtime library setting then box2d (e.g. single thread, multi-thread, multi-thread debug, etc) For basic things like this you probably won't run into any issues. No second SFML/Box2d episode?
@jehaddrubi
@jehaddrubi 13 жыл бұрын
thanks real good intro into game programming for cplus business develops cool dooode
@fidelitycreate
@fidelitycreate 13 жыл бұрын
Great tutorial for Box2d biegginers. I m a bit lost getting all these different liberaries set up. I dont t suppose you could make a video on how the project root directory should be structured and how to make the project in the first place including all the libraries. I assume you are using visual C++ 2008 or 2010, and do I need cmake?
@ahmednaboot2155
@ahmednaboot2155 3 жыл бұрын
please upload the next videos I have an assignment that is due in 2 days :(
@zombiHello
@zombiHello 10 жыл бұрын
How to make light in SFML?
@fidelitycreate
@fidelitycreate 12 жыл бұрын
yer dude, can t end on a cliff hanger
@martinchristianborie
@martinchristianborie 12 жыл бұрын
Maybe you could paste the sourcecode at pastebin and add the link to the video description? That would be very useful :) But anyway, nice tutorial :)
@ibiixie
@ibiixie 8 жыл бұрын
After 3 hours of trying to setup Box2D I think I'm ready for this. Uhm, do you have the source of the code you have in the beginning? Would be great if you could post it somewhere to download if you still do.
@gwrydd
@gwrydd 2 жыл бұрын
5 years old i know but to anyone else wanting to know, you get it from sfml's site
@EddieKMusic
@EddieKMusic 13 жыл бұрын
HELP!!! It says 1>c:\users\pufixas\desktop es es es.cpp(44): error C2661: 'b2World::b2World' : no overloaded function takes 3 arguments
@EddieKMusic
@EddieKMusic 12 жыл бұрын
hey man, Could you please make another tutorial?
@Trandunz
@Trandunz 3 жыл бұрын
Bruh What Happened To Tutorial Number 2
@ibiixie
@ibiixie 8 жыл бұрын
So, came to the world = new world part which gave me this error : error C2661: 'b2World::b2World': no overloaded function takes 3 arguments b2World* world; world = new b2World(worldAABB, gravity, doSleep); Edit : Fixed, its should be like this : world = new b2World(gravity, doSleep);
@mario7131992
@mario7131992 13 жыл бұрын
i want next tutorial :(
@Jonathan-jc4ef
@Jonathan-jc4ef 2 жыл бұрын
Got 32 errors...
@-_--ow5tr
@-_--ow5tr 2 жыл бұрын
Хороший туториал, жаль он устарел
@demnyan
@demnyan Жыл бұрын
жаль что он без продолжения
@EddieKMusic
@EddieKMusic 13 жыл бұрын
xDDDD @2:52 ABB :D In my country this spelling means "What's up dick" :D Ei bi bi
@prw56
@prw56 10 жыл бұрын
Pretty sure I did not hear him explain this, so I'm gonna rant about it. How did you run this with those errors. I have the same errors (box2d types are not being recognized) so I cannot run mine. If its just IntelliSense messing up on yours it still pisses me off, because you should have mentioned the errors regardless.
ОБЯЗАТЕЛЬНО СОВЕРШАЙТЕ ДОБРО!❤❤❤
00:45
Fortunately, Ultraman protects me  #shorts #ultraman #ultramantiga #liveaction
00:10
IQ Level: 10000
00:10
Younes Zarou
Рет қаралды 13 МЛН
Урок Box2d уроки создания игр
24:04
FamTrinli
Рет қаралды 58 М.
Why Starbucks Is Struggling
12:06
CNBC
Рет қаралды 1,1 МЛН
Box2D 2D Physics Engine
10:45
Gamefromscratch
Рет қаралды 44 М.
I forced EVERYONE to use Linux
22:59
NetworkChuck
Рет қаралды 356 М.
Using AI to Create the Perfect Keyboard
12:05
adumb
Рет қаралды 1,4 МЛН
The Clever Way to Count Tanks - Numberphile
16:45
Numberphile
Рет қаралды 927 М.
The Greenwich Meridian is in the wrong place
25:07
Stand-up Maths
Рет қаралды 738 М.
2D PHYSICS! // Game Engine series
1:21:20
The Cherno
Рет қаралды 69 М.
Why is anti-immigration sentiment on the rise in Canada?
13:00
The Guardian
Рет қаралды 1,7 МЛН