Log In  

@digitalmonkey

Follow
Follow

Maze with patrolling platforms prototype.
Feel free to re mix :)

Cart [#patrolling_platforms-2#] | 2019-05-17 | License: CC4-BY-NC-SA | Embed

P#64474 2019-05-16 21:48 ( Edited 2019-05-17 02:33)

This is my school project.
"Learn about one topic over the year and present it to my class"
It's loosely based on "Zelda"
My Character:

moves with arrow keys
Uses weapon with x
jumps with space bar or z

I am going to continue with this in an upcoming year.
Stay tuned :)

Updated,
Started working on rooms.

This character has states; for walking, idle, jumping, etc...

feel free to re-mix :)

Cart [#custom_character_with_vox_3_5-2#] | 2019-06-05 | License: CC4-BY-NC-SA | Embed
2

P#64248 2019-05-09 02:40 ( Edited 2019-06-05 01:23)

I decided to start a library of scripts to help those transitioning from visual scripting to lua.

You should be able to copy and paste code into your new script object put object in the room and run it with "Crt+R"

If something doesn't work please let me know.

Feel free to ask questions.

Have fun

/Digital Monkey


Lua scrip to print.
place scrip object in the room.

function draw()
    boxfill(0,0,63,128,128,63,3)
    set_draw_slice(120, true)
    print("printing", 48, 11, 7)
    print("in voxatron 3.5b", 40, 20, 7)

end

This is basic player controllers
control the box with arrows, z and x

x = 64  y = 64
updown = 30 

    function _update()

     if (btn(0)) then x=x-1 end
     if (btn(1)) then x=x+1 end
     if (btn(2)) then y=y-1 end
     if (btn(3)) then y=y+1 end
     if (btn(4)) then updown=updown-1 end
     if (btn(5)) then updown=updown+1 end
    end

    function _draw()

    clv()
    boxfill(x,y,updown,x+10,y+10,updown+10,14)
    boxfill(0,0,63,128,128,63,3)
    set_draw_slice(50)
    print("control the box", 33, 10, 7)
    print("using arrows, z and x keys", 10, 100, updown-1)

        end

Scrip to change rooms made with "function draw()"
on J and K button press
(It's a flip book to go back and forth between rooms)

I made this by looking at script from GARDENING by: PROGRAM_IX

thx PROGRAM_IX :)

function _init()

    state = 0
    debounce = 0 
end     

function draw()
    if(state == 0) then
        draw_title()
    elseif(state == 1) then
        draw_instructions()
    elseif(state == 2) then
        draw_monkeys()
    elseif(state == 3) then
        draw_apples()
    elseif(state == 4) then
        draw_game()
    elseif(state <0) then
        draw_game()
    elseif(state >4) then
        draw_title()            
    end

end

function draw_title()
    set_display_camera(-1)
    boxfill(0,0,63,128,128,63,3)
    set_draw_slice(120, true)
    print(state, 40, 20, 7)
    print("press j or l", 52, 30, state+15)
    state = 0
end

function draw_instructions()
    set_display_camera(-1)
    boxfill(0,0,63,128,128,63,14)
    set_draw_slice(120, true)
    print(state, 20, 11, 7)
    print("press j or l", 52, 30, state+15)

end

function draw_monkeys()
    set_display_camera(1)
    boxfill(0,0,63,128,128,63,24)
    set_draw_slice(60)
    print(state, 20, 120, 7)
    print("press j or l", 52, 30, state+15)

end

function draw_apples()
    set_display_camera(1)
    boxfill(0,0,63,128,128,63,28)
    set_draw_slice(60)
    print(state, 20, 120, 7)
    print("press j or l", 52, 30, state+15)

end

function draw_game()
        set_display_camera(-1)
        boxfill(0,0,63,128,128,63,55)
        set_draw_slice(120, true)
        print(state, 52, 20, 7)
        state = 4
        print("press j or l", 52, 30, state+15)

end

function _update()
    if(state < 5) then
        if(btn(7) and debounce > 10) then
            state += 1
            debounce = 0
        else
        if(btn(6) and debounce > 10) then
            state -= 1
            debounce = 0
        else
        end         

        debounce += 1
        end

    end
end

This script spawns a player at the position of the entry platform at any room...

function draw()

        local x,y,z = this:get_xyz()
        spawn("ROBOT", x,y,z)

end
P#62053 2019-02-19 03:17 ( Edited 2019-03-17 00:26)

@zep for some reason vox 3.5 and 3.5b when installed don't appear to have a ico file see image of
the voxatron 3.5b shortcut from my desktop.

Thank you :)

P#61236 2019-01-26 20:39 ( Edited 2019-01-26 20:40)

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

P#60776 2019-01-12 21:10

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

P#60775 2019-01-12 21:03

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 | License: CC4-BY-NC-SA | Embed
2

P#60609 2019-01-05 23:55

P#60263 2018-12-22 22:00 ( Edited 2018-12-22 22:03)

Dear Zep,
Since you have last updated BBC, We have experienced trouble with uploading new cartridges.
Whenever we are trying to upload new Cartridge it tells us "Not a valid cart. Please try again."...
Please advice.
Many thx
/DMS

P#59843 2018-12-09 00:47 ( Edited 2018-12-09 01:06)

P#54457 2018-07-26 15:10 ( Edited 2018-07-26 19:10)

P#54455 2018-07-26 15:09 ( Edited 2018-07-26 19:09)

P#54452 2018-07-26 14:52 ( Edited 2018-07-26 18:52)

I came across this really cute cart by: SuperPuffeXIV

The grand diamond theft 100
I made some modifications to prevent level from breaking.
locked patrolling enemies on "Y" , made some custom doors and change a window from a breakable prop to a pickup so it breaks faster. Oh and added some FXs to a diamond :)

Have fun :)

P#52740 2018-05-14 15:20 ( Edited 2018-05-14 19:34)

Link is a menace, don't let him into your room!!!

P#49077 2018-02-08 02:43 ( Edited 2018-02-08 07:43)

I captured short video tutorials going over the game play and basic editor overview.

Chocolate Castle tutorials palylist

P#40984 2017-05-25 21:38 ( Edited 2017-05-26 01:38)

Press C or V on Keyboard to get out of the cart
to get in the cart jump into it :)

Feel Free to re-mix

P#40774 2017-05-19 22:37 ( Edited 2017-05-20 02:37)

Player changing base on inventory items collected

P#40263 2017-05-06 22:07 ( Edited 2017-05-07 02:07)

You have currency and items that you can buy with it.

This mechanic is from the cart that DMS student Ben is working on.

Hopefully will have actual game to post soon :)

P#40255 2017-05-06 21:39 ( Edited 2017-05-07 01:42)

P#36017 2017-01-18 12:19 ( Edited 2017-01-18 17:19)

simple side scroller demo

P#35473 2017-01-11 14:21 ( Edited 2017-02-04 20:23)

View Older Posts
About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-11-17 11:54 | 0.106s | 4194k | Q:150