Check the README.txt to figure out how to use it.
Nothing is final, Lua API is subject to change as well as all the formats and junk.
Also none of the UI is done yet, so ignore all the buttons that do nothing.
Feel free to mess around with the ‘shooter’ project.
Also feel free to ask questions in here about the Lua API and stuff.
I’ll answer questions when I have time to do so.
Still very apprechiated for the work you put in though! I can’t wait to use it in full capability
From the looks of it, the button inputs are from the english keyboard layout
Edit: You can play the game by pressing Z (or Y key if your keyboard is from german)
Couldn’t quite get it to run. Tried compatibility settings, running as admin, etc. Ah well.
Glad to see there’s some prototyping going on though. I’m sure it’s gonna be great!
Haha got it running
niceeee
also @Davidn64 I had that aswell. Just press Z and it should begin running correctly.
Edit: Better Image :^)
Edit2: Man the commandline is funny to look at whilst playing.
“DOWN is down”
“DOWN is up”
“Z is down”
“Z is up”
Edit3: Oh my god modify the config and such is amazing.
If anyone gets this working try setting your friction level in the “Main.lua” to 0
It’s a great laugh
Turns out I mistook the <project name> part as the actual file path for the project, so I was typing tool projects/shooter/shooter.mproject instead of tool shooter.
It works fine now that I know what I was doing wrong.
Really awesome stuff!
I made a thing, it’s super simple since I only started with Lua tonight (because of this) so I’ve had to figure things out whilst trying to decipher Zaks miracle shooter code (I still don’t get it ). But I learned a lot already adapting from Shooter.
Can’t wait to see this tool progress further and for more things to be created to help everyone learn.
It’s only 35k randomly placed white squares with panning and zoom… I showed 100k too for some reason. Squares \o/ Performance is great though.
Here’s the code but honestly it will probably only teach bad things since as I said, I started Lua just tonight, I will have to discover better techniques as I go myself, most of it was written and deleted and trying out things to get used to Lua rather than create something sensibly productive; https://pastebin.com/raw/AZhDPsZ9
This is so cool, I didn’t expect someone to figure it out so quick!
Quick note: there is currently an upper limit on vertices and indices inside the clip-space of the window, but it may be increased at some point.
MAX_VERTICES 65535
MAX_INDICES 200000
Each sprite is 4 vertices and 6 indices.
The _r.layer(0) call hints at one of the reasons why the performance is so good.
The arcade renderer will batch similar objects into a single draw call.
So because everything is on the same layer, all squares are sent to the GPU in a single batch to be rendered.
This only works if all objects are on the same layer and have the same texture / blending mode.
Welp i basicly just edited the ship0 and ship 1 to be blue and ship 0 has diffrent flames and Zak right now im going to try my best to learn this and make a TU like 2d game and i know it will be hard but meh i dont mind
EDIT 1:
or a virus game i dont know yet i think virus ill let you guys choose
I tried some simple platformer basics, once again code is absolutely horrible but it’s so fluid and nice. It’s not a game, what the gifv shows is literally it but if it comes in handy to someone then that’s awesome
whoa thats awesome im trying to make a platformer smash bros game for my first project and then when i am really good at this ill try making a 2d tu or virus but thats when im really good at coding for this
Thanks, I started Lua just tonight so it’s really easy to pick up, what I made isn’t that great, only on the surface, It’s fine for day one learning though.
For now though good luck! I want to see some others create things too so their ideas and examples can help me also