Log In  

BBS > Superblog
Posts: All | Following    GIFs: All | Postcarts    Off-site: Accounts

Cart #ntuhuzuzu-0 | 2019-01-13 | Embed ▽ | License: CC4-BY-NC-SA
2

I'm learning Voxatron 0.3.5b API
Not sure if anyone else has ever created a vanishing cheese in Voxatron before...
K resets the cheese. Have fun!

2
1 comment


The old way you type out in "concole" with @ making text objects no longer works.
How do you do it now? Access fonts, type, define a default font etc...

Thx a lot
/D

2
1 comment


How would i go about, writing a script to change rooms on button press?
I tried to use an old "switch room" script object but it doesn't do what I want.

Switching multiple rooms on a button press, with the same button. Like arrow right to go forward and arrow left to go back.

Hope this make sense.
Thank you.
/D

3 comments


Hello,
Reading the user manual, I see there are states for actors (in 10.3.1: Common Actor Events).
Is it possible to access those states in lua, like a bool or a function?
Thank You

3 comments


Cart #pupotuhugu-0 | 2019-01-11 | Embed ▽ | No License

0 comments


Cart #sphere_cube-1 | 2019-01-08 | Embed ▽ | License: CC4-BY-NC-SA

c=cos s=sin l=sphere
v=8
M=2
m=-M
function _draw()
clv()
for X=m,M do
for Y=m,M do
for Z=m,M do
T=t()
a=T/8
W=c(a)
w=s(a)
V=v*(1/T+1)+W+w
x,y,z=X*W-Y*w,X*w+Y*W,Z
x,y,z=z*w+x*W,y,z*W-x*w
x,y,z=x*V+64,y*V+64,z*V+32
l(x,y,z,5,224-16*flr(y/16-2))
l(x,y,z,4,13+X+Y+Z)
end
end
end
end
0 comments


I'm trying to activate / deactivate an animation from a script, but regardless of what I do the animation only follows the activation rules set in the editor.

I have a animation for the character talking that I want to deactivate when they're not talking but, I can't get the animation to deactivate.

I have the following script attached.

function update ()

   if (is_talking) then
      this:activate (557)
   else
      this:deactivate (557)
      move_with_buttons (this)
   end

end

Has anyone encountered this problem / got any solutions ?

Thanks.

0 comments


Hello!

I am trying to make an unmovable actor (for example, a turret). Ie, the actor collides with other actors, but it is not pushed around.

If I set the actor to not collide with anything, it will not move, but it will also not block other actor's path.

If I set the actor to collide with other actors, It will be pushed around. I tried setting the actor's Density, Gravity, and Friction at around 255, but then I have this weird behavior where if the player
touches the actor, the actor will move 1 voxel TOWARDS the player.

Am I missing something obvious?

Cheers!

2 comments


This level is done by Digital Monkey School student Dhruv with help from Matt and Greg
It was done in the in the course of DMS summer camp :)

Cart #meduritur-0 | 2019-01-05 | Embed ▽ | License: CC4-BY-NC-SA
4

4
4 comments


I started using Voxatron today and noticed something strange with the designer UI.
Options near the bottom of the screen are cut off, both in fullscreen and windowed mode.

Am I just being stupid and can't figure out how to scroll, or could it be something to do with my resolution or something?

1
4 comments


Hello, I'm trying to port over some libraries to kickstart prototyping on voxatron (such as 30log or cpml) and I got a weird issue with functions not finding an upvalue.

Let's say we have a B.lua file and a A.lua file
B.lua contains this:

B = {}

B_mt = {}

local function new()
	return setmetatable({}, B_mt)
end

function B.new()
	return new()
end

function B.draw()
	print("Called",0,0,7)
end

B_mt.__index = B
function B_mt.__call()
	return B.new()
end

B = setmetatable({}, B_mt)

It's basically a global class-ish definition with a constructor, an alias to the constructor via __index and the private constructor which is called internally.

Let's say we have an A.lua script which does:

local b = B()

function _update()
end

function _draw()
	b.draw()
end

