You are browsing as a guest. Sign up (or log in) to start making projects!

3h 7m 14s logged

Devlog 7

It’s been some time since I have posted a devlog on this project. I got a little sidetracked and spent a few days working with Rust. It’s probably gonna be my next project (flashcard app, I know, how original), but I’ve also spent some time working on scripting!


So scripting was actually easier than I thought to implement. I have a const in my runtime.js file called matuAPI and it has every special function as well as what to do when that function is called. I’ll attach a screenshot of a section below. So now, on to what I have added!


  • node lookup
  • cloning
  • spawning
  • input
  • rotation
  • movement
  • dimensions (width + height) changes
  • opacity changes
  • visibility
  • asset changes
  • playing and sotpping audio
  • collision
  • global variables
  • changing bg color
  • and timers!

Wow, that was a lot! Unfortunately, as I was writing this devlog, I realized that I forgot to add a function that lets you change which sprite is being displayed in an object as well as changing the audio source asset. How does this always happen to me? Ok, I’ll be back in a bit. I need to add that real quick.


Ok, I have returned! I have added them to the code and the documentation (which is just a markdown file), so we also have

  • changing sprites
  • and changing audio assets!

Thanks for reading this devlog! Up next, I plan to add a pop out window for scripting (as the current one is too small) and of course, exporting, loading, and saving (I’m scared, save me)

0
4

Comments 0

No comments yet. Be the first!