Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Blitz3D Tutorial 5

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,246
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 28, 2010

Hi! Thanks for watching! This is when I teach you how to make and import objects into your Blitz3D IDE. The link were you can get a 30-day free trial for AutoDesk is: http://usa.autodesk.com/adsk/servlet/pc/index?id=13571450&siteID=123112
Just fill out the form!
Make sure you don't forget to put the files in the same folder!!! :-)
The code is:

Graphics3D 640,480,16,2
SetBuffer BackBuffer()

;create camera

camera = CreateCamera()
CameraClsColor camera,0,255,0

;create light
p
light = CreateLight()

;create bottle

bottle = LoadMesh("bottle5.3ds")
PositionEntity bottle,0,0,5
ScaleEntity bottle,0.1,0.1,0.1

;gameloop start

While Not KeyDown(1)

If KeyDown(203) Then TranslateEntity bottle,-0.1,0,0
If KeyDown(205) Then TranslateEntity bottle,0.1,0,0
If KeyDown(208) Then TranslateEntity bottle,0,-0.1,0
If KeyDown(200) Then TranslateEntity bottle,0,0.1,0

RenderWorld
Flip
Wend

;gameloop end



End

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (isaykatsman)

  • how do i rotate it?

    Cuz, my bottle is upside-down ^^

  • @TheYoGamer Use the command RotateEntity() To Rotate the bottle a certain degree on any axis you want. In this case I would rotate the bottle180 degrees on the Z axis. So in the property definition I would write 'RotateEntity bottle 0,0,180' .

  • thanks, can the same thing be done with other modeling programs? or will i need a plugin

  • @Dhomess you don't need a plugin, if your modeling software can export to .3ds or .b3d your home free

see all

All Comments (10)

Sign In or Sign Up now to post a comment!
  • @IamLiambee1 what entity are you using? Did you spell it correctly?

  • I have noticed a lot of problems with textures applied in 3ds importing tp blitz, what do you think the problem is? do you know what methods to animation would work correctly in blitz with a .3ds or even if it is possible?

  • it comes up entity doesnt exist :(

  • my friend made this. He is awesome

  • nice

  • great work, Thank you!!!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more