It simply gets a B instance and calls its draw function yet it doesn't work on Voxatron 0.3.5. I don't know what are the private/public global/local stuff available on this platform but this kind of pattern doesn't work well. I get this kind of error.

[ Continue Reading.. ]

2 comments


Cart #sphere_vox-1 | 2019-01-02 | Embed ▽ | License: CC4-BY-NC-SA
3

I had to recreate my Sphere on Voxatron. I wandted to see how it'd look. I don't have a fillp routine yet, but I feel already happy with how it looks.

I didn't redo the white HUD tidbits for a specific reason : I haven't got to determine the good processes to make good HUD. The "Core status" part looks not as good as I expected.

3
0 comments


Hey there. I'll be writing down a few things I'm discovering while taking a bite off the brand new Voxatron update. Scripting API was a long-awaited feature and I'm definitely excited to give a new spin to Vox.

Disclaimer

I'm writing this post while playing with the alpha 0.3.5b. Stuff I'll be writing can and may change over versions.

Script organization

As a script is a component like others, you can perfectly use them in an actor as well as an animation or an emitter. update and draw are called when an actor is updated or drawn.

A script has a basic encapsulation system. Local "top"[^1] variables are indeed locals to the script and globals are shared over scripts. Yeah, you read that perfectly. You can perfectly have "library" script pieces that are just there to hold your functions akin to a Pico8 code tab as long as the desired functions or variables are global.

Note that if the script has _draw and _update, they take precedence over Voxatron's routines, even if they're not placed in a room. I'm linking a cart that stores two script pieces, a few circle drawing routines and a script having _update and _draw. Feel free to download it to see how it goes. As you can see, the room is totally blank and isn't actually rendered at all.

[ Continue Reading.. ]

5
3 comments


Hey look, it's a Voxatron update!

Builds are live on lexaloffle and Humble. If you have trouble accessing your account, see this page. If you own only PICO-8, you can now update to the Voxatron + PICO-8 bundle for the difference of $5 here.

This update folds in a lot of fantasy console work, and is the first time you can see Voxatron in something similar to its final form. It has the usual trappings of a fantasy console: carts with labels (and matching .vx.png file format), a boot sequence, a SPLORE-like interface, virtual cpu limitations, and most notably, a Lua scripting API. The API is a superset of PICO-8's one and can be used to write PICO-8 style programs from scratch, or mixed with built-in engine features.

[A note for returning Voxatron users, including "Humble Voxatron Debut" customers: you can also download PICO-8 with the key that you originally purchased with. And if you don't know what PICO-8 is -- have a quick look here because it is very relevant for this update! PICO-8 started as a playground for Voxatron's scripting system, but grew into the fantasy console concept that this update is based on.]

[ Continue Reading.. ]

20
28 comments


The vox_api.txt lists the last two optional arguments for draw_voxmap() as rotation then color. However, it's color first, then rotation.

0 comments


Cart #mb_xmas2018-0 | 2018-12-25 | Embed ▽ | No License
4

Merry Christmas, everyone!

4
3 comments


Hello!

I am trying to access the Lua scripting abilities of 3.5, but I have no idea how to open the script editor.... I am pretty sure I must be missing something super basic.

I open the designer in Voxatron, and then create a new cartridge. I get the volumetric display with nothing in it, and I can even add one of the two pre-made scripts to the middle of the room, but I have no idea how to open these scripts for editing, or how to create a new one.

Help?

3 comments



This was a level that I've been working on for a while; currently unfinished but I'll upload the finial product before I stop working on it.
The starting area was made to highlight the mostly finished parts of the game, which include: the abandoned factory, the slime encounter, the corrupted weapon's core encounter, and the skeleton encounter. The starting area will be removed in the final game, and the levels will be played in sequential order.

Edit: In this minor update, I have removed many bugs, while also trying to improve many other things.
I don't have an exact list of everything I did (someone got rid of it while I wasn't looking). Many of the bugs were things that happened in the abandoned factory. I also added some visual flair in the corrupted mines.

[ Continue Reading.. ]

2
0 comments



Hello,
Can you allow cli arguments to voxatron like pico8, atleast loading the cart file?

0 comments




Top    Load More Posts ->