generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

I compiled OpenBl0x

Previous Thread :: Next Thread 
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
07 Oct 2015 07:11 PM
And it wasn't easy or fun :(

So how do I play a game?
Do I need to compile studio?
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
07 Oct 2015 07:12 PM
Post got blocked and forgot to put ":D" in the title :(
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
08 Oct 2015 05:00 PM
:)

What I've done so far:
Added Font and FontSize properties
Added support for 0-255 Color3 arguments


I also found out the dev is remaking this
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
09 Oct 2015 10:44 AM
:D

Fixed sound
Added BasePart class with these properties:
BrickColor, Position, Rotation, Size, Transparency

Here's my init.lua
```
local snd = Instance.new("Sound");
snd.SoundId = "res://victory.mp3";
--snd:Play();

local gui = Instance.new("ScreenGui", game.CoreGui)
local hint = Instance.new("TextLabel", gui)
hint.Text = "Testing"
hint.BackgroundTransparency = 0
hint.BackgroundColor3 = Color3.new(0, 0, 0)
hint.TextColor3 = Color3.new(255, 255, 255)
hint.Size = UDim2.new(1, 0, 0, 30)
hint.Position = UDim2.new(0, 0, 0, 0)
hint.TextXAlignment = "Center"
hint.TextYAlignment = "Center"

for i = 1, 5 do
local part = Instance.new("BasePart", game.Workspace)
part.Position = Vector3.new(-10 + (i * 3), -2, -10)
part.Size = Vector3.new(2, 4 + i, 1)
part.Transparency = 1 - (i / 10)
part.BrickColor = Color3.new((i * 20), (i * 20), (i * 20))
part.Rotation = Vector3.new(0, i * 20, 0)
end

wait(1)

hint.Font = "Constantine"
hint.FontSize = 22
```
Report Abuse
yobo89 is not online. yobo89
Joined: 05 Jun 2010
Total Posts: 2341
09 Oct 2015 10:46 AM
what is openbl0x?
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
09 Oct 2015 10:52 AM
At first I thought it was like a trickky h4x to modify roblox source code LOL

Then I found out it was like roblox, you script with Lua, build with lego-like building bricks, and of course, a physics engine.
Report Abuse
FOXmcloud021 is not online. FOXmcloud021
Joined: 14 Apr 2012
Total Posts: 3512
09 Oct 2015 10:55 AM
So it's offbrand RBLX.lua?

Like... Offbrand p-p-pop tarts??
Report Abuse
EradicateTheNoobs is not online. EradicateTheNoobs
Joined: 03 Feb 2012
Total Posts: 1314
09 Oct 2015 11:11 AM
wth is this link pls


The noobs shall be eradicated.
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
09 Oct 2015 11:13 AM
Go to github and search for "openbl0x" (change 0 to o) and click the first link
Myzilla-Web-Resources/OpenBl0x
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
09 Oct 2015 12:55 PM
Was having problems uploading an image earlier but it works now

img.
bi/#
/DfedlOd!FLy83gx43SJd_vJBESJgRQ3VAluS4OLgIkUpQ4IL

inb4 banned
Report Abuse
ChiefAlpha is not online. ChiefAlpha
Joined: 01 Oct 2015
Total Posts: 2014
09 Oct 2015 12:59 PM
can i see anything that's been made with openbl0x
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
09 Oct 2015 01:06 PM
Haven't found any screenshots but the project doesn't include a way to make parts anyway
Unless you were looking for screenshots of textlabels? XD
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
09 Oct 2015 01:07 PM
And he's remaking it so there won't be a way to make parts for a long time
Report Abuse
GoogleAnalytics is not online. GoogleAnalytics
Joined: 08 Aug 2008
Total Posts: 455
09 Oct 2015 01:24 PM
Sounds complicated i see bunch of files and i have no idea what is that.
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
09 Oct 2015 01:49 PM
The hardest part is getting it to compile :')
After that you you can just copy and paste

Font & Fontsize properties:
Note: I'm fully aware my code is bad and if you know a better way to do something, please say so

