Short demo of moving platforms gameplay.
You have 2 platforms moving one on x and another on y directions.
feel free to re-mix.
There are two examples of keys that you pick up.
Multiple keys at same room and multiple keys at different rooms.
Please let me know if you have questions.
Hope that helps
Student asked about how to make random doors spawn in a room.
I used emitter to emit inventory items and then have doors check for inventory item id.
I added a bit of a gameplay so it makes more sense and works as a game a bit better.
Will try to record tutorial later.
Added different doors appear depending on colors of your character.
More rooms added with different type of gameplay.
Character changes the look on inventory items use.
Added money, now you can't just get your pick-ups, earn monkey to buy it.
Made first room jumping easier. And changed jumping for different color modifiers.
This is created in response to the following questions:
An enemy gets defeated. How do I make it drop, say, a laser powerup?
The player steps on a button. How do I change the floor from water to jelly?
The player defeats an actor. How do I make chocolate appear?
Maze with patrolling platforms prototype.
Feel free to re mix :)
This is my school project.
"Learn about one topic over the year and present it to my class"
It's loosely based on "Zelda"
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 :)
Started working on rooms.
This character has states; for walking, idle, jumping, etc...
feel free to re-mix :)
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.
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)
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
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.
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 :)
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."...
View Older Posts