|
| 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 |
|
|
|
| 07 Oct 2015 07:12 PM |
| Post got blocked and forgot to put ":D" in the title :( |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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
|
  |
| Joined: 05 Jun 2010 |
| Total Posts: 2341 |
|
| |
|
|
| 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 |
|
|
|
| 09 Oct 2015 10:55 AM |
So it's offbrand RBLX.lua?
Like... Offbrand p-p-pop tarts?? |
|
|
| Report Abuse |
|
|
|
| 09 Oct 2015 11:11 AM |
wth is this link pls
The noobs shall be eradicated. |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 09 Oct 2015 12:59 PM |
| can i see anything that's been made with openbl0x |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 09 Oct 2015 01:24 PM |
| Sounds complicated i see bunch of files and i have no idea what is that. |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 09 Oct 2015 01:52 PM |
Line 151 should be #ifndef OPENBL0X_NO_GRAPHICS and not void TextLabel::recalcText(){ |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 09 Oct 2015 07:48 PM |
| Hi, I',m the developer of OB. You should e-mail me :) |
|
|
| Report Abuse |
|
|
| |
|
| |
|
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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|