Tip: You can highlight this text and paste it
ghost
bin
.c
om/
pas
te/gbbm5
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
09 Oct 2015 01:52 PM
Line 151 should be
#ifndef OPENBL0X_NO_GRAPHICS
and not
void TextLabel::recalcText(){
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
09 Oct 2015 04:40 PM
Need a lot of help with the camera :(

```Vector3 CameraPosition

gluLookAt(CameraPosition->x, CameraPosition->y, CameraPosition->z,
0, 0, 0,
cameraUpDirection.x(), cameraUpDirection.y(), cameraUpDirection.z()
);

// Some stuff that might help
QMatrix4x4 cameraTransformation;
cameraTransformation.rotate(alpha, 0, 1, 0);
cameraTransformation.rotate(beta, 1, 0, 0);
QVector3D cameraPosition = cameraTransformation * QVector3D(0, 0, distance);
QVector3D cameraUpDirection = cameraTransformation * QVector3D(0, 1, 0);```

When I change y it works correctly. The camera moves straight up/down
When I change x/z, the camera moves in the direction the camera is facing

How can I make this good?
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
09 Oct 2015 07:35 PM
Great news!
I found some working camera code :D

Failed trying to create happy home:
im
g.bi/#/9TJ
ua5i!xRrfEuG5BMU
AO1_63Vli_gqql9V22LjUY-y5ApJb

Now I'm trying to do two things

1. Find out why this huge triangle is being rendered
im
g.bi/#/QZz
b1n7!BOfpdwXsq1iXgTowc
0DrUA3qfkL9dX_-FMu4LkH5

Edit: Nvm somehow figured it out even though I'm sure I tried this before
Kept the image because I really want people to see it XD

2. Make A/D keys move left/right relative to camera rotation)```
float fraction = 0.1f;

if (isKeyDown(SDLK_w)) {
x += lx * fraction;
z += lz * fraction;
}
if (isKeyDown(SDLK_s)) {
x -= lx * fraction;
z -= lz * fraction;
}
if (isKeyDown(SDLK_a)) {
x -= lx + lz;
}
if (isKeyDown(SDLK_d)) {
x += lx + lz;
}
if (isKeyDown(SDLK_UP)) {
ly += fraction;
}
if (isKeyDown(SDLK_DOWN)) {
ly -= fraction;
}
if (isKeyDown(SDLK_LEFT)) {
angle -= 0.01f;
lx = sin(angle);
lz = -cos(angle);
}
if (isKeyDown(SDLK_RIGHT)) {
angle += 0.01f;
lx = sin(angle);
lz = -cos(angle);
}
if (isKeyDown(SDLK_SPACE)) {
y += 0.5;
}
if (isKeyDown(SDLK_q)) {
y -= 0.5;
}
gluLookAt( x, y, z,
x+lx, y+ly, z+lz,
0.0f, 1.0f, 0.0f);```


Not sure what to do after this
Any ideas?
Report Abuse
Programatic is not online. Programatic
Joined: 10 Apr 2010
Total Posts: 216
09 Oct 2015 07:48 PM
Hi, I',m the developer of OB. You should e-mail me :)
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
09 Oct 2015 07:53 PM
fail troll
Report Abuse
morashsPeasant is not online. morashsPeasant
Joined: 06 Jan 2011
Total Posts: 4944
09 Oct 2015 08:06 PM
Legit
Report Abuse
Fridgee is not online. Fridgee
Joined: 04 Jan 2015
Total Posts: 574
09 Oct 2015 08:10 PM
Open Blox is Programatic's, or John McDonalds copy of ROBLOX. Except it's standalone.
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
09 Oct 2015 08:15 PM
Just found out OB uses Lua 5.3 :O

Main changes

integers (64-bit by default)
official support for 32-bit numbers
bitwise operators
basic utf-8 support
functions for packing and unpacking values

Language

userdata can have any Lua value as uservalue
integer division
more flexible rules for some metamethods

Libraries

ipairs and the table library respect metamethods
strip option in string.dump
table library respects metamethods
new function table.move
new function string.pack
new function string.unpack
new function string.packsize
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
09 Oct 2015 08:23 PM
If anyone is having trouble compiling OB, it's because he changed to a different dependency and didn't update the README

commit/71dc9fce130fd5496e8d16b05227af9dd0155d4d
Changed to FMOD Studio Low Level
Report Abuse
Programatic is not online. Programatic
Joined: 10 Apr 2010
Total Posts: 216
09 Oct 2015 08:33 PM
I'm not trolling. I am JohnMH, OB's developer. You should really email me, since you seem to know your stuff. We're on Git Lab now.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 2Go to page: [1], 2 Next
